Changed MySQL column type for redirect_url to "TEXT" to avoid truncation.

Fixes #1346
pull/1386/head
Jordan Wright 2019-02-19 22:00:16 -06:00
parent 8d32bc2fab
commit 11493024a0
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
-- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
ALTER TABLE `pages` MODIFY redirect_url TEXT;
-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back
ALTER TABLE `pages` MODIFY redirect_url VARCHAR(255);