You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
postgresql:create_db_user
creates a postgresql user. Password for the user is automatically generated and used in the next steps.
postgresql:create_database
creates database for your app.
postgresql:generate_database_yml_archetype
creates a database.yml file and copies it to #{deploy_path}/db/database.yml on the primary db server.
postgresql:generate_database_yml
copies database.yml file from the primary db server to #{shared_path}/config/database.yml on release server(s).
postgresql:add_hstore
creates the hstore extension for your application database. This task only runs
if :pg_use_hstore is set to true (see Configuration Options).
Also, the plugin ensures config/database.yml is symlinked from shared_path.
The above tasks are all you need for getting a Rails app to work with PostgreSQL.