Skip to content

Commit

Permalink
00_create_datastore.sh works
Browse files Browse the repository at this point in the history
  • Loading branch information
florianm committed Jul 12, 2017
1 parent 53aac5e commit ed87450
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2,7 +2,7 @@
set -e
echo "Creating datastore readonly user and database in image db..."
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
CREATE USER datastore_ro LOGIN NOCREATEDB NOSUPERUSER NOCREATEROLE ENCRYPTED PASSWORD "$DS_RO_PASS";
CREATE ROLE datastore_ro NOSUPERUSER NOCREATEDB NOCREATEROLE LOGIN PASSWORD '$DS_RO_PASS';
CREATE DATABASE datastore OWNER ckan ENCODING utf-8;
GRANT ALL PRIVILEGES ON DATABASE datastore TO ckan;
EOSQL
Expand Down

0 comments on commit ed87450

Please sign in to comment.