From 14f06c2cc1248facaa233a6d8df6cd1d9501168c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 9 Jul 2005 16:59:35 +0000 Subject: Fixed SQL Server test #1678 [Tom Ward] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/fresh_rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile index ac17c75546..44d16b820e 100755 --- a/railties/fresh_rakefile +++ b/railties/fresh_rakefile @@ -189,5 +189,5 @@ end 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(File.dirname(__FILE__) + '/db/migrate/', ENV["VERSION"]) + ActiveRecord::Migrator.migrate(File.dirname(__FILE__) + '/db/migrate/', ENV["VERSION"] ? ENV["VERSION"].to_i : nil) end \ No newline at end of file -- cgit v1.2.3