Skip to content

Commit

Permalink
Fix docker run command in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed May 21, 2019
1 parent a9fcf38 commit 2c29d2a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/migrating/README.md
Expand Up @@ -19,12 +19,13 @@ $ schemahero generate \
or

```
$ docker run schemahero/schemahero -v `pwd`/imported:/out \
$ docker run -v `pwd`/imported:/out \
schemahero/schemahero:alpha \
generate \
--driver postgres \
--uri postgres://user:pass@host:5432/dbname \
--dbname destired-schemahero-databasename \
--output-dir ./imported
--uri postgres://user:password@host:5432/db?sslmode=disable \
--dbname desired-schemahero-name \
--output-dir /out
```

This will create .yaml files (1 per table) that you can deploy to a cluster to recreate the schema

0 comments on commit 2c29d2a

Please sign in to comment.