Fixed an issue where table properties were not updating from properties dialog. #7210

This commit is contained in:
Pravesh Sharma
2024-03-27 11:41:01 +05:30
committed by GitHub
parent 089f890f2e
commit b742487dc3

View File

@@ -2054,7 +2054,8 @@ class BaseTableView(PGChildNodeView, BasePartitionTable, VacuumSettings):
_, lock_table_result = self.conn.execute_dict(sql)
for row in lock_table_result['rows']:
if row['relation'].strip('\"') == data['name']:
if row['relation'] and \
row['relation'].strip('\"') == data['name']:
sql = render_template(
"/".join([self.table_template_path,