mirror of
https://github.com/gophish/gophish
synced 2024-11-14 16:27:23 +00:00
Add migration to change MySQL storage of HTML to be mediumtext to hold larger HTML pages. Fixes #1067
This commit is contained in:
parent
240a0d3ad2
commit
da6091e021
1 changed files with 10 additions and 0 deletions
|
@ -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 a new issue