github.com/gophish/gophish@v0.12.2-0.20230915144530-8e7929441393/db/db_sqlite3/migrations/20191104103306_0.9.0_create_webhooks.sql (about) 1 2 -- +goose Up 3 -- SQL in section 'Up' is executed when this migration is applied 4 CREATE TABLE IF NOT EXISTS "webhooks" ( 5 "id" integer primary key autoincrement, 6 "name" varchar(255), 7 "url" varchar(1000), 8 "secret" varchar(255), 9 "is_active" boolean default 0 10 ); 11 12 13 -- +goose Down 14 -- SQL section 'Down' is executed when this migration is rolled back 15