mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-09 20:20:29 +00:00
* New table `ignored_users` and queries * Update sqlx to 0.8 * Implement `ignore` command and add needed hooks
7 lines
189 B
SQL
7 lines
189 B
SQL
-- 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'))
|
|
);
|