mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 07:32:02 +00:00
* Condense Database Migrations Condenses the Database Migrations into a new initial schema. Also adds some instructions to the Database Readme for existing setups. * Update readme/delete changed migrations since pr creation * Reworks a bit how the previous migrations are handled and updates the instructions accordingly * Expand the readme with baseline/migrate --------- Co-authored-by: Werner <Arrow768@users.noreply.github.com>
18 lines
942 B
SQL
18 lines
942 B
SQL
--
|
|
-- Further Changes to the CCIA Report Tables
|
|
--
|
|
|
|
ALTER TABLE `ss13_ccia_reports`
|
|
ALTER `status` DROP DEFAULT;
|
|
ALTER TABLE `ss13_ccia_reports`
|
|
ADD COLUMN `public_topic` VARCHAR(200) NULL DEFAULT NULL AFTER `title`,
|
|
ADD COLUMN `internal_topic` VARCHAR(200) NULL DEFAULT NULL AFTER `public_topic`,
|
|
ADD COLUMN `game_id` VARCHAR(20) NULL DEFAULT NULL AFTER `internal_topic`;
|
|
ALTER TABLE `ss13_ccia_reports`
|
|
CHANGE COLUMN `status` `status` ENUM('new','in progress','review required','approved','rejected','completed') NOT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `game_id`;
|
|
|
|
ALTER TABLE `ss13_ccia_reports_transcripts`
|
|
ADD COLUMN `antag_involvement` TINYINT(4) NOT NULL DEFAULT '1' AFTER `interviewer`,
|
|
ADD COLUMN `antag_involvement_text` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `antag_involvement`,
|
|
CHANGE COLUMN `text` `text` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `antag_involvement_text`;
|