Skip to content

Commit

Permalink
Add info how to export initial schema from an existing database
Browse files Browse the repository at this point in the history
  • Loading branch information
Jure Cerjak authored and bikeshedder committed Jan 8, 2024
1 parent 5437ce2 commit a851fca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,12 @@ Yes. This feature has been added in 0.2. You can pass a `from` and `to`
argument to the `tusker diff` command. Check the output of `tusker diff --help` for
more details.

### How can I export initial schema from an existing database?

For exporting the initial schema you can use the native Postgres
[pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html) command with
the `--schema-only` option.

### Tusker printed an error and left the temporary databases behind. How can I remove them?

Run `tusker clean`. This will remove all databases which were created
Expand Down

0 comments on commit a851fca

Please sign in to comment.