Protect first_state_of_workflow_id

This commit is contained in:
Joshua Sangmeister 2020-11-05 17:35:32 +01:00
parent 9c766de474
commit ee41eb2df9

View File

@ -1405,6 +1405,7 @@ motion_state:
first_state_of_workflow_id: first_state_of_workflow_id:
type: relation type: relation
to: motion_workflow/first_state_id to: motion_workflow/first_state_id
on_delete: PROTECT
equal_fields: meeting_id equal_fields: meeting_id
meeting_id: meeting_id:
type: relation type: relation
@ -1774,9 +1775,9 @@ mediafile:
mimetype: string mimetype: string
pdf_information: JSON pdf_information: JSON
create_timestamp: timestamp create_timestamp: timestamp
has_inherited_access_groups: is_public:
type: boolean 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 read_only: true
inherited_access_group_ids: inherited_access_group_ids: