Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #6 from fishtown-analytics/feature/use-dbt-seed
Browse files Browse the repository at this point in the history
migrate from union models to dbt seed
  • Loading branch information
jthandy authored Apr 25, 2019
2 parents a3a695f + 7529eca commit 18f045a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
6 changes: 6 additions & 0 deletions data/quickbooks_classifications.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
classification,statement,account_type
Asset,bs,debit
Liability,bs,credit
Equity,bs,credit
Expense,is,debit
Revenue,is,credit
6 changes: 6 additions & 0 deletions data/quickbooks_statement_order.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
account_attribute,statement,order
Income,is1,1
Other Income,is1,2
Cost of Goods Sold,is1,3
Expense,is1,4
Other Expense,is1,5
1 change: 1 addition & 0 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ target-path: "target"
clean-targets: ["target"]
test-paths: ["test"]
analysis-paths: ["analysis"]
data-paths: ["data"]

models:
quickbooks:
Expand Down
11 changes: 0 additions & 11 deletions models/mapping/quickbooks_classifications.sql

This file was deleted.

5 changes: 0 additions & 5 deletions models/mapping/quickbooks_statement_order.sql

This file was deleted.

0 comments on commit 18f045a

Please sign in to comment.