25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix command for loading pgsql schema

This commit is contained in:
Paweł Chmielowski 2018-11-19 12:58:45 +01:00
parent 0c4f5dbb7e
commit d642a9db88

View File

@ -37,7 +37,7 @@ before_script:
- psql -U postgres -c "CREATE USER ejabberd_test WITH PASSWORD 'ejabberd_test';" - psql -U postgres -c "CREATE USER ejabberd_test WITH PASSWORD 'ejabberd_test';"
- psql -U postgres -c "CREATE DATABASE ejabberd_test;" - psql -U postgres -c "CREATE DATABASE ejabberd_test;"
- psql -U postgres -c "GRANT ALL PRIVILEGES ON DATABASE ejabberd_test TO ejabberd_test;" - psql -U postgres -c "GRANT ALL PRIVILEGES ON DATABASE ejabberd_test TO ejabberd_test;"
- psql -U postgres -c "USE ejabberd_test;" -f sql/pg.sql - psql -U postgres ejabberd_test -f sql/pg.sql
script: script:
- ./autogen.sh - ./autogen.sh