Add savings chat analysis feature

This commit is contained in:
Matthias
2026-06-15 18:26:25 +02:00
parent d65e7681ac
commit 4869402d45
26 changed files with 2789 additions and 163 deletions

View File

@@ -64,8 +64,14 @@ export default defineSchema({
.index("by_user_effmonth", ["userId", "effectiveMonth"])
.index("by_user_category", ["userId", "categoryId"])
.index("by_user_account", ["userId", "accountId"])
.index("by_user_account_booking", ["userId", "accountId", "bookingDate"])
.index("by_user_account_effmonth", ["userId", "accountId", "effectiveMonth"])
.index("by_user_dedup", ["userId", "dedupHash"])
.index("by_user_extref", ["userId", "externalRef"]),
.index("by_user_extref", ["userId", "externalRef"])
.searchIndex("search_description", {
searchField: "description",
filterFields: ["userId"],
}),
loans: defineTable({
userId: v.id("users"),