mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: update migrations docs (#9828)
This commit is contained in:
parent
bebba05388
commit
97280fc825
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user