Sha256: 8489a32aa3ec336000de540cc256153576cc199e29137525670bfc777987845f
Contents?: true
Size: 367 Bytes
Versions: 10
Compression:
Stored size: 367 Bytes
Contents
class CreateSpreePaymentMethodsStores < ActiveRecord::Migration[5.2] def change create_table :spree_payment_methods_stores, id: false do |t| t.belongs_to :payment_method t.belongs_to :store end add_index :spree_payment_methods_stores, [:payment_method_id, :store_id], unique: true, name: 'payment_mentod_id_store_id_unique_index' end end
Version data entries
10 entries across 10 versions & 1 rubygems