We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b614d4 + 7324279 commit 14c6c71Copy full SHA for 14c6c71
README.md
@@ -60,8 +60,8 @@ To configure the path to your seeds and factories change the TypeORM config file
60
```JavaScript
61
module.exports = {
62
...
63
- seeds: ['src/database/seeds/**/*.seed.ts'],
64
- factories: ['src/database/factories/**/*.factory.ts'],
+ seeds: ['src/seeds/**/*.seed.ts'],
+ factories: ['src/factories/**/*.factory.ts'],
65
}
66
```
67
@@ -212,6 +212,8 @@ export default class CreatePets implements Seeder {
212
213
Now you are able to execute your seeds with this command `npm run seed`.
214
215
+**Note:** Be sure to specify which config file you are using (`ormconfig.json` or `ormconfig.js`) with the `--config` cli option.
216
+
217
### CLI Options
218
219
| Option | Default | Description |
0 commit comments