mirror of https://github.com/gophish/gophish
Add migration to change MySQL storage of HTML to be mediumtext to hold larger HTML pages. Fixes #1067
parent
240a0d3ad2
commit
da6091e021
|
@ -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;
|
Loading…
Reference in New Issue