mirror of
https://github.com/karakeep-app/karakeep.git
synced 2026-10-06 17:35:19 +02:00
423 B
423 B
Database Migrations
- The database schema lives in
packages/db/schema.ts. - Changing the schema, requires a migration.
- You can generate the migration by running
pnpm run db:generate --name description_of_schema_changein the root dir. - You can then apply the migration by running
pnpm run db:migrate.
Drizzle Studio
You can start the drizzle studio by running pnpm run db:studio in the root of the repo.