Sha256: 265c8e7ab46d567f33864717b4c35f35ccedca1af857c948c9d4d7c90a1a55b4

Contents?: true

Size: 417 Bytes

Versions: 38

Compression:

Stored size: 417 Bytes

Contents

class CreateSpreeRefundReasons < ActiveRecord::Migration
  def change
    create_table :spree_refund_reasons do |t|
      t.string :name
      t.boolean :active, default: true
      t.boolean :mutable, default: true

      t.timestamps null: false
    end

    add_column :spree_refunds, :refund_reason_id, :integer
    add_index :spree_refunds, :refund_reason_id, name: 'index_refunds_on_refund_reason_id'
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
goca-spree-core-3.1.14.rails.5.0.1 db/migrate/20140713140527_create_spree_refund_reasons.rb
goca-spree-core-3.1.14.rails.5.0 db/migrate/20140713140527_create_spree_refund_reasons.rb
goca-spree-core-3.1.15.rails.5.0 db/migrate/20140713140527_create_spree_refund_reasons.rb
goca-spree-core-3.1.15.pre.rails.pre.5.0 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.14 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.13 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.12 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.11 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.10 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.9 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.8 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.7 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.6 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.5 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.4 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.3 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.2 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.0.10 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.1 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.1.0 db/migrate/20140713140527_create_spree_refund_reasons.rb