diff --git a/SQL/paradise_schema.sql b/SQL/paradise_schema.sql index c0d27dd47e06..b6b28ef15841 100644 --- a/SQL/paradise_schema.sql +++ b/SQL/paradise_schema.sql @@ -625,13 +625,17 @@ CREATE TABLE `json_datum_saves` ( INDEX `ckey` (`ckey`) USING BTREE ) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB; + + -- --- Table structure for table `ckey_whitelist` +-- SS220 ADDITION AND EDITS -- +-- +-- Table structure for table `ckey_whitelist` +-- DROP TABLE IF EXISTS `ckey_whitelist`; -CREATE TABLE `ckey_whitelist` -( +CREATE TABLE `ckey_whitelist` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `date` DATETIME DEFAULT now() NOT NULL, `ckey` VARCHAR(32) NOT NULL, @@ -646,29 +650,13 @@ CREATE TABLE `ckey_whitelist` -- -- Table structure for table `admin_wl` -- - CREATE TABLE `admin_wl` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `ckey` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, - `admin_rank` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Administrator', - `level` int(2) NOT NULL DEFAULT '0', - `flags` int(16) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `ckey` (`ckey`) + `id` int(11) NOT NULL AUTO_INCREMENT, + `ckey` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, + `admin_rank` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Administrator', + `level` int(2) NOT NULL DEFAULT '0', + `flags` int(16) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `ckey` (`ckey`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; --- --- Table structure for table `json_datum_saves` --- -DROP TABLE IF EXISTS `json_datum_saves`; -CREATE TABLE `json_datum_saves` ( - `id` INT(11) NOT NULL AUTO_INCREMENT, - `ckey` VARCHAR(64) NOT NULL COLLATE 'utf8mb4_general_ci', - `slotname` VARCHAR(32) NOT NULL COLLATE 'utf8mb4_general_ci', - `slotjson` LONGTEXT NOT NULL COLLATE 'utf8mb4_general_ci', - `created` DATETIME NOT NULL DEFAULT current_timestamp(), - `updated` DATETIME NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), - PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `ckey_unique` (`ckey`, `slotname`) USING BTREE, - INDEX `ckey` (`ckey`) USING BTREE -) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB;