mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
parent
461d2edac3
commit
7f6b3cf877
@ -746,7 +746,7 @@ class PostGisDBConnector(DBConnector):
|
||||
sql = u"TRUNCATE %s" % self.quoteId(table)
|
||||
self._execute_and_commit(sql)
|
||||
|
||||
def renamesTable(self, table, new_table):
|
||||
def renameTable(self, table, new_table):
|
||||
"""Renames a table in database """
|
||||
schema, tablename = self.getSchemaTableName(table)
|
||||
if new_table == tablename:
|
||||
|
Loading…
x
Reference in New Issue
Block a user