0
Wird überprüft

How to always DROP IF EXISTS when Generating Drop SQL for Postgres?

s rapport vor 2 Jahren aktualisiert von Jarosław Błąd (CEO) vor 2 Jahren 1

How can Vertabelo be configured for Postgres to always generate "DROP TABLE IF EXISTS" and "DROP FUNCTION IF EXISTS" when generating a new DROP SQL? The goal is not for migration but regeneration during certain development cycles. There should be a global setting somewhere or in the dialog box. Right now it seems the only solution is to write a brute force shell script to search and replace all occurrences in the drop sql file.

Wird überprüft

Hello, 


There is no such functionality at the moment. We will consider adding it in the future. So I remain this request opened for up votes.


Thank you for reporting this,


Jarosław