2019-09-30 16:46:31 +00:00
|
|
|
|
|
|
|
// 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;
|
2021-09-29 16:44:22 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Maximum image description length that can be stored in DB.
|
|
|
|
* Surrogate pairs count as one
|
|
|
|
*/
|
|
|
|
export const DB_MAX_IMAGE_COMMENT_LENGTH = 512;
|