Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tot-ra authored Dec 24, 2020
1 parent 5abebe8 commit 99ec0e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ npm install knex -g
knex migrate:make my_migration_name_here --migrations-directory migrations
```

If not using the default configuration of executing DB migrations on registry startup, you can run the following `npm`
If not using the default configuration of executing DB migrations on service startup, you can run the following `npm`
command prior to starting the registry:

```bash
npm run migrate-db
```

The command can be prefixed with any environment variable necessary to configure your DB connection, such as:
The command can be prefixed with any environment variable necessary to configure DB connection (in case you ALTER DB with another user), such as:

```bash
DB_HOST=my-db-host DB_PORT=6000 npm run migrate-db
Expand Down

0 comments on commit 99ec0e6

Please sign in to comment.