Sha256: 2f958de89cdd0023dcc6674471c54e7f0fa4d382bd9d2549a2ce12ba10f1017b
Contents?: true
Size: 638 Bytes
Versions: 3
Compression:
Stored size: 638 Bytes
Contents
# This migration comes from spree (originally 20140731150017) class CreateSpreeReimbursementTypes < ActiveRecord::Migration def change create_table :spree_reimbursement_types do |t| t.string :name t.boolean :active, default: true t.boolean :mutable, default: true t.timestamps end reversible do |direction| direction.up do Spree::ReimbursementType.create!(name: Spree::ReimbursementType::ORIGINAL) end end add_column :spree_return_items, :preferred_reimbursement_type_id, :integer add_column :spree_return_items, :override_reimbursement_type_id, :integer end end
Version data entries
3 entries across 3 versions & 2 rubygems