diff --git a/common/src/main/resources/database/mysql_schema.sql b/common/src/main/resources/database/mysql_schema.sql index 3a9bbef7..9b941097 100644 --- a/common/src/main/resources/database/mysql_schema.sql +++ b/common/src/main/resources/database/mysql_schema.sql @@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS `%players_table%` CREATE TABLE IF NOT EXISTS `%cooldowns_table%` ( `id` integer NOT NULL AUTO_INCREMENT, - `player_uuid` char(36) NOT NULL UNIQUE, + `player_uuid` char(36) NOT NULL, `type` varchar(255) NOT NULL, `start_timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `end_timestamp` datetime NOT NULL, diff --git a/common/src/main/resources/database/sqlite_schema.sql b/common/src/main/resources/database/sqlite_schema.sql index e29460b8..813091be 100644 --- a/common/src/main/resources/database/sqlite_schema.sql +++ b/common/src/main/resources/database/sqlite_schema.sql @@ -35,7 +35,7 @@ CREATE TABLE IF NOT EXISTS `%players_table%` CREATE TABLE IF NOT EXISTS `%cooldowns_table%` ( `id` integer NOT NULL, - `player_uuid` char(36) NOT NULL UNIQUE, + `player_uuid` char(36) NOT NULL, `type` varchar(255) NOT NULL, `start_timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `end_timestamp` datetime NOT NULL,