You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adminforth/documentation/docs/tutorial/001-gettingStarted.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ This will create a migration file in `migrations` and apply it to the database.
89
89
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:
90
90
91
91
```bash
92
-
npm run makemigration -- --name init && npm run migrate:local
92
+
npm run makemigration -- --name init ; npm run migrate:local
93
93
```
94
94
95
95
Other developers need to pull migration and run `npm run migrateLocal` to apply any unapplied migrations.
@@ -173,7 +173,7 @@ model apartments {
173
173
Run the following command to create a new migration:
174
174
175
175
```bash
176
-
npm run makemigration -- --name add-apartments && npm run migrate:local
176
+
npm run makemigration -- --name add-apartments ; npm run migrate:local
177
177
```
178
178
179
179
### Step3. Create the `apartments` resource
@@ -314,7 +314,7 @@ Open `index.ts` in your project root and import the new resource:
0 commit comments