Sha256: 9ab2fbae18914b2b3c893d7ad9cd8341dfe364262375f46b869960ad4bc7ecfb
Contents?: true
Size: 655 Bytes
Versions: 6
Compression:
Stored size: 655 Bytes
Contents
# This migration comes from spree (originally 20140731150017) class CreateSpreeReimbursementTypes < ActiveRecord::Migration[4.2] def change create_table :spree_reimbursement_types do |t| t.string :name t.boolean :active, default: true t.boolean :mutable, default: true t.timestamps null: false 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
6 entries across 6 versions & 1 rubygems