fix(aurora): make the moderation_id
key in the moderation tables not nullable (NOT NULL
)
This commit is contained in:
parent
bc3ea67e1e
commit
fadb3e1a9d
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ async def create_guild_table(guild: Guild) -> None:
|
|||
except aiosqlite.OperationalError:
|
||||
query = f"""
|
||||
CREATE TABLE `moderation_{guild.id}` (
|
||||
moderation_id INTEGER PRIMARY KEY,
|
||||
moderation_id INTEGER PRIMARY KEY NOT NULL,
|
||||
timestamp INTEGER NOT NULL,
|
||||
moderation_type TEXT NOT NULL,
|
||||
target_type TEXT NOT NULL,
|
||||
|
|
Loading…
Reference in a new issue