This project is archived and is in readonly mode.
PostgreSQL: Use adapter's #create_database db:test:purge
Reported by Pete Deffendol | May 1st, 2008 @ 08:18 PM
Creating the test database using the PostgreSQL adapter doesn't work completely if using settings like "template" in database.yml.
This patch updates the Rake task to use the PostgreSQL adapter's new create_database implementation to honor all configuration settings.
Comments and changes to this ticket
-
Michael Koziarski May 2nd, 2008 @ 11:43 PM
- Assigned user set to Michael Koziarski
Is there any reason this couldn't be extended to all the adapters and remove some of that heinous case code?
-
Pete Deffendol May 4th, 2008 @ 04:49 AM
The patch referenced here has been rolled into #42 by request.
-
Michael Koziarski May 6th, 2008 @ 10:44 AM
- State changed from new to resolved
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 42 PostgreSQL: Use all config options in rake db:create This looks like #86
- 42 PostgreSQL: Use all config options in rake db:create Yes, but #86 deals with modifying rake db:test:purge to ...
- 42 PostgreSQL: Use all config options in rake db:create and db:test:purge Alright, attaching a new patch that will handle both thi...