Remove dedupeHash and duplicate skipping from CSV upload

Drop dedupeHash field and unique constraint from Transaction model.
Remove skipDuplicates from createMany. All rows in every upload are
now inserted unconditionally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 21:02:54 -04:00
parent decfb19ec6
commit 038539c191
3 changed files with 0 additions and 19 deletions

View File

@@ -126,9 +126,7 @@ export async function POST(req: Request) {
type: r.type,
category: r.category ?? null,
budgetId: r.budgetId,
dedupeHash: r.dedupeHash,
})),
skipDuplicates: true,
})
const skippedCount = normalized.length - importedCount