Skip to content

Instantly share code, notes, and snippets.

@trshafer
Created November 24, 2009 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trshafer/241603 to your computer and use it in GitHub Desktop.
Save trshafer/241603 to your computer and use it in GitHub Desktop.
require File.dirname(__FILE__) + '/../config/database'
register DatabaseSetup
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Migration.verbose = true
ActiveRecord::Migrator.migrate(File.dirname(__FILE__)+"/../db/migrate")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment