mirror of
https://gitlab.com/cief-data/dbt_cloud.git
synced 2026-08-19 04:14:00 +00:00
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
version: 2
|
|
|
|
models:
|
|
- name: dim__dates
|
|
description: date dimension
|
|
columns:
|
|
- name: date_day
|
|
description: Primary key for 'dim_dates'
|
|
tests:
|
|
- unique
|
|
- not_null
|
|
|
|
- name: dim_exchange__companies
|
|
description: exchange companies
|
|
columns:
|
|
- name: company_id
|
|
description: Primary key for 'dim_exchange__companies'
|
|
tests:
|
|
- unique
|
|
- not_null
|
|
|
|
- name: fct_exchange__bookings
|
|
description: exchange bookings
|
|
columns:
|
|
- name: booking_id
|
|
description: Primary key for 'fct_exchange__bookings'
|
|
tests:
|
|
- unique
|
|
- not_null
|
|
|
|
- name: fct_exchange__transaction_costs
|
|
description: exchange transaction_cost
|
|
columns:
|
|
- name: transaction_cost_id
|
|
description: Primary key for 'fct_exchange__transaction_costs'
|
|
tests:
|
|
- unique
|
|
- not_null
|
|
|
|
- name: fct_exchange__transaction_orders
|
|
description: exchange transaction_orders
|
|
columns:
|
|
- name: transaction_order_id
|
|
description: Primary key for 'fct_exchange__transaction_orders'
|
|
tests:
|
|
- unique
|
|
- not_null
|