mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Fix regression deleting expedition from db
Set expedition's instance id NULL instead of deleting it from the database when instances are deleted. Only expedition functions should delete expeditions This fixes a regression caused by removing foreign key constraints The expedition_details row was being deleted and not the corresponding expedition_members and expedition_lockouts rows. Any characters inside the members table could no longer join expeditions
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
CREATE TABLE `expedition_details` (
|
||||
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`uuid` VARCHAR(36) NOT NULL,
|
||||
`instance_id` INT(10) NOT NULL,
|
||||
`instance_id` INT(10) NULL DEFAULT 0,
|
||||
`expedition_name` VARCHAR(128) NOT NULL,
|
||||
`leader_id` INT(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`min_players` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
|
||||
Reference in New Issue
Block a user