mirror-nourybot/migrations_dev/000004_create_timers_table.up.sql

14 lines
440 B
MySQL
Raw Normal View History

2023-12-07 19:47:57 +01:00
CREATE TABLE IF NOT EXISTS timers (
id bigserial PRIMARY KEY,
name text NOT NULL,
identifier text NOT NULL,
text text NOT NULL,
channel text NOT NULL,
repeat text NOT NULL
);
INSERT INTO timers (name,identifier,"text",channel,repeat) VALUES
('nourybot-5m','2ad01f96-05d3-444e-9dd6-524d397caa96','5m timer','nourybot','5m'),
('nourybot-10m','2ad01f96-05d3-444e-9dd6-524d397caa96','10m timer','nourybot','10m');