mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
[ADMIN] Allows saving of JSON datums server side (#21860)
* Allows saving of JSON datums server side * derp * I am so livid I am webediting this * my god I have fallen off
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Updating SQL from 49 to 50 -AffectedArc07
|
||||
# Add new JSON datum saves table
|
||||
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;
|
||||
Reference in New Issue
Block a user