From d86b6b86276419432caf9858412806d3d5cf37d5 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Tue, 25 Jun 2024 13:37:53 +0200 Subject: [PATCH] add tests --- models/intermediate/xero/schema.yaml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 models/intermediate/xero/schema.yaml diff --git a/models/intermediate/xero/schema.yaml b/models/intermediate/xero/schema.yaml new file mode 100644 index 0000000..aa1b3e3 --- /dev/null +++ b/models/intermediate/xero/schema.yaml @@ -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 + + \ No newline at end of file