Class: VoucherPaymentType
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- VoucherPaymentType
- Defined in:
- app/models/voucher_payment_type.rb
Overview
Schema Information
Table name: voucher_payment_types
id :bigint not null, primary key
created_at :datetime not null
updated_at :datetime not null
payment_type_id :bigint
voucher_id :bigint
Indexes
index_voucher_payment_types_on_payment_type_id (payment_type_id)
index_voucher_payment_types_on_voucher_id (voucher_id)
voucher_payment_type_index (payment_type_id,voucher_id) UNIQUE