mirror of https://github.com/gophish/gophish
16 lines
365 B
MySQL
16 lines
365 B
MySQL
|
|
||
|
-- +goose Up
|
||
|
-- SQL in section 'Up' is executed when this migration is applied
|
||
|
CREATE TABLE IF NOT EXISTS "webhooks" (
|
||
|
"id" integer primary key autoincrement,
|
||
|
"name" varchar(255),
|
||
|
"url" varchar(1000),
|
||
|
"secret" varchar(255),
|
||
|
"is_active" boolean default 0
|
||
|
);
|
||
|
|
||
|
|
||
|
-- +goose Down
|
||
|
-- SQL section 'Down' is executed when this migration is rolled back
|
||
|
|