Skip to content

Commit

Permalink
Merge pull request #24 from eugenio165/docs/make-clearer
Browse files Browse the repository at this point in the history
docs: Make documentation clearer
  • Loading branch information
Gery Hirschfeld authored Apr 2, 2020
2 parents 9b614d4 + 7324279 commit 14c6c71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ To configure the path to your seeds and factories change the TypeORM config file
```JavaScript
module.exports = {
...
seeds: ['src/database/seeds/**/*.seed.ts'],
factories: ['src/database/factories/**/*.factory.ts'],
seeds: ['src/seeds/**/*.seed.ts'],
factories: ['src/factories/**/*.factory.ts'],
}
```

Expand Down Expand Up @@ -212,6 +212,8 @@ export default class CreatePets implements Seeder {

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

**Note:** Be sure to specify which config file you are using (`ormconfig.json` or `ormconfig.js`) with the `--config` cli option.

### CLI Options

| Option | Default | Description |
Expand Down

0 comments on commit 14c6c71

Please sign in to comment.