Fix example data & add direct db access script

This commit is contained in:
Joshua Sangmeister 2020-09-22 11:34:21 +02:00
parent 3dbc854d81
commit 3b0df8de45
2 changed files with 16 additions and 14 deletions

2
db.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker-compose -f docker-compose.yml -f docker-compose.dev.yml exec datastore-writer psql -h postgres -U openslides

View File

@ -1469,7 +1469,7 @@
"name": "submitted",
"recommendation_label": null,
"css_class": "lightblue",
"restriction": [],
"restrictions": [],
"allow_support": true,
"allow_create_poll": true,
"allow_submitter_edit": true,
@ -1490,7 +1490,7 @@
"name": "accepted",
"recommendation_label": "Acceptance",
"css_class": "green",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1511,7 +1511,7 @@
"name": "rejected",
"recommendation_label": "Rejection",
"css_class": "red",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1532,7 +1532,7 @@
"name": "not decided",
"recommendation_label": "No decision",
"css_class": "grey",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1553,7 +1553,7 @@
"name": "published",
"recommendation_label": null,
"css_class": "lightblue",
"restriction": [],
"restrictions": [],
"allow_support": true,
"allow_create_poll": false,
"allow_submitter_edit": true,
@ -1574,7 +1574,7 @@
"name": "permitted",
"recommendation_label": "Permission",
"css_class": "lightblue",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": true,
"allow_submitter_edit": true,
@ -1595,7 +1595,7 @@
"name": "accepted",
"recommendation_label": "Acceptance",
"css_class": "green",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1616,7 +1616,7 @@
"name": "rejected",
"recommendation_label": "Rejection",
"css_class": "red",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1637,7 +1637,7 @@
"name": "withdrawed",
"recommendation_label": null,
"css_class": "grey",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1658,7 +1658,7 @@
"name": "adjourned",
"recommendation_label": "Adjournment",
"css_class": "grey",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1679,7 +1679,7 @@
"name": "not concerned",
"recommendation_label": "No concernment",
"css_class": "grey",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1700,7 +1700,7 @@
"name": "refered to committee",
"recommendation_label": "Referral to committee",
"css_class": "grey",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1721,7 +1721,7 @@
"name": "needs review",
"recommendation_label": null,
"css_class": "grey",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,
@ -1742,7 +1742,7 @@
"name": "rejected (not authorized)",
"recommendation_label": "Rejection (not authorized)",
"css_class": "grey",
"restriction": [],
"restrictions": [],
"allow_support": false,
"allow_create_poll": false,
"allow_submitter_edit": false,