mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-12 00:06:43 -04:00
Update connector.py
This commit is contained in:
parent
8ed7971626
commit
68c541b969
@ -742,7 +742,7 @@ class PostGisDBConnector(DBConnector):
|
||||
|
||||
self._commit()
|
||||
|
||||
def commentTable(self, schema, tablename, comment=None, db):
|
||||
def commentTable(self, schema, tablename, db, comment=None):
|
||||
if comment == None:
|
||||
db.connector._execute(None, 'COMMENT ON TABLE "{0}"."{1}" IS NULL;'.format(schema, tablename))
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user