Set a primary key for the new table. Automap doesn't work without.

This commit is contained in:
2025-02-18 23:05:02 -05:00
parent 2c0f7f91c1
commit 279d3f4885
+2 -1
View File
@@ -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.
);