Sha256: fc182c73bf406293d1cafd7fc3d6f940b16a12f7bcf84123aa61789644eccd65

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

namespace :db do
  task :auto => :environment do
    puts "[DEPRICATION] db:auto was deprecated. Use rake db:migrate instead it."
  end
end

task :automigration => :environment do
  Automigration::Migrator.new.update_schema!
end

Rake::Task['db:migrate'].enhance ['automigration']

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
automigration-1.0.1 lib/tasks/automigration.rake
automigration-1.0.0 lib/tasks/automigration.rake
automigration-0.2.2 lib/tasks/automigration.rake