This project is archived and is in readonly mode.

#2789 ✓duplicate
Peter Marklund

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

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>

Attachments

Pages