mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +00:00
Fixup bad characters in schema files
This commit is contained in:
2 files changed
+10
-10
No files matched your search
@@ -42,11 +42,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 AUTO_INCREMENT,
|
||||
`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,
|
||||
`id` integer NOT NULL AUTO_INCREMENT,
|
||||
`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
|
||||
|
||||
@@ -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` varchar(255) 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
|
||||
|
||||
Reference in new issue
Block a user