I want my DDL script to have some form of idempotency support. For example, when I generate an export to postgresql, I get the sql script but the command don’t have the “IF NOT EXISTS” clause. Is there any feature / option in dbdiagram to specify these options?
Hi @rvnath,
Currently, we don’t have that option. But we’ve added it to our backlog and will consider it in the future.
There is a more straightforward way that you can help us contribute to the DBML → PostgreSQL converter. It will be faster since we can review your PR and finish this option based on your work.
Thank you.