mirror of https://github.com/gophish/gophish
Fix webhooks db migration. (#1697)
parent
9d430c90ab
commit
f570a611db
|
@ -1,12 +1,12 @@
|
||||||
|
|
||||||
-- +goose Up
|
-- +goose Up
|
||||||
-- SQL in section 'Up' is executed when this migration is applied
|
-- SQL in section 'Up' is executed when this migration is applied
|
||||||
CREATE TABLE IF NOT EXISTS "webhooks" (
|
CREATE TABLE IF NOT EXISTS `webhooks` (
|
||||||
"id" integer primary key autoincrement,
|
id integer primary key auto_increment,
|
||||||
"name" varchar(255),
|
name varchar(255),
|
||||||
"url" varchar(1000),
|
url varchar(1000),
|
||||||
"secret" varchar(255),
|
secret varchar(255),
|
||||||
"is_active" boolean default 0
|
is_active boolean default 0
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue