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: 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
5 railties/fresh_rakefile
@@ -186,3 +186,8 @@ task :clear_logs => :environment do
+desc "Migrate the database according to the migrate scripts in db/migrate"
+task :migrate => :environment do
+ ActiveRecord::Migrator.up(File.dirname(__FILE__) + '/db/migrate/')

0 comments on commit c570ebc

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