diff --git a/src/GangsImpl/AbstractDB/AbstractDBRankManager.cs b/src/GangsImpl/AbstractDB/AbstractDBRankManager.cs index a0aa2a5..278dd16 100644 --- a/src/GangsImpl/AbstractDB/AbstractDBRankManager.cs +++ b/src/GangsImpl/AbstractDB/AbstractDBRankManager.cs @@ -46,8 +46,8 @@ public void Dispose() { virtual protected string CreateTableQuery(string tableName, bool inTesting) { return inTesting ? - $"CREATE TEMPORARY TABLE IF NOT EXISTS {tableName} (GangId INT NOT NULL, Rank INT NOT NULL, Name VARCHAR(255) NOT NULL, Permissions INT NOT NULL, PRIMARY KEY (GangId, Rank))" : - $"CREATE TABLE IF NOT EXISTS {tableName} (GangId INT NOT NULL, Rank INT NOT NULL, Name VARCHAR(255) NOT NULL, Permissions INT NOT NULL, PRIMARY KEY (GangId, Rank))"; + $"CREATE TEMPORARY TABLE IF NOT EXISTS {tableName} (GangId INT NOT NULL, `Rank` INT NOT NULL, Name VARCHAR(255) NOT NULL, Permissions INT NOT NULL, PRIMARY KEY (GangId, Rank))" : + $"CREATE TABLE IF NOT EXISTS {tableName} (GangId INT NOT NULL, `Rank` INT NOT NULL, Name VARCHAR(255) NOT NULL, Permissions INT NOT NULL, PRIMARY KEY (GangId, Rank))"; } public async Task>> GetAllRanks() {