Skip to content
Browse files

Added migrate task to default rakefile (this is still a sqlite/mysql …

…feature only, please do pitch in)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent a43c227 commit c570ebc1431f0954c6da84b7477688c9ace89830 @dhh dhh committed Jul 4, 2005
Showing with 5 additions and 0 deletions.
  1. +5 −0 railties/fresh_rakefile
View
5 railties/fresh_rakefile
@@ -186,3 +186,8 @@ task :clear_logs => :environment do
f.close
end
end
+
+desc "Migrate the database according to the migrate scripts in db/migrate"
+task :migrate => :environment do
+ ActiveRecord::Migrator.up(File.dirname(__FILE__) + '/db/migrate/')
+end

0 comments on commit c570ebc

Please sign in to comment.
Something went wrong with that request. Please try again.