increase description_html max length
parent
b00aea67a4
commit
9642aa64d9
|
@ -357,7 +357,7 @@ def group_change_description(v, group_name):
|
|||
abort(400, "New description is too long (max 100 characters)")
|
||||
|
||||
description_html = filter_emojis_only(description)
|
||||
if len(description_html) > 500:
|
||||
if len(description_html) > 1000:
|
||||
abort(400, "Rendered description is too long!")
|
||||
else:
|
||||
description = None
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
alter table groups add column description_html varchar(500);
|
||||
alter table groups add column description_html varchar(1000);
|
||||
update groups set description_html=description;
|
||||
|
|
Loading…
Reference in New Issue