Increase message body limit
This commit is contained in:
parent
3849ceffae
commit
b7bb80cbe0
|
@ -77,6 +77,6 @@ app->secrets(app->config->{'secrets'}) || die $@;
|
|||
app->message->max_posts(app->config->{'max_posts'})
|
||||
if app->config->{'max_posts'};
|
||||
|
||||
app->pg->migrations->from_dir('migrations')->migrate(1);
|
||||
app->pg->migrations->from_dir('migrations')->migrate(2);
|
||||
|
||||
app->start();
|
||||
|
|
2
migrations/2/down.sql
Normal file
2
migrations/2/down.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE messages
|
||||
ALTER COLUMN msg TYPE VARCHAR(255);
|
2
migrations/2/up.sql
Normal file
2
migrations/2/up.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE messages
|
||||
ALTER COLUMN msg TYPE VARCHAR(512);
|
Loading…
Reference in a new issue