Sha256: a8c764917d8d253754fbead67fe5aa7012468f8da2cce424a0736294cf750e0a

Contents?: true

Size: 378 Bytes

Versions: 11

Compression:

Stored size: 378 Bytes

Contents

class RenameBogusGateways < ActiveRecord::Migration[5.0]
  def up
    say_with_time 'Renaming bogus gateways into payment methods' do
      Rake::Task['solidus:migrations:rename_gateways:up'].invoke
    end
  end

  def down
    say_with_time 'Renaming bogus payment methods into gateways' do
      Rake::Task['solidus:migrations:rename_gateways:down'].invoke
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_core-2.4.2 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.3.1 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.4.1 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.4.0 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.4.0.rc1 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.4.0.beta1 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.3.0 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.3.0.rc3 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.3.0.rc2 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.3.0.rc1 db/migrate/20170608074534_rename_bogus_gateways.rb
solidus_core-2.3.0.beta1 db/migrate/20170608074534_rename_bogus_gateways.rb