Description:
I encountered an issue where SQLcl unexpectedly includes the schema name in the generated drop script, even though emitSchema is set to false in project.config.json.
Steps to Reproduce:
- Dropped a package in the database.
- Deleted the corresponding package file from the
src folder.
- Staged the changes using
project stage.
- SQLcl generated a drop script that includes the schema name.
Expected Behavior:
Since emitSchema is set to false, the drop script should not contain the schema name, consistent with how SQLcl has handled all other objects in my project.
Actual Behavior:
The generated drop script contains the schema name, which is inconsistent with previous behavior.
Question:
Could you take a look at this? Is this an expected behavior, or is it a bug?
Thank you
Patrizia