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