Sha256: 47599c2be390f84d016935713de99e1c6b3f87ad9ef49411274e0c975d84e7b7

Contents?: true

Size: 436 Bytes

Versions: 76

Compression:

Stored size: 436 Bytes

Contents

class CreateSpreeRefundReasons < ActiveRecord::Migration[4.2]
  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, precision: 6
    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

76 entries across 76 versions & 1 rubygems

Version Path
spree_core-4.0.9 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.1.15 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.2.7 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.3.3 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.2.6 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.3.2 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.3.1 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.3.0 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.3.0.rc3 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.3.0.rc2 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.3.0.rc1 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.2.5 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.1.14 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.0.8 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.2.4 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-3.7.14.1 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.2.3.1 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.1.13.1 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.0.7.1 db/migrate/20140713140527_create_spree_refund_reasons.rb
spree_core-4.2.3 db/migrate/20140713140527_create_spree_refund_reasons.rb