chore(backend): add initial Prisma migration
Generated with a real local PostgreSQL 16 and applied cleanly (prisma migrate dev --name init). Covers the full current schema: Kc, Gemeinde, Role/MembershipStatus enums, User (authentikSub nullable, passwordHash, kcId, isLeitungsteam), Membership.status, GuestAccount, TeamerInvite, Wahl/Workshop/Teilnehmer/ForceZuteilung/Zuteilung, File, Chat*, Sync* . Backend boots against the real DB and the smoke-tested routes (/, guest login, onboarding invite lookup, protected /api/kc) behave correctly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# Please do not edit this file manually
|
||||
# It should be added in your version-control system (i.e. Git)
|
||||
provider = "postgresql"
|
||||
Reference in New Issue
Block a user