Merge pull request #5632 from jsangmeister/change-weights

Change weights and add defaults
This commit is contained in:
jsangmeister 2020-10-15 09:55:36 +02:00 committed by GitHub
commit b6dd6086aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -869,7 +869,7 @@ agenda_item:
read_only: true read_only: true
weight: weight:
type: number type: number
default: 0 default: 10000
content_object_id: content_object_id:
type: generic-relation type: generic-relation
@ -951,7 +951,7 @@ speaker:
read_only: true read_only: true
weight: weight:
type: number type: number
default: 0 default: 10000
marked: boolean marked: boolean
list_of_speakers_id: list_of_speakers_id:
@ -1032,12 +1032,12 @@ motion:
reason: HTMLStrict reason: HTMLStrict
category_weight: category_weight:
type: number type: number
default: 0 default: 10000
state_extension: string state_extension: string
recommendation_extension: string recommendation_extension: string
sort_weight: sort_weight:
type: number type: number
default: 0 default: 10000
created: created:
type: timestamp type: timestamp
read_only: true read_only: true
@ -1170,7 +1170,7 @@ motion_submitter:
id: number id: number
weight: weight:
type: number type: number
default: 0 default: 10000
user_id: user_id:
type: relation type: relation
@ -1215,7 +1215,7 @@ motion_comment_section:
required: true required: true
weight: weight:
type: number type: number
default: 0 default: 10000
comment_ids: comment_ids:
type: relation-list type: relation-list
@ -1245,7 +1245,7 @@ motion_category:
required: true required: true
weight: weight:
type: number type: number
default: 0 default: 10000
level: level:
type: number type: number
description: Calculated field. description: Calculated field.
@ -1446,7 +1446,7 @@ motion_statute_paragraph:
text: HTMLStrict text: HTMLStrict
weight: weight:
type: number type: number
default: 0 default: 10000
motion_ids: motion_ids:
type: relation-list type: relation-list
@ -1562,12 +1562,14 @@ assignment:
open_posts: open_posts:
type: number type: number
minimum: 0 minimum: 0
default: 0
phase: phase:
type: number type: number
enum: enum:
- 1 - 1
- 2 - 2
- 3 - 3
default: 1
default_poll_description: string default_poll_description: string
number_poll_candidates: boolean number_poll_candidates: boolean
@ -1617,7 +1619,7 @@ assignment_candidate:
id: number id: number
weight: weight:
type: number type: number
default: 0 default: 10000
assignment_id: assignment_id:
type: relation type: relation
@ -1696,7 +1698,7 @@ assignment_option:
abstain: decimal(6) abstain: decimal(6)
weight: weight:
type: number type: number
default: 0 default: 10000
poll_id: poll_id:
type: relation type: relation