mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-25 08:48:08 +02:00
Initial open-source release
This commit is contained in:
commit
1a42152e6f
1199 changed files with 257054 additions and 0 deletions
21
python/klo-sl/sources/ecommerce/order_items.yaml
Normal file
21
python/klo-sl/sources/ecommerce/order_items.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: order_items
|
||||
table: public.order_items
|
||||
grain: [id]
|
||||
columns:
|
||||
- name: id
|
||||
type: number
|
||||
- name: order_id
|
||||
type: number
|
||||
- name: product_id
|
||||
type: number
|
||||
- name: quantity
|
||||
type: number
|
||||
- name: price
|
||||
type: number
|
||||
joins:
|
||||
- to: orders
|
||||
"on": order_id = orders.id
|
||||
relationship: many_to_one
|
||||
- to: products
|
||||
"on": product_id = products.id
|
||||
relationship: many_to_one
|
||||
Loading…
Add table
Add a link
Reference in a new issue