Commit Graph

2 Commits

Author SHA1 Message Date
ad2e157c89 Add data migration export/import endpoints
All checks were successful
Backend Build and Test / build (push) Successful in 42s
Add GET /api/export to the Go backend that dumps all users, allowances,
history, and tasks (including completed) as a single JSON snapshot.

Add POST /api/import to the Spring backend that accepts the same JSON,
wipes existing data, inserts all records with original IDs preserved via
native SQL, and resets PostgreSQL sequences to avoid future collisions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 16:17:37 +01:00
0ba4ef11db Add spring backend 2026-03-01 13:22:26 +01:00