mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 06:28:49 +00:00
[ci skip] Fix wrong type with SQLite schema
This commit is contained in:
1 parent
2cbc46cd0e
commit
100dac9fcd
1 file changed
+5
-5
@@ -34,11 +34,11 @@ CREATE TABLE IF NOT EXISTS `%players_table%`
|
|||||||
/* Create the cooldowns table if it does not exist */
|
/* Create the cooldowns table if it does not exist */
|
||||||
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 UNIQUE,
|
||||||
`type` integer 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,
|
||||||
|
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
FOREIGN KEY (`player_uuid`) REFERENCES `%players_table%` (`uuid`) ON DELETE CASCADE ON UPDATE CASCADE
|
FOREIGN KEY (`player_uuid`) REFERENCES `%players_table%` (`uuid`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||||
|
|||||||
Reference in new issue
Block a user