note that user_ignores target is channel or user id

This commit is contained in:
Infinidoge 2024-12-28 03:56:29 -05:00
parent 127e02f7e7
commit a184ba5239
Signed by: Infinidoge
SSH key fingerprint: SHA256:GT2StvPQMMfFHyiiFJymQxfTG/z6EWLJ6NWItf5K5sA

View file

@ -42,7 +42,7 @@ WITHOUT ROWID;
CREATE TABLE user_ignores (
user_id INTEGER NOT NULL REFERENCES users ON DELETE CASCADE,
guild_id INTEGER NOT NULL,
target INTEGER NOT NULL,
target INTEGER NOT NULL, -- channel or user id
PRIMARY KEY (user_id, guild_id, target)
);