ktx/python/ktx-sl/sources/b2b_saas/payments.yaml

21 lines
326 B
YAML
Raw Permalink Normal View History

2026-05-10 23:12:26 +02:00
name: payments
table: payments
grain:
- payment_id
columns:
- name: payment_id
type: number
- name: amount
type: number
- name: invoice_id
type: number
- name: method
type: string
- name: payment_date
type: time
role: time
joins:
- to: invoices
'on': invoice_id = invoices.invoice_id
relationship: many_to_one