Fix production TypeScript builds and add DEPLOY.md so the app can be hosted from this repo. Co-authored-by: Cursor <cursoragent@cursor.com>
Prisma design artifact (legacy)
This directory contains the original full-scale design schema (~45 models) for the Novya platform. It was created as an architecture artifact and is not wired to runtime.
Active backend schema
The independent backend uses its own schema at:
backend/prisma/schema.prisma
That schema is the source of truth for:
- Prisma migrations
- Generated Prisma Client used by
backend/ - MySQL tables owned by the backend
Do not mix
- Do not run migrations from this file against the backend database.
- Do not assume tables defined here exist in the backend MySQL instance.
- Supabase Postgres remains separate and unchanged.
See BACKEND_DATABASE_ARCHITECTURE_AUDIT.md and BACKEND_FOUNDATION_REPORT.md for the migration plan.