Bug description
When exporting model to an SQL file, either through the GUI or pgmodeler-cli, opting to "generate a DROP script" will have no effect if not exporting with the split format.
How to reproduce
Attempt to export model to SQL file without using split format with the "generate DROP script" option enabled.
E.g.: pgmodeler-cli -ef -if model.dbm -of out -gd
Expected behavior
Generation of two files, perhaps [{of}_up.sql, {of}_down.sql] or a new {of} directory with up and down files in it.
Info about your desktop
- OS: CachyOS x86_64
- Version: Linux 7.0.12-1-cachyos
- pgModeler version:
- CLI: pgmodeler-cli 2.0.0-beta 20260522.42777ff0b
- GUI: pgModeler version: 2.0.0-beta
Bug description
When exporting model to an SQL file, either through the GUI or pgmodeler-cli, opting to "generate a DROP script" will have no effect if not exporting with the split format.
How to reproduce
Attempt to export model to SQL file without using split format with the "generate DROP script" option enabled.
E.g.:
pgmodeler-cli -ef -if model.dbm -of out -gdExpected behavior
Generation of two files, perhaps
[{of}_up.sql, {of}_down.sql]or a new{of}directory withupanddownfiles in it.Info about your desktop