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

17 lines
767 B
MySQL
Raw Normal View History

2023-09-08 03:55:00 +02:00
CREATE TABLE IF NOT EXISTS timers (
id bigserial PRIMARY KEY,
name text NOT NULL,
2023-10-04 00:05:38 +02:00
identifier text NOT NULL,
2023-09-08 03:55:00 +02:00
text text NOT NULL,
channel text NOT NULL,
repeat text NOT NULL
);
2023-10-04 00:05:38 +02:00
INSERT INTO timers (name,identifier,"text",channel,repeat) VALUES
2023-10-23 13:48:27 +02:00
('nouryxd-60m','678efbe2-fa2f-4849-8dbc-9ec32e6ffd3b','timer every 60 minutes :)','nouryxd','60m'),
('nouryxd-2m','63142f10-1672-4353-8b03-e72f5a4dd566','timer every 2 minutes :)','nouryxd','2m'),
2023-10-04 00:05:38 +02:00
('nourybot-60m','2ad01f96-05d3-444e-9dd6-524d397caa96','timer every 60 minutes :)','nourybot','60m'),
('nourybot-1h','2353fd22-fef9-4cbd-b01e-bc8804992f4c', 'timer every 1 hour :)','nourybot','1h'),
('xnoury-15m','6e178e14-36c2-45e1-af59-b5dea4903fee','180 minutes timer :)','xnoury','180m');
2023-09-08 03:55:00 +02:00