v1.6.5: fix attendance unique constraint, schema sync, seed script

- Change attendance idx_attendance_user_date from unique to index (allow multiple shifts per day)
- Reset migrations to single baseline init migration
- Add seed script with admin user (admin/admin)
- Update CLAUDE.md with migration workflow documentation
- Various frontend fixes (queries, pages, hooks)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-05-17 16:21:34 +02:00
parent 1db5060c42
commit cd6d3daf43
75 changed files with 1748 additions and 1169 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "app-ts",
"version": "1.6.4",
"version": "1.6.5",
"description": "",
"main": "dist/server.js",
"scripts": {
@@ -18,7 +18,11 @@
"db:studio": "prisma studio",
"test": "vitest run",
"test:watch": "vitest",
"bones": "boneyard-js build http://localhost:3000"
"bones": "boneyard-js build http://localhost:3000",
"seed": "tsx prisma/seed.ts"
},
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"keywords": [],
"author": "",