forked from MarseyWorld/MarseyWorld
increase title_html size to accomodate marsify award
parent
707e3e303a
commit
e4b30f6e61
|
@ -883,7 +883,7 @@ EMOJI_SRCS = ['files/assets/emojis.csv']
|
||||||
|
|
||||||
PIN_LIMIT = 10
|
PIN_LIMIT = 10
|
||||||
POST_TITLE_LENGTH_LIMIT = 500 # do not make larger than 500 without altering the table
|
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):
|
def POST_BODY_LENGTH_LIMIT(v):
|
||||||
if v.patron: return 100000
|
if v.patron: return 100000
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
alter table posts alter column title_html type varchar(5000);
|
Loading…
Reference in New Issue