diff --git a/migrations/000004_create_timers_table.down.sql b/migrations/000004_create_timers_table.down.sql new file mode 100644 index 0000000..00685d5 --- /dev/null +++ b/migrations/000004_create_timers_table.down.sql @@ -0,0 +1 @@ +DROP TABLE IF EXISTS timers; diff --git a/migrations/000004_create_timers_table.up.sql b/migrations/000004_create_timers_table.up.sql new file mode 100644 index 0000000..f16db73 --- /dev/null +++ b/migrations/000004_create_timers_table.up.sql @@ -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 +);