mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 09:10:49 +00:00
ignore
command (#59)
* New table `ignored_users` and queries * Update sqlx to 0.8 * Implement `ignore` command and add needed hooks
This commit is contained in:
parent
a36fa87964
commit
7c0cbea716
30 changed files with 580 additions and 383 deletions
|
@ -0,0 +1,7 @@
|
|||
-- Add migration script here
|
||||
|
||||
CREATE TABLE ignored_users (
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
username TEXT NOT NULL UNIQUE,
|
||||
ignored_since DATETIME NOT NULL DEFAULT (DATETIME('now'))
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue