diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-09 16:59:35 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-09 16:59:35 +0000 |
commit | 14f06c2cc1248facaa233a6d8df6cd1d9501168c (patch) | |
tree | 18690b69dcbda9c323e15d88322f1e31fb49e50a /railties | |
parent | 32a800761e3e6b126a9892375469bf0c2b455116 (diff) | |
download | rails-14f06c2cc1248facaa233a6d8df6cd1d9501168c.tar.gz rails-14f06c2cc1248facaa233a6d8df6cd1d9501168c.tar.bz2 rails-14f06c2cc1248facaa233a6d8df6cd1d9501168c.zip |
Fixed SQL Server test #1678 [Tom Ward]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rwxr-xr-x | railties/fresh_rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |