diff --git a/common/src/main/resources/database/sqlite_schema.sql b/common/src/main/resources/database/sqlite_schema.sql index cc2356a4..915ce539 100644 --- a/common/src/main/resources/database/sqlite_schema.sql +++ b/common/src/main/resources/database/sqlite_schema.sql @@ -34,11 +34,11 @@ CREATE TABLE IF NOT EXISTS `%players_table%` /* Create the cooldowns table if it does not exist */ CREATE TABLE IF NOT EXISTS `%cooldowns_table%` ( - `id` integer NOT NULL, - `player_uuid` char(36) NOT NULL UNIQUE, - `type` integer NOT NULL, - `start_timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - `end_timestamp` datetime NOT NULL, + `id` integer NOT NULL, + `player_uuid` char(36) NOT NULL UNIQUE, + `type` varchar(255) NOT NULL, + `start_timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, + `end_timestamp` datetime NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`player_uuid`) REFERENCES `%players_table%` (`uuid`) ON DELETE CASCADE ON UPDATE CASCADE @@ -91,4 +91,4 @@ CREATE TABLE IF NOT EXISTS `%warps_table%` PRIMARY KEY (`uuid`), FOREIGN KEY (`saved_position_id`) REFERENCES `%saved_positions_table%` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION -); \ No newline at end of file +);