magic_recipes 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/magic_recipes/postgresql.rb +1 -1
- metadata +1 -1
@@ -59,7 +59,7 @@ module MagicRecipes
|
|
59
59
|
# make a superuser .. to be able to install extensions like hstore
|
60
60
|
run %Q{#{sudo} -u postgres psql -c "CREATE ROLE #{postgresql_user} WITH SUPERUSER CREATEDB CREATEROLE LOGIN ENCRYPTED PASSWORD '#{postgresql_password}';"}
|
61
61
|
#run %Q{#{sudo} -u postgres psql -c "create database #{postgresql_database} owner #{postgresql_user};"}
|
62
|
-
run %Q{#{sudo} -u postgres psql -c "CREATE DATABASE #{postgresql_database} WITH OWNER #{postgresql_user}
|
62
|
+
run %Q{#{sudo} -u postgres psql -c "CREATE DATABASE #{postgresql_database} WITH OWNER #{postgresql_user};"}
|
63
63
|
end
|
64
64
|
after "deploy:setup", "postgresql:create_database"
|
65
65
|
|