Mercurial > gemma
view schema/run_tests.sh @ 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 | f3a09fc9c1eb |
children | b67208d82543 |
line wrap: on
line source
#!/bin/sh -e dropdb --if-exists gemma_test createdb gemma_test psql -qv ON_ERROR_STOP= -c 'CREATE EXTENSION pgtap' -d gemma_test psql -qv ON_ERROR_STOP= -d gemma_test \ -f gemma.sql \ -f auth.sql \ -f manage_users.sql psql -qv ON_ERROR_STOP= -f tap_tests_data.sql -d gemma_test psql -Xf auth_tests.sql -d gemma_test psql -Xf manage_users_tests.sql -d gemma_test