From b115d8211e73b1e7aaeb40a94f2ca8db113e102b Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Tue, 4 Aug 2026 22:48:37 +0200 Subject: [PATCH] fix: _extract_global_table_names needs self parameter --- app/plugins/migration_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/migration_runner.py b/app/plugins/migration_runner.py index 400789f..390c878 100644 --- a/app/plugins/migration_runner.py +++ b/app/plugins/migration_runner.py @@ -475,7 +475,7 @@ class MigrationRunner: pattern = r'CREATE\s+TABLE\s+(?:IF\s+NOT\s+EXISTS\s+)?["\']?(\w+)["\']?' return re.findall(pattern, sql, re.IGNORECASE) - def _extract_global_table_names(sql: str) -> set[str]: + def _extract_global_table_names(self, sql: str) -> set[str]: """Extract table names marked as global in SQL comments. Looks for `-- GLOBAL TABLE: table_name` comments in the SQL.