Skip to content

Commit b62ef0b

Browse files
author
ci bot
committed
Merge branch 'aarthy/upgrade' into 'enterprise'
fix: upgrade script missing schema See merge request dkinternal/testgen/dataops-testgen!418
2 parents 47e4fe3 + 075e557 commit b62ef0b

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
ALTER TABLE stg_test_definition_updates ADD COLUMN IF NOT EXISTS threshold_value VARCHAR(1000);
1+
SET SEARCH_PATH TO {SCHEMA_NAME};
2+
3+
ALTER TABLE stg_test_definition_updates
4+
ADD COLUMN IF NOT EXISTS threshold_value VARCHAR(1000);

testgen/ui/views/monitors_dashboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def render(
8989
monitored_tables_page = []
9090
all_monitored_tables_count = 0
9191
monitor_changes_summary = None
92+
auto_open_table = None
9293

9394
current_page = int(current_page)
9495
items_per_page = int(items_per_page)
@@ -126,7 +127,6 @@ def render(
126127
monitor_changes_summary = summarize_monitor_changes(table_group_id)
127128

128129
monitored_table_names = {table["table_name"] for table in monitored_tables_page}
129-
auto_open_table = None
130130
if table_name:
131131
if st.session_state.get(DIALOG_AUTO_OPENED_KEY) != table_name:
132132
if table_name in monitored_table_names:

0 commit comments

Comments
 (0)