note that user_ignores target is channel or user id
This commit is contained in:
parent
127e02f7e7
commit
a184ba5239
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ WITHOUT ROWID;
|
||||||
CREATE TABLE user_ignores (
|
CREATE TABLE user_ignores (
|
||||||
user_id INTEGER NOT NULL REFERENCES users ON DELETE CASCADE,
|
user_id INTEGER NOT NULL REFERENCES users ON DELETE CASCADE,
|
||||||
guild_id INTEGER NOT NULL,
|
guild_id INTEGER NOT NULL,
|
||||||
target INTEGER NOT NULL,
|
target INTEGER NOT NULL, -- channel or user id
|
||||||
PRIMARY KEY (user_id, guild_id, target)
|
PRIMARY KEY (user_id, guild_id, target)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue