mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add timer migrations
This commit is contained in:
parent
feea944f64
commit
53045e1b20
1
migrations/000004_create_timers_table.down.sql
Normal file
1
migrations/000004_create_timers_table.down.sql
Normal file
|
@ -0,0 +1 @@
|
|||
DROP TABLE IF EXISTS timers;
|
7
migrations/000004_create_timers_table.up.sql
Normal file
7
migrations/000004_create_timers_table.up.sql
Normal file
|
@ -0,0 +1,7 @@
|
|||
CREATE TABLE IF NOT EXISTS timers (
|
||||
id bigserial PRIMARY KEY,
|
||||
name text NOT NULL,
|
||||
text text NOT NULL,
|
||||
channel text NOT NULL,
|
||||
repeat text NOT NULL
|
||||
);
|
Loading…
Reference in a new issue