github.com/merlinepedra/gophish1@v0.9.0/db/db_mysql/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 auto_increment,
     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