Update connector.py

This commit is contained in:
Corentin.F 2019-01-21 15:50:24 +01:00 committed by GitHub
parent 11948283e1
commit 9184a5b273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -857,7 +857,7 @@ class PostGisDBConnector(DBConnector):
sql = u"ALTER TABLE %s DROP %s" % (self.quoteId(table), self.quoteId(column))
self._execute_and_commit(sql)
def updateTableColumn(self, table, column, new_name=None, data_type=None, not_null=None, default=None, comment=None):
def updateTableColumn(self, table, column, new_name=None, data_type=None, not_null=None, default=None, comment=None, other=None):
if new_name is None and data_type is None and not_null is None and default is None and comment is None:
return