docs: update migrations docs (#9828)

This commit is contained in:
Alexander Kraev 2023-04-06 09:59:35 +03:00 committed by GitHub
parent bebba05388
commit 97280fc825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ Let's say you have a `Post` entity with a `title` column, and you have changed t
You can run following command:
```
typeorm migration:generate -n PostRefactoring
typeorm migration:generate PostRefactoring -d path-to-datasource-config
```
And it will generate a new migration called `{TIMESTAMP}-PostRefactoring.ts` with the following content: