Last active
January 12, 2018 01:53
-
-
Save miguelmota/c279147c2ef4e4a7e1b7ed4e007ec45e to your computer and use it in GitHub Desktop.
PostgreSQL dump schema only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_dump --no-privileges --no-owner -s mydb > schema.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment