Stats table migration
This commit is contained in:
parent
88e9826a62
commit
9ede879630
9
migrations/20230730134827_stats.sql
Normal file
9
migrations/20230730134827_stats.sql
Normal file
@ -0,0 +1,9 @@
|
||||
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`)
|
||||
);
|
Loading…
Reference in New Issue
Block a user