Dump only DDL of the database (without data)
- Dominant language
- Java
- Stars
- 51.8k
- Forks
- 4.4k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 188
Description
**Is your feature request related to a problem? Please describe.**
I'm always frustrated when I need to get the script of the database without data (only create-statements) so that I can give that script to another person without data.
**Describe the solution you'd like**
I suggest adding checkbox in menu: Tools -> Backup.
If it is set to true, the dump will be done with data, otherwise - without data (or vice versa).
pg_dump allows it easily.
**Describe alternatives you've considered**
I know there is an option: select all schemas and make use of "DDL" menu item.
But it behaves differently when scripting DDL.
For example, it doesn't script my own types ("CREATE TYPE") and maybe something else (looks like a bug, though).
I also want to get the sql-file rather than copy-paste text to clipboard and save it manually to the file.
**Additional context**
Add checkbox here:

Contributor guide
Assessment
This issue has not been assessed yet.