mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Remove UNIQUE constraint on cooldowns table
This commit is contained in:
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%`
|
||||
(
|
||||
`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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user