]>
Git — Sourcephile - gargantext.git/blob - devops/postgres/create
9 psql
-c "CREATE USER \"${USER}\"
10 psql -c "ALTER USER
\"${USER}\" with PASSWORD
\"${PW}\""
12 psql -c "DROP DATABASE IF EXISTS
\"${DB}\""
14 psql "${DB}" < schema.sql
16 psql -c "ALTER DATABASE
\"${DB}\" OWNER to
\"${USER}\" ;"