magic_recipes 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|