github.com/merlinepedra/gophish1@v0.9.0/db/db_mysql/migrations/20200116000000_0.9.0_imap.sql (about) 1 2 -- +goose Up 3 -- SQL in section 'Up' is executed when this migration is applied 4 CREATE TABLE IF NOT EXISTS `imap` (user_id bigint,host varchar(255),port int,username varchar(255),password varchar(255),modified_date datetime,tls boolean,enabled boolean,folder varchar(255),restrict_domain varchar(255),delete_reported_campaign_email boolean,last_login datetime,imap_freq int); 5 6 -- +goose Down 7 -- SQL section 'Down' is executed when this migration is rolled back 8 DROP TABLE `imap`;