Sha256: 4757075732df58142c936a7070e86933bbe6ffd7109d39cc891660bdd6461d6e
Contents?: true
Size: 576 Bytes
Versions: 14
Compression:
Stored size: 576 Bytes
Contents
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
14 entries across 14 versions & 1 rubygems