Class: Appfuel::Db::MigrationTasks

Inherits:
Object
  • Object
show all
Includes:
Rake::DSL
Defined in:
lib/appfuel/storage/db/migration_tasks.rb

Instance Method Summary collapse

Instance Method Details

#install_tasksObject



7
8
9
10
11
12
13
14
15
# File 'lib/appfuel/storage/db/migration_tasks.rb', line 7

def install_tasks
  load "active_record/railties/databases.rake"

  namespace :db do
    task :environment do
      MigrationsInitializer.call
    end
  end
end