mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
* Further CCIA Adaptations Changes the CCIA Recorder to ask if there was Antag Involvement in the Incident and adds additional db changes. * Implements Review Changes * Recorder Interaction Changes Changes the recorder click interaction for agents and adds the options to reset the recorder * Displays the report topics Shows the internal topic to the interviewing agent upon selection of the IR Shows the public topic to the interviewee upon scanning of the fingerprint * Update the status of the report if a user claims antag involvement. * Asks the char how the antags influenced them. * Fixes SQL Migration Error * Fix SQL Migration and Query Bug * Fixes a issue with the report selection and the query saving * More sanitization
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`;
|