diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/docs/07-Development/03-database.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/docs/07-Development/03-database.md b/docs/docs/07-Development/03-database.md index 5168e00d..a5dee2a9 100644 --- a/docs/docs/07-Development/03-database.md +++ b/docs/docs/07-Development/03-database.md @@ -2,10 +2,9 @@ - The database schema lives in `packages/db/schema.ts`. - Changing the schema, requires a migration. -- You can generate the migration by running `pnpm drizzle-kit generate` in the `packages/db` dir. +- You can generate the migration by running `pnpm run db:generate` in 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 db:studio` in the root of the repo. +You can start the drizzle studio by running `pnpm run db:studio` in the root of the repo. |
