fixup! fixup! fixup! [IMP] use sqlparse also to determine which ddl to update

This commit is contained in:
Holger Brunn
2022-07-06 11:53:55 +02:00
parent 5046e6d000
commit fbe5bc5cb4
2 changed files with 7 additions and 0 deletions

View File

@@ -125,6 +125,7 @@ class TestPglogical(TransactionCase):
'drop table',
"alter table 'test'",
'ALTER TABLE "testtable" ADD COLUMN "test_field" double precision',
'CREATE TEMP TABLE "temptable" (col1 char)',
):
qualified_query = ''.join(
''.join(str(token) for token in schema_qualify(parsed_query))