Skip to content

Commit 14c6c71

Browse files
author
Gery Hirschfeld
authored
Merge pull request #24 from eugenio165/docs/make-clearer
docs: Make documentation clearer
2 parents 9b614d4 + 7324279 commit 14c6c71

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ To configure the path to your seeds and factories change the TypeORM config file
6060
```JavaScript
6161
module.exports = {
6262
...
63-
seeds: ['src/database/seeds/**/*.seed.ts'],
64-
factories: ['src/database/factories/**/*.factory.ts'],
63+
seeds: ['src/seeds/**/*.seed.ts'],
64+
factories: ['src/factories/**/*.factory.ts'],
6565
}
6666
```
6767

@@ -212,6 +212,8 @@ export default class CreatePets implements Seeder {
212212

213213
Now you are able to execute your seeds with this command `npm run seed`.
214214

215+
**Note:** Be sure to specify which config file you are using (`ormconfig.json` or `ormconfig.js`) with the `--config` cli option.
216+
215217
### CLI Options
216218

217219
| Option | Default | Description |

0 commit comments

Comments
 (0)