(self, curs)
return sql
Generate removal sql.
Generate removal sql.
Generate removal sql .
def get_drop_sql(self, curs):
        """Generate removal sql."""
        fmt = "ALTER TABLE ONLY %s\n  DROP CONSTRAINT %s;"
        sql = fmt % (quote_fqident(self.table_name), quote_ident(self.name))
        return sql
def get_drop_sql ( self , curs ) : fmt = "ALTER TABLE ONLY %s\n  DROP CONSTRAINT %s;" sql = fmt % ( quote_fqident ( self . table_name ) , quote_ident ( self . name ) ) return sql