Set a primary key for the new table. Automap doesn't work without.
This commit is contained in:
@@ -50,5 +50,6 @@ CREATE TABLE Submissions(
|
||||
GuildId int unsigned not null,
|
||||
MessageId int unsigned not null,
|
||||
Score varchar(30) not null, -- Score is stored as a string until converted during submission
|
||||
UserName varchar(30) not null
|
||||
UserName varchar(30) not null,
|
||||
PRIMARY KEY (CategoryId, UserName) -- one submission a category per user.
|
||||
);
|
||||
Reference in New Issue
Block a user