Sha256: b55b87d8b304fbe970e7c99670cb066e6a33a99f1c8fcfd0e348cfd45c3c925d

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

# This migration comes from spree (originally 20140713140527)
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

3 entries across 3 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195865_create_spree_refund_reasons.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091806_create_spree_refund_reasons.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091806_create_spree_refund_reasons.spree.rb