Skip to content

Commit

Permalink
add budget tables to the aql schema (#1895)
Browse files Browse the repository at this point in the history
* add budget tables to the schema

* note

* note fix

* lint
  • Loading branch information
youngcw authored Nov 11, 2023
1 parent 5792b15 commit 22efe74
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/loot-core/src/server/aql/schema/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,22 @@ export const schema = {
conditions: f('json'),
tombstone: f('boolean'),
},
reflect_budgets: {
id: f('id'),
month: f('integer'),
category: f('string'),
amount: f('integer'),
carryover: f('integer'),
goal: f('integer'),
},
zero_budgets: {
id: f('id'),
month: f('integer'),
category: f('string'),
amount: f('integer'),
carryover: f('integer'),
goal: f('integer'),
},
};

export const schemaConfig = {
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/1895.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [youngcw]
---

Add budget tables to aql schema

0 comments on commit 22efe74

Please sign in to comment.