Skip to content

Commit 69a1829

Browse files
committed
docs: update migration command in getting started tutorial for clarity
1 parent 3b9c25f commit 69a1829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/documentation/docs/tutorial/001-gettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ This will create a migration file in `migrations` and apply it to the database.
8989
In future, when you need to add new resources, you need to modify `schema.prisma` (add models, change fields, etc.). After doing any modification you need to create a new migration using next command:
9090

9191
```bash
92-
npm run makemigration -- --name <name_of_changes>
92+
npm run makemigration -- --name init && npm run migrate:local
9393
```
9494

9595
Other developers need to pull migration and run `npm run migrateLocal` to apply any unapplied migrations.

0 commit comments

Comments
 (0)