Adapt models.yml to new voting changes
This commit is contained in:
parent
a530fef898
commit
df7c25cc5d
@ -1660,6 +1660,7 @@ poll:
|
|||||||
- YN
|
- YN
|
||||||
- YNA
|
- YNA
|
||||||
- N
|
- N
|
||||||
|
is_pseudoanonymized: boolean
|
||||||
state:
|
state:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@ -1693,6 +1694,7 @@ poll:
|
|||||||
- N
|
- N
|
||||||
- valid
|
- valid
|
||||||
- cast
|
- cast
|
||||||
|
- entitled
|
||||||
- disabled
|
- disabled
|
||||||
majority_method:
|
majority_method:
|
||||||
type: string
|
type: string
|
||||||
@ -1705,6 +1707,7 @@ poll:
|
|||||||
votesvalid: decimal(6)
|
votesvalid: decimal(6)
|
||||||
votesinvalid: decimal(6)
|
votesinvalid: decimal(6)
|
||||||
votescast: decimal(6)
|
votescast: decimal(6)
|
||||||
|
entitled_users_at_stop: JSON
|
||||||
|
|
||||||
content_object_id: # Note: must not be set - it is allowed to have standalone polls
|
content_object_id: # Note: must not be set - it is allowed to have standalone polls
|
||||||
type: generic-relation
|
type: generic-relation
|
||||||
@ -1778,6 +1781,9 @@ vote:
|
|||||||
id: number
|
id: number
|
||||||
weight: decimal(6)
|
weight: decimal(6)
|
||||||
value: string
|
value: string
|
||||||
|
user_token:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
|
||||||
option_id:
|
option_id:
|
||||||
type: relation
|
type: relation
|
||||||
|
Loading…
Reference in New Issue
Block a user