0
W trakcie analizy

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

s rapport 1 rok temu Ostatnio zmodyfikowane przez Jarosław Błąd (CEO) 1 rok temu 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.

W trakcie analizy

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