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

This commit is contained in:
Jordan Wright 2018-06-09 18:10:27 -05:00
parent 240a0d3ad2
commit da6091e021

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;