Sha256: f704e3b04c5e556f16d157a770c1a4b873f0dfa5722b0431361abbc3db7cb593

Contents?: true

Size: 340 Bytes

Versions: 7

Compression:

Stored size: 340 Bytes

Contents

# This migration comes from spree (originally 20101111133551)
class RenamedRmaCancelledState < ActiveRecord::Migration
  def up
    execute "UPDATE return_authorizations SET state = 'canceled' WHERE state = 'cancelled'"
  end

  def down
    execute "UPDATE return_authorizations SET state = 'cancelled' WHERE state = 'canceled'"
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
spree_mercado_pago_payment_method-0.0.2 spec/dummy/db/migrate/20121121030213_renamed_rma_cancelled_state.spree.rb
spree_mercado_pago_payment_method-0.1.1 spec/dummy/db/migrate/20121121030213_renamed_rma_cancelled_state.spree.rb
spree_mercado_pago_payment_method-0.1.0 spec/dummy/db/migrate/20121121030213_renamed_rma_cancelled_state.spree.rb
datashift_spree-0.3.0 spec/sandbox/db/migrate/20121023154432_renamed_rma_cancelled_state.spree.rb
datashift_spree-0.2.1 spec/sandbox/db/migrate/20121015151225_renamed_rma_cancelled_state.spree.rb
datashift_spree-0.2.0 spec/sandbox/db/migrate/20120925192793_renamed_rma_cancelled_state.spree.rb
datashift_spree-0.1.0 spec/sandbox/db/migrate/20120918081524_renamed_rma_cancelled_state.spree.rb