Skip to content

Commit

Permalink
Merge pull request #32862 from elpaso/bugfix-gh32808-db-manager-pg-re…
Browse files Browse the repository at this point in the history
…nametable

Fix DB manager PG rename table
  • Loading branch information
elpaso committed Nov 14, 2019
2 parents bd01f66 + 7f6b3cf commit 852d6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/postgis/connector.py
Expand Up @@ -746,7 +746,7 @@ def emptyTable(self, table):
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:
Expand Down

0 comments on commit 852d6cd

Please sign in to comment.