Table: payment_method_account

Columns
  Column Name Data Type Default
Value
References
Table
Foreign Key
Name
1. PK payment_method_key decimal(15)   payment_method fk_payment_method_account1
2. PK category tinyint      
3.   account_key decimal(15)   account fk_payment_method_account2
Foreign Keys
Column References Foreign Key Name
Table Column
account_key account account_key fk_payment_method_account2
payment_method_key payment_method payment_method_key fk_payment_method_account1
Check Constraints
Name Definition
cc_payment_method_account_cat ([category]>=(1) AND [category]<=(99))
Indices
Index Name Unique Column Name Asc Or Desc
pk_payment_method_account true payment_method_key Asc
    category