mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 14:51:27 +00:00
* Lets get this show on the road
* Now were talking
* These matter
* Oh the joys of CI testing
* And this
* Wrong version
* Tweaks
* More tweaks
* Lets document this
* This too
* Upgrades this
* Fixed some sanity issues
* This too
* Screw it, this too
* More sanity
* And these
* This too
* Documentation
* This too
* Fixes **awful** scoreboard logic
* Why do we care about only half-absorbing someone
* Revert "Why do we care about only half-absorbing someone"
This reverts commit 8de1cfdf05.
* Refactors these
* Hashing
* Moxian tweaks
34 lines
1.2 KiB
SQL
34 lines
1.2 KiB
SQL
# Updating DB from 15-16, -AffectedArc07
|
|
# Reworks `feedback` table in prep for feedback2
|
|
|
|
# Create new feedback table (Not permenant name, see 18-19.sql)
|
|
CREATE TABLE `feedback_2` (
|
|
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
`datetime` datetime NOT NULL,
|
|
`round_id` int(8) NOT NULL,
|
|
`key_name` varchar(32) NOT NULL,
|
|
`key_type` enum('text', 'amount', 'tally', 'nested tally', 'associative') NOT NULL,
|
|
`version` tinyint(3) UNSIGNED NOT NULL,
|
|
`json` LONGTEXT NOT NULL COLLATE 'utf8mb4_general_ci',
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
|
|
|
|
# Create the round table for tracking round information
|
|
CREATE TABLE `round` (
|
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
|
`initialize_datetime` DATETIME NOT NULL,
|
|
`start_datetime` DATETIME NULL,
|
|
`shutdown_datetime` DATETIME NULL,
|
|
`end_datetime` DATETIME NULL,
|
|
`server_ip` INT(10) UNSIGNED NOT NULL,
|
|
`server_port` SMALLINT(5) UNSIGNED NOT NULL,
|
|
`commit_hash` CHAR(40) NULL,
|
|
`game_mode` VARCHAR(32) NULL,
|
|
`game_mode_result` VARCHAR(64) NULL,
|
|
`end_state` VARCHAR(64) NULL,
|
|
`shuttle_name` VARCHAR(64) NULL,
|
|
`map_name` VARCHAR(32) NULL,
|
|
`station_name` VARCHAR(80) NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|