From 3b0df8de456316f5cb761f6dee15a1ad3d3d6a14 Mon Sep 17 00:00:00 2001 From: Joshua Sangmeister Date: Tue, 22 Sep 2020 11:34:21 +0200 Subject: [PATCH] Fix example data & add direct db access script --- db.sh | 2 ++ docs/example-data.json | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 14 deletions(-) create mode 100755 db.sh diff --git a/db.sh b/db.sh new file mode 100755 index 000000000..34b1e6bef --- /dev/null +++ b/db.sh @@ -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 diff --git a/docs/example-data.json b/docs/example-data.json index 3125775dc..c43df4247 100644 --- a/docs/example-data.json +++ b/docs/example-data.json @@ -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,