make it compile

This commit is contained in:
Aaron Kimbre
2023-11-16 00:32:50 -06:00
parent 2a34cff008
commit 09bd4e9089
6 changed files with 9 additions and 13 deletions

View File

@@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS guilds (
name VARCHAR(35) NOT NULL,
owner_id BIGINT NOT NULL REFERENCES charinfo(id) ON DELETE CASCADE,
motd TEXT,
uscore INT NOT NULL DEFAULT 0,
reputation INT NOT NULL DEFAULT 0,
created BIGINT UNSIGNED NOT NULL DEFAULT 0
);
@@ -12,4 +12,5 @@ CREATE TABLE IF NOT EXISTS guild_members (
character_id BIGINT NOT NULL REFERENCES charinfo(id) ON DELETE CASCADE,
rank INT NOT NULL DEFAULT 4,
joined BIGINT UNSIGNED NOT NULL DEFAULT 0
PRIMARY KEY (guild_id, character_id)
);