From ee41eb2df9265ce61b469df8ac466e6afac7db70 Mon Sep 17 00:00:00 2001 From: Joshua Sangmeister Date: Thu, 5 Nov 2020 17:35:32 +0100 Subject: [PATCH] Protect first_state_of_workflow_id --- docs/models.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/models.yml b/docs/models.yml index f7fb71fd5..e2038b950 100644 --- a/docs/models.yml +++ b/docs/models.yml @@ -1405,6 +1405,7 @@ motion_state: first_state_of_workflow_id: type: relation to: motion_workflow/first_state_id + on_delete: PROTECT equal_fields: meeting_id meeting_id: type: relation @@ -1774,9 +1775,9 @@ mediafile: mimetype: string pdf_information: JSON create_timestamp: timestamp - has_inherited_access_groups: + is_public: type: boolean - description: Calculated field. + description: "Calculated field. inherited_access_group_ids == [] can have two causes: cancelling access groups (=> is_public := false) or no access groups at all (=> is_public := true)" read_only: true inherited_access_group_ids: