Fix webhooks db migration. (#1697)

pull/1720/head
Chris Zietlow 2019-12-18 18:57:13 -05:00 committed by Jordan Wright
parent 9d430c90ab
commit f570a611db
1 changed files with 6 additions and 6 deletions

View File

@ -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
); );