This project is archived and is in readonly mode.
Make Rake task db:schema:load compatible with SQL schema format
Reported by Peter Marklund | June 11th, 2009 @ 01:36 PM | in 3.x
If you in your environment.rb have set "config.active_record.schema_format = :sql" then the Rake task db:schema:load (and the upcoming db:setup task in Rails 3 that depends on it) won't work for you. As it stands, db:schema:load will always attempt to load a Ruby format schema file regardless of your schema format setting. This patch changes db:schema:load to load from db/development_structure.sql if schema format is :sql.
Comments and changes to this ticket
-
Ches Martin October 29th, 2009 @ 06:42 AM
Patch needs simple refresh for railties reorganization on edge, but +1 (Peter tagged appropriate stable branch where it applies, I'm just sayin').
-
Nick Gauthier August 19th, 2010 @ 07:46 PM
- Importance changed from to
I've submitted a patch to this issue, please consider giving it a +1
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets...
Thanks,
Nick Gauthier -
Jeff Kreeftmeijer October 11th, 2010 @ 08:16 AM
- State changed from new to duplicate
I'll mark this as a duplicate then.
#5412
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>