mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 06:41:37 +00:00
* Fixes camera view * Unique CID tracking notes * Ban tracking * Note round IDs * Karma viewing * Minor tweak * Manual ban job bans * More tweaks * Farie tweaks * Connection result field * Orange watchlist names * Autopopulate tickbox
15 lines
745 B
SQL
15 lines
745 B
SQL
# Updating DB from 19-20, -AffectedArc07
|
|
# Tracks round IDs in notes and bans, as well as other admin tweaks
|
|
|
|
# Add new columns to ban
|
|
ALTER TABLE `ban` ADD COLUMN `ban_round_id` INT NULL DEFAULT NULL AFTER `bantime`;
|
|
ALTER TABLE `ban` ADD COLUMN `unbanned_round_id` INT NULL DEFAULT NULL AFTER `unbanned_datetime`;
|
|
|
|
|
|
# Add new columns to notes
|
|
ALTER TABLE `notes` ADD COLUMN `round_id` INT NULL DEFAULT NULL AFTER `timestamp`;
|
|
ALTER TABLE `notes` ADD COLUMN `automated` TINYINT UNSIGNED NULL DEFAULT '0' AFTER `crew_playtime`;
|
|
|
|
# Add new column to connection_log
|
|
ALTER TABLE `connection_log` ADD COLUMN `result` ENUM('ESTABLISHED','DROPPED - IPINTEL', 'DROPPED - BANNED', 'DROPPED - INVALID') NOT NULL DEFAULT 'ESTABLISHED' AFTER `computerid`;
|