Sha256: 2e3b9d9566b1162d7e8055256018b5a0af1f1cd0f222d9bc38a85c524e88f0e5
Contents?: true
Size: 635 Bytes
Versions: 21
Compression:
Stored size: 635 Bytes
Contents
class CreateSpreeReimbursements < ActiveRecord::Migration[4.2] def change create_table :spree_reimbursements do |t| t.string :number t.string :reimbursement_status t.integer :customer_return_id t.integer :order_id t.decimal :total, precision: 10, scale: 2 t.timestamps null: true end add_index :spree_reimbursements, :customer_return_id add_index :spree_reimbursements, :order_id remove_column :spree_refunds, :customer_return_id, :integer add_column :spree_refunds, :reimbursement_id, :integer add_column :spree_return_items, :reimbursement_id, :integer end end
Version data entries
21 entries across 21 versions & 1 rubygems