Skip to content

Instantly share code, notes, and snippets.

@ihordiachenko
Created July 15, 2017 14:24
Show Gist options
  • Save ihordiachenko/713e8fa82ee7061143f5632eac5f58fb to your computer and use it in GitHub Desktop.
Save ihordiachenko/713e8fa82ee7061143f5632eac5f58fb to your computer and use it in GitHub Desktop.
Get the PostgreSQL table creation script
pg_dump -U $USER $DB -t $TABLE --schema-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment