increase description_html max length

remotes/1722233799945163191/master
Aevann 2024-02-15 21:01:40 +02:00
parent b00aea67a4
commit 9642aa64d9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;