aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2012-03-17 13:57:10 +0900
committerkennyj <kennyj@gmail.com>2012-03-17 13:57:10 +0900
commit0360b3eb1f64128cfaa6c4eeb20e624f51e41ecf (patch)
treefbe85687872b7e4f91fd547a685db6368483df46 /activerecord/lib
parent92563722da460191c5f021b4570380740a5333de (diff)
downloadrails-0360b3eb1f64128cfaa6c4eeb20e624f51e41ecf.tar.gz
rails-0360b3eb1f64128cfaa6c4eeb20e624f51e41ecf.tar.bz2
rails-0360b3eb1f64128cfaa6c4eeb20e624f51e41ecf.zip
Fix GH #5435. db:structure:dump should be reenable.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/railties/databases.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake
index f26989ae57..f26e18b1e0 100644
--- a/activerecord/lib/active_record/railties/databases.rake
+++ b/activerecord/lib/active_record/railties/databases.rake
@@ -426,6 +426,7 @@ db_namespace = namespace :db do
if ActiveRecord::Base.connection.supports_migrations?
File.open(filename, "a") { |f| f << ActiveRecord::Base.connection.dump_schema_information }
end
+ db_namespace['structure:dump'].reenable
end
# desc "Recreate the databases from the structure.sql file"