mirror of https://github.com/gophish/gophish
Changed MySQL column type for redirect_url to "TEXT" to avoid truncation.
Fixes #1346pull/1386/head
parent
8d32bc2fab
commit
11493024a0
|
@ -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);
|
Loading…
Reference in New Issue