Adjust schema, fix commands and user data refactoring

This commit is contained in:
William committed 2022-08-09 18:46:12 +01:00
1 parent ec1c0b744f
commit ff2465ac85
12 files changed
+120 -105

No files matched your search

@@ -24,7 +24,7 @@ CREATE TABLE IF NOT EXISTS `%players_table%`
`respawn_position` integer DEFAULT NULL,
`home_slots` integer NOT NULL DEFAULT 0,
`ignoring_requests` boolean NOT NULL DEFAULT FALSE,
`rtp_cooldown` datetime NOT NULL DEFAULT 0,
`rtp_cooldown` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`uuid`),
FOREIGN KEY (`last_position`) REFERENCES `%positions_table%` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION,