diff schema/Dockerfile @ 211:e7826710d9c4

Make responsibility area mandatory Each waterway administrator has to have a responsibility area assigned, which is now ensured by referencing the respective table instead of countries directly.
author Tom Gottfried <tom@intevation.de>
date Mon, 23 Jul 2018 16:45:27 +0200
parents a9d9c2b1d08c
children 299568ad3c37
line wrap: on
line diff
--- a/schema/Dockerfile	Mon Jul 23 16:40:21 2018 +0200
+++ b/schema/Dockerfile	Mon Jul 23 16:45:27 2018 +0200
@@ -32,8 +32,8 @@
     psql -f roles.sql && \
     createdb gemma && \
     psql -f gemma.sql -f auth.sql -f manage_users.sql -d gemma && \
+    psql -f demo-data/responsibility_areas.sql -d gemma && \
     psql -f demo-data/roles.sql -f demo-data/users.sql -d gemma && \
-    psql -f demo-data/responsibility_areas.sql -d gemma && \
     $PGBIN/pg_ctl stop -m smart
 
 # Set the default command to run when starting the container