Mercurial > gemma
diff schema/Dockerfile @ 185:a9d9c2b1d08c
Add database function to create role and user profile
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 19 Jul 2018 16:37:52 +0200 |
parents | 0c0826063561 |
children | e7826710d9c4 |
line wrap: on
line diff
--- a/schema/Dockerfile Thu Jul 19 16:32:27 2018 +0200 +++ b/schema/Dockerfile Thu Jul 19 16:37:52 2018 +0200 @@ -31,8 +31,7 @@ RUN $PGBIN/pg_ctl start -wo "--config_file=$PGCONF" && \ psql -f roles.sql && \ createdb gemma && \ - psql -f gemma.sql -d gemma && \ - psql -f auth.sql -d gemma && \ + psql -f gemma.sql -f auth.sql -f manage_users.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