Open Source|All improvements go through Pull Requests with automated CI checks before review by@Leo-Galli|Join Discord|Contributing guide
Prisma

Prisma

Database access and migrations in Aetheris.

Generate client

npx prisma generate

Run migrations

npx prisma migrate deploy

In Docker this runs automatically on container start.

Create a migration

npx prisma migrate dev --name add_feature

This 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 studio

Opens a web UI at localhost:5555 to browse and edit data.

See also: Database, Backend.