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

Fixes #1346
This commit is contained in:
Jordan Wright 2019-02-19 22:00:16 -06:00
parent 8d32bc2fab
commit 11493024a0

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);