increase title_html size to accomodate marsify award

master
Aevann 2024-08-11 19:57:11 +03:00
parent 707e3e303a
commit e4b30f6e61
2 changed files with 2 additions and 1 deletions

View File

@ -883,7 +883,7 @@ EMOJI_SRCS = ['files/assets/emojis.csv']
PIN_LIMIT = 10
POST_TITLE_LENGTH_LIMIT = 500 # do not make larger than 500 without altering the table
POST_TITLE_HTML_LENGTH_LIMIT = 1500 # do not make larger than 1500 without altering the table
POST_TITLE_HTML_LENGTH_LIMIT = 5000 # do not make larger than 5000 without altering the table
def POST_BODY_LENGTH_LIMIT(v):
if v.patron: return 100000

View File

@ -0,0 +1 @@
alter table posts alter column title_html type varchar(5000);