Prisma
Database access and migrations in Aetheris.
Generate client
npx prisma generateRun migrations
npx prisma migrate deployIn Docker this runs automatically on container start.
Create a migration
npx prisma migrate dev --name add_featureThis creates a new SQL file in prisma/migrations/ and applies it to your local dev database.
Schema location
The Prisma schema lives at prisma/schema.prisma in the aetheris-app repo.
Reset database (dev only)
npx prisma migrate reset⚠️ This drops and recreates the database. Do not use in production.
Studio (visual browser)
npx prisma studioOpens a web UI at localhost:5555 to browse and edit data.