Merge pull request #6145 from jsangmeister/split-forwarding-tree-motion-ids

Split forwarding_tree_motion_ids into two fields
This commit is contained in:
jsangmeister 2021-07-08 09:07:28 +02:00 committed by GitHub
commit 238f8fa602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View File

@ -1370,7 +1370,8 @@
"sort_child_ids": [], "sort_child_ids": [],
"origin_id": null, "origin_id": null,
"derived_motion_ids": [], "derived_motion_ids": [],
"forwarding_tree_motion_ids": [], "all_origin_ids": [],
"all_derived_motion_ids": [],
"state_id": 1, "state_id": 1,
"recommendation_id": null, "recommendation_id": null,
"recommendation_extension_reference_ids": [], "recommendation_extension_reference_ids": [],
@ -1415,7 +1416,8 @@
"sort_child_ids": [], "sort_child_ids": [],
"origin_id": null, "origin_id": null,
"derived_motion_ids": [], "derived_motion_ids": [],
"forwarding_tree_motion_ids": [], "all_origin_ids": [],
"all_derived_motion_ids": [],
"state_id": 1, "state_id": 1,
"recommendation_id": null, "recommendation_id": null,
"recommendation_extension_reference_ids": [], "recommendation_extension_reference_ids": [],
@ -1460,7 +1462,8 @@
"sort_child_ids": [], "sort_child_ids": [],
"origin_id": null, "origin_id": null,
"derived_motion_ids": [], "derived_motion_ids": [],
"forwarding_tree_motion_ids": [], "all_origin_ids": [],
"all_derived_motion_ids": [],
"state_id": 1, "state_id": 1,
"recommendation_id": null, "recommendation_id": null,
"recommendation_extension_reference_ids": [], "recommendation_extension_reference_ids": [],
@ -1507,7 +1510,8 @@
"sort_child_ids": [], "sort_child_ids": [],
"origin_id": null, "origin_id": null,
"derived_motion_ids": [], "derived_motion_ids": [],
"forwarding_tree_motion_ids": [], "all_origin_ids": [],
"all_derived_motion_ids": [],
"state_id": 6, "state_id": 6,
"recommendation_id": null, "recommendation_id": null,
"category_id": null, "category_id": null,

View File

@ -1309,7 +1309,8 @@ motion:
derived_motion_ids: derived_motion_ids:
type: relation-list type: relation-list
to: motion/origin_id # Note: The related motions may not be in the same meeting to: motion/origin_id # Note: The related motions may not be in the same meeting
forwarding_tree_motion_ids: number[] # Calculated: All children (derived_motion_ids), grand children, ... and all parents (origin_id). all_origin_ids: number[] # Calculated: All parents (origin_id), grandparents, etc. of this motion.
all_derived_motion_ids: number[] # Calculated: All children (derived_motion_ids), grandchildren, etc. of this motion.
state_id: state_id:
type: relation type: relation
to: motion_state/motion_ids to: motion_state/motion_ids