This commit is contained in:
syuilo
2022-12-25 14:22:23 +09:00
parent 3e81913b6a
commit f44a7e2536
9 changed files with 24 additions and 22 deletions

View File

@@ -1,14 +0,0 @@
// If you change DB_* values, you must also change the DB schema.
/**
* Maximum note text length that can be stored in DB.
* Surrogate pairs count as one
*/
export const DB_MAX_NOTE_TEXT_LENGTH = 8192;
/**
* Maximum image description length that can be stored in DB.
* Surrogate pairs count as one
*/
export const DB_MAX_IMAGE_COMMENT_LENGTH = 512;