mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-14 19:32:32 +00:00
* Death Stats Fix Changes how the coordinates for the death stats are stored. -> One column for x,y,z instead of all mashed into one column * Add missing GLOB * convert indentation * Rebase to latest master * Adds the attackers char id aswell. * Slight reformatting and add constraint * Fix indentation * Adds another check --------- Co-authored-by: Werner <Arrow768@users.noreply.github.com>
10 lines
468 B
SQL
10 lines
468 B
SQL
--
|
|
-- Adds a column for single coordinate instead of mashing them into one column
|
|
--
|
|
ALTER TABLE `ss13_death`
|
|
ADD COLUMN `loc_x` INT NULL AFTER `oxyloss`,
|
|
ADD COLUMN `loc_y` INT NULL AFTER `loc_x`,
|
|
ADD COLUMN `loc_z` INT NULL AFTER `loc_y`,
|
|
ADD COLUMN `lachar_id` INT NULL DEFAULT NULL AFTER `lackey`,
|
|
ADD CONSTRAINT `FK_ss13_death_ss13_characters_lachar_id` FOREIGN KEY (`lachar_id`) REFERENCES `ss13_characters` (`id`) ON UPDATE CASCADE ON DELETE CASCADE;
|