Skip to content

Commit

Permalink
docs: update migrations docs (#9828)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-kraev-snyk committed Apr 6, 2023
1 parent bebba05 commit 97280fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 97280fc

Please sign in to comment.