Sha256: 31def2d84390fb36e5f756de4b8091ac117eef4bc5d8b2e586f6a5a7ae57c5bc

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

# This migration comes from spree (originally 20150506182045)
class CreateStoreCreditReimbursementType < ActiveRecord::Migration
  def up
    Spree::ReimbursementType.create_with(name: Spree.t("store_credit.store_credit")).find_or_create_by!(type: 'Spree::ReimbursementType::StoreCredit')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103584_create_store_credit_reimbursement_type.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112536_create_store_credit_reimbursement_type.spree.rb