reminder-bot/migrations/20230730134827_stats.sql

10 lines
241 B
MySQL
Raw Normal View History

2023-07-30 14:28:26 +00:00
CREATE TABLE stat (
`id` BIGINT NOT NULL AUTO_INCREMENT,
`utc_time` DATETIME NOT NULL DEFAULT NOW(),
`type` ENUM('reminder_sent', 'reminder_failed'),
`reminder_id` INT UNSIGNED,
`message` TEXT,
PRIMARY KEY (`id`)
);