Skip to content

Commit

Permalink
Missed index table name
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxMD committed Feb 7, 2024
1 parent 517fe6c commit 5a028d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CREATE TABLE "new_Setting" (
"updatedAt" DATETIME NOT NULL
);
CREATE INDEX new_Setting_settingKey_IDX ON new_Setting (guildId);
CREATE UNIQUE INDEX Setting_guildId_IDX ON Setting (guildId,settingKey);
CREATE UNIQUE INDEX Setting_guildId_IDX ON new_Setting (guildId,settingKey);

INSERT INTO "new_Setting" ("createdAt", "guildId", "settingKey", "settingVal", "updatedAt")
SELECT "createdAt", "guildId", 'playlistLimit', "playlistLimit", "updatedAt" FROM "Setting";
Expand Down

0 comments on commit 5a028d8

Please sign in to comment.