Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

re-enable db:schema:dump so db:migrate:redo dumps the schema after mi…

…grating back up

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1412 state:committed]
  • Loading branch information...
commit ba146a84d0ed8a886fdc6b6794ce99a9d37c0190 1 parent 1fe9d6c
Will Bryant willbryant authored NZKoz committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  railties/lib/tasks/databases.rake
1  railties/lib/tasks/databases.rake
View
@@ -250,6 +250,7 @@ namespace :db do
File.open(ENV['SCHEMA'] || "#{RAILS_ROOT}/db/schema.rb", "w") do |file|
ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, file)
end
+ Rake::Task["db:schema:dump"].reenable
end
desc "Load a schema.rb file into the database"
Please sign in to comment.
Something went wrong with that request. Please try again.