Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 195 Bytes
namespace :db do
task :environment do
load 'config.rb'
end
desc "Migrate the database"
task(:migrate => :environment) do
ActiveRecord::Migrator.migrate("db/migrate")
end
end