add tests
This commit is contained in:
parent
33d072015c
commit
d86b6b8627
1 changed files with 35 additions and 0 deletions
35
models/intermediate/xero/schema.yaml
Normal file
35
models/intermediate/xero/schema.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
models:
|
||||||
|
- name: int_xero__invoices
|
||||||
|
columns:
|
||||||
|
- name: id_invoice
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
- unique
|
||||||
|
- name: int_xero__credit_notes
|
||||||
|
columns:
|
||||||
|
- name: id_credit_note
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
- unique
|
||||||
|
- name: int_xero__invoice_line_items
|
||||||
|
columns:
|
||||||
|
- name: id_line_item
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
- unique
|
||||||
|
- name: int_xero__credit_note_line_items
|
||||||
|
columns:
|
||||||
|
- name: id_line_item
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
- unique
|
||||||
|
- name: int_xero__bank_transactions
|
||||||
|
columns:
|
||||||
|
- name: id_bank_transaction
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
- unique
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue