Sha256: 4c732f7193b40a23812bc35709560d2e150bc8db6222ff68ea0abd3f6af22cb3

Contents?: true

Size: 242 Bytes

Versions: 21

Compression:

Stored size: 242 Bytes

Contents

class CreateStoreCreditReimbursementType < ActiveRecord::Migration[4.2]
  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

21 entries across 21 versions & 1 rubygems

Version Path
solidus_core-2.3.1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.2.2 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.1.1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.0.3 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.3.0 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.3.0.rc3 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.3.0.rc2 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.3.0.rc1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.3.0.beta1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.0.2 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.2.1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.2.0 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.2.0.rc1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.2.0.beta1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.1.0 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.1.0.rc1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.0.1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.1.0.beta1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.0.0 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb
solidus_core-2.0.0.rc1 db/migrate/20150506182045_create_store_credit_reimbursement_type.rb