Skip to content

Commit

Permalink
indent content
Browse files Browse the repository at this point in the history
  • Loading branch information
ruheni committed Oct 31, 2023
1 parent c38e6af commit bb0c219
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions content/300-guides/050-database/900-turso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ To update your database schema:

1. Generate a migration file using `prisma migrate dev` against a local SQLite database:

```sh
npx prisma migrate dev --name init # Migration name
```
```sh
npx prisma migrate dev --name init # Migration name
```

2. Apply the migration using Turso's CLI:

```sh
turso db shell turso-prisma-db < ./prisma/migrations/20230922132717_init/migration.sql # Replace `20230922132717_init` with the existing migration
```
```sh
turso db shell turso-prisma-db < ./prisma/migrations/20230922132717_init/migration.sql # Replace `20230922132717_init` with the existing migration
```

This workflow does not support tracking the history of applied migrations.

Expand Down

0 comments on commit bb0c219

Please sign in to comment.