Skip to content

Commit ab7ed9c

Browse files
docs: fix typo in migrations doc (typeorm#9499)
Datasoure ==> Datasource
1 parent f9a9612 commit ab7ed9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ module.exports = class PostRefactoringTIMESTAMP {
238238
See, you don't need to write the queries on your own.
239239
The rule of thumb for generating migrations is that you generate them after **each** change you made to your models. To apply multi-line formatting to your generated migration queries, use the `p` (alias for `--pretty`) flag.
240240

241-
## DataSoure option
241+
## DataSource option
242242

243243
If you need to run/revert/generate/show your migrations use the `-d` (alias for `--dataSource`) and pass the path to the file where your DataSource instance is defined as an argument
244244

0 commit comments

Comments
 (0)