Sha256: 3f8acaa1e0fd0baf944aa998a8693d45fb4a3d9456db0f85b3ffddfe201bdc7d
Contents?: true
Size: 367 Bytes
Versions: 9
Compression:
Stored size: 367 Bytes
Contents
class CreateSpreePaymentMethodsStores < ActiveRecord::Migration[6.0] 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
9 entries across 9 versions & 1 rubygems