This project is archived and is in readonly mode.
[Patch] Rails 2.3 schema_format :sql should behave like schema_format :ruby
Reported by Gaius Centus Novus | October 29th, 2010 @ 07:10 PM
This backports the patch in #5412 to 2-3-stable.
Comments and changes to this ticket
-
Gaius Centus Novus October 29th, 2010 @ 07:13 PM
Hmm, can't seem to upload a file here. It's posted as a Gist: http://gist.github.com/654031
-
Jeff Kreeftmeijer November 1st, 2010 @ 05:02 PM
- Tag cleared.
- Importance changed from to Low
Automatic cleanup of spam.
-
Santiago Pastorino February 2nd, 2011 @ 04:20 PM
- State changed from new to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino February 2nd, 2011 @ 04:20 PM
- State changed from open to stale
-
Brad Langhorst February 16th, 2011 @ 07:24 PM
i'm attaching a fresh patch that applies to 2.3.9 (use -R)
the current one fails to apply because of the ^mysql vs "mysql" -
Brad Langhorst April 6th, 2011 @ 04:36 PM
updated the patch so that it uses the logic in test:clone_structure for db:structure:load instead of executing the lines in the structure file. test:clone_structure now uses db:structure:load just like test:clone does to db:schema:load
fixed things so that setup loads the environment before trying to use it where necessary (db:reset and db:setup)
added respect for the PGUSER environment variable, eliminating the -U from dump and load statements (needed for trust and ident authentication)
this applies to 2.3.11
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
- 5412 [Patch] Rails schema_format :sql should behave like schema_format :ruby See also #5889, which backports these changes to Rails 2.3