diff --git a/db/db_mysql/migrations/20180609164054_0.7.0_update_html_storage.sql b/db/db_mysql/migrations/20180609164054_0.7.0_update_html_storage.sql new file mode 100644 index 00000000..dab6f1b7 --- /dev/null +++ b/db/db_mysql/migrations/20180609164054_0.7.0_update_html_storage.sql @@ -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;