diff --git a/macros/get_account_columns.sql b/macros/get_account_columns.sql index 9026a8b..f3f62f4 100644 --- a/macros/get_account_columns.sql +++ b/macros/get_account_columns.sql @@ -1,6 +1,7 @@ {% macro get_account_columns() %} {% set columns = [ + {"name": "_fivetran_deleted", "datatype": "boolean"}, {"name": "_fivetran_synced", "datatype": dbt.type_timestamp()}, {"name": "account_number", "datatype": dbt.type_string()}, {"name": "account_sub_type", "datatype": dbt.type_string()}, diff --git a/models/stg_quickbooks__account.sql b/models/stg_quickbooks__account.sql index aa3d421..9ea053e 100644 --- a/models/stg_quickbooks__account.sql +++ b/models/stg_quickbooks__account.sql @@ -50,8 +50,7 @@ final as ( fully_qualified_name, updated_at, source_relation, - _fivetran_deleted - + _fivetran_deleted from account )