diff options
Diffstat (limited to 'railties/fresh_rakefile')
-rwxr-xr-x | railties/fresh_rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile index 46bb73ef86..ac17c75546 100755 --- a/railties/fresh_rakefile +++ b/railties/fresh_rakefile @@ -187,7 +187,7 @@ task :clear_logs => :environment do end end -desc "Migrate the database according to the migrate scripts in db/migrate" +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.up(File.dirname(__FILE__) + '/db/migrate/') + ActiveRecord::Migrator.migrate(File.dirname(__FILE__) + '/db/migrate/', ENV["VERSION"]) end
\ No newline at end of file |