From 22efe74ec83f0d3650594b1e316e907ee2ea0d83 Mon Sep 17 00:00:00 2001 From: youngcw Date: Sat, 11 Nov 2023 13:08:14 -0700 Subject: [PATCH] add budget tables to the aql schema (#1895) * add budget tables to the schema * note * note fix * lint --- .../loot-core/src/server/aql/schema/index.ts | 16 ++++++++++++++++ upcoming-release-notes/1895.md | 6 ++++++ 2 files changed, 22 insertions(+) create mode 100644 upcoming-release-notes/1895.md diff --git a/packages/loot-core/src/server/aql/schema/index.ts b/packages/loot-core/src/server/aql/schema/index.ts index 6c56ec68946..857cbfa16ac 100644 --- a/packages/loot-core/src/server/aql/schema/index.ts +++ b/packages/loot-core/src/server/aql/schema/index.ts @@ -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 = { diff --git a/upcoming-release-notes/1895.md b/upcoming-release-notes/1895.md new file mode 100644 index 00000000000..71bab70cb3f --- /dev/null +++ b/upcoming-release-notes/1895.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [youngcw] +--- + +Add budget tables to aql schema