[Expeditions] Store members on dynamic zone (#1358)

This moves members from expeditions so other systems can use them

Replace expedition_members table with dynamic_zone_members

Move 'EnableInDynamicZoneStatus' rule to DynamicZone namespace

Modify #dz list to show dz members (not instance players) and type name

Move various queries to repository methods
This commit is contained in:
hg
2021-05-24 22:14:32 -04:00
committed by GitHub
parent e8b94a11f1
commit 15328196e2
31 changed files with 683 additions and 585 deletions
@@ -0,0 +1,11 @@
CREATE TABLE `dynamic_zone_members` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`dynamic_zone_id` int(10) unsigned NOT NULL DEFAULT 0,
`character_id` int(10) unsigned NOT NULL DEFAULT 0,
`is_current_member` tinyint(3) unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`id`),
UNIQUE KEY `dynamic_zone_id_character_id` (`dynamic_zone_id`,`character_id`),
KEY `character_id` (`character_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
DROP TABLE `expedition_members`;