Add datastore_default user due to PR #2234 from ckan
This commit is contained in:
parent
644fa49dd4
commit
73aecb7f12
|
@ -33,7 +33,9 @@ sudo service jetty restart
|
||||||
|
|
||||||
echo "Creating the PostgreSQL user and database..."
|
echo "Creating the PostgreSQL user and database..."
|
||||||
sudo -u postgres psql -c "CREATE USER ckan_default WITH PASSWORD 'pass';"
|
sudo -u postgres psql -c "CREATE USER ckan_default WITH PASSWORD 'pass';"
|
||||||
|
sudo -u postgres psql -c "CREATE USER datastore_default WITH PASSWORD 'pass';"
|
||||||
sudo -u postgres psql -c 'CREATE DATABASE ckan_test WITH OWNER ckan_default;'
|
sudo -u postgres psql -c 'CREATE DATABASE ckan_test WITH OWNER ckan_default;'
|
||||||
|
sudo -u postgres psql -c 'CREATE DATABASE datastore_test WITH OWNER ckan_default;'
|
||||||
|
|
||||||
echo "Initialising the database..."
|
echo "Initialising the database..."
|
||||||
cd ckan
|
cd ckan
|
||||||
|
|
Loading…
Reference in New Issue