aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-02-27 06:03:50 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-02-27 06:03:50 +0000
commitabe5b1573ec5c531d6b5f3d74ec97c15daa76685 (patch)
tree9e749d92740f272b2591be13c57ce1b1f1c3e2a8 /railties
parent018e7f24f0a7a74ad52eb342c7d64fb66d7ae983 (diff)
downloadrails-abe5b1573ec5c531d6b5f3d74ec97c15daa76685.tar.gz
rails-abe5b1573ec5c531d6b5f3d74ec97c15daa76685.tar.bz2
rails-abe5b1573ec5c531d6b5f3d74ec97c15daa76685.zip
Load, not dump, schema to test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/tasks/databases.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/databases.rake b/railties/lib/tasks/databases.rake
index 0925429265..3e75065488 100644
--- a/railties/lib/tasks/databases.rake
+++ b/railties/lib/tasks/databases.rake
@@ -67,7 +67,7 @@ namespace :db do
desc "Recreate the test database from the current environment's database schema"
task :clone => "db:schema:dump" do
ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations['test'])
- Rake::Task["db:schema:dump"].invoke
+ Rake::Task["db:schema:load"].invoke
end