mirror of https://github.com/gophish/gophish
Fix webhooks db migration. (#1697)
parent
9d430c90ab
commit
f570a611db
|
@ -1,12 +1,12 @@
|
|||
|
||||
-- +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
|
||||
CREATE TABLE IF NOT EXISTS `webhooks` (
|
||||
id integer primary key auto_increment,
|
||||
name varchar(255),
|
||||
url varchar(1000),
|
||||
secret varchar(255),
|
||||
is_active boolean default 0
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue