Sha256: 0cc56857811b92a96b35edcbcf6cf3d1752f60d0e5f7ce51f9a41e8c84d8603b
Contents?: true
Size: 636 Bytes
Versions: 44
Compression:
Stored size: 636 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: false 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
44 entries across 44 versions & 1 rubygems