Aevann 2024-08-17 19:29:34 +03:00
parent 7c3487058b
commit 1bf924f715
2 changed files with 5 additions and 1 deletions

View File

@ -898,7 +898,7 @@ POST_BODY_HTML_LENGTH_LIMIT = 200000 # do not make larger without altering the t
COMMENT_BODY_LENGTH_LIMIT = 10000 # do not make larger without altering the table COMMENT_BODY_LENGTH_LIMIT = 10000 # do not make larger without altering the table
COMMENT_BODY_HTML_LENGTH_LIMIT = 40000 # do not make larger without altering the table COMMENT_BODY_HTML_LENGTH_LIMIT = 40000 # do not make larger without altering the table
CSS_LENGTH_LIMIT = 20000 # do not make larger without altering the tables CSS_LENGTH_LIMIT = 50000 # do not make larger without altering the tables
COMMENT_MAX_DEPTH = 200 COMMENT_MAX_DEPTH = 200
TRANSFER_MESSAGE_LENGTH_LIMIT = 200 # do not make larger than COMMENT_BODY_LENGTH_LIMIT TRANSFER_MESSAGE_LENGTH_LIMIT = 200 # do not make larger than COMMENT_BODY_LENGTH_LIMIT
MIN_REPOST_CHECK_URL_LENGTH = 9 # also change the constant in checkRepost() of submit.js MIN_REPOST_CHECK_URL_LENGTH = 9 # also change the constant in checkRepost() of submit.js

View File

@ -0,0 +1,4 @@
alter table users alter column css type varchar(50000);
alter table users alter column profilecss type varchar(50000);
alter table holes alter column css type varchar(50000);
alter table chats alter column css type varchar(50000);