Remove UNIQUE constraint on cooldowns table

This commit is contained in:
William committed 2023-06-27 23:22:21 +01:00
1 parent aafa88cb0b
commit c5a85436be
2 files changed
+2 -2

No files matched your search

@@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS `%players_table%`
CREATE TABLE IF NOT EXISTS `%cooldowns_table%` CREATE TABLE IF NOT EXISTS `%cooldowns_table%`
( (
`id` integer NOT NULL AUTO_INCREMENT, `id` integer NOT NULL AUTO_INCREMENT,
`player_uuid` char(36) NOT NULL UNIQUE, `player_uuid` char(36) NOT NULL,
`type` varchar(255) NOT NULL, `type` varchar(255) NOT NULL,
`start_timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `start_timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`end_timestamp` datetime NOT NULL, `end_timestamp` datetime NOT NULL,
@@ -35,7 +35,7 @@ CREATE TABLE IF NOT EXISTS `%players_table%`
CREATE TABLE IF NOT EXISTS `%cooldowns_table%` CREATE TABLE IF NOT EXISTS `%cooldowns_table%`
( (
`id` integer NOT NULL, `id` integer NOT NULL,
`player_uuid` char(36) NOT NULL UNIQUE, `player_uuid` char(36) NOT NULL,
`type` varchar(255) NOT NULL, `type` varchar(255) NOT NULL,
`start_timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `start_timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`end_timestamp` datetime NOT NULL, `end_timestamp` datetime NOT NULL,