Add migration to change MySQL storage of HTML to be mediumtext to hold larger HTML pages. Fixes #1067

pull/1069/merge
Jordan Wright 2018-06-09 18:10:27 -05:00
parent 240a0d3ad2
commit da6091e021
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
-- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
ALTER TABLE templates MODIFY html MEDIUMTEXT;
ALTER TABLE pages MODIFY html MEDIUMTEXT;
-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back
ALTER TABLE templates MODIFY html TEXT;
ALTER TABLE pages MODIFY html TEXT;