fix: _extract_global_table_names needs self parameter
Check Cross-Plugin Imports / check (push) Has been cancelled

This commit is contained in:
Agent Zero
2026-08-04 22:48:37 +02:00
parent 16648f543a
commit b115d8211e
+1 -1
View File
@@ -475,7 +475,7 @@ class MigrationRunner:
pattern = r'CREATE\s+TABLE\s+(?:IF\s+NOT\s+EXISTS\s+)?["\']?(\w+)["\']?' pattern = r'CREATE\s+TABLE\s+(?:IF\s+NOT\s+EXISTS\s+)?["\']?(\w+)["\']?'
return re.findall(pattern, sql, re.IGNORECASE) 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. """Extract table names marked as global in SQL comments.
Looks for `-- GLOBAL TABLE: table_name` comments in the SQL. Looks for `-- GLOBAL TABLE: table_name` comments in the SQL.