Browse files

Migrating should also dump the latest schema

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 2948910 commit 6fe5f65d87d9fc49be3f937641da1fb225838dc7 @dhh dhh committed Oct 12, 2005
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/tasks/databases.rake
@@ -1,6 +1,7 @@
desc "Migrate the database according to the migrate scripts in db/migrate (only supported on PG/MySQL). A specific version can be targetted with VERSION=x"
task :migrate => :environment do
ActiveRecord::Migrator.migrate("db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
+ Task[:db_schema_dump].invoke
desc "Load fixtures into the current environment's database"

0 comments on commit 6fe5f65

Please sign in to comment.