mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 20:23:12 +00:00
Fix an issue where guilds could have multiple modlog channels stored in the database.
This commit is contained in:
parent
badf66239e
commit
0bdf2ea7c4
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
CREATE TABLE IF NOT EXISTS mod_log (
|
||||
id SERIAL PRIMARY KEY,
|
||||
guild_id BIGINT UNSIGNED NOT NULL,
|
||||
guild_id BIGINT UNSIGNED NOT NULL PRIMARY KEY,
|
||||
channel_id BIGINT UNSIGNED NOT NULL,
|
||||
is_enabled BOOLEAN NOT NULL DEFAULT TRUE,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
|
|
Loading…
Reference in a new issue