mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where difference DDL is showing the wrong SQL when changing the policy owner. Fixes #5647
This commit is contained in:
@@ -27,7 +27,7 @@ class SchemaDiffTableCompare(SchemaDiffObjectCompare):
|
||||
constraint_keys_to_ignore = ['relname', 'nspname', 'parent_tbl',
|
||||
'attrelid', 'adrelid', 'fknsp', 'confrelid',
|
||||
'references', 'refnsp', 'remote_schema',
|
||||
'conkey', 'indkey']
|
||||
'conkey', 'indkey', 'references_table_name']
|
||||
|
||||
trigger_keys_to_ignore = ['xmin', 'tgrelid', 'tgfoid', 'tfunction',
|
||||
'tgqual', 'tgconstraint']
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if data.autoindex %}
|
||||
{% if data.autoindex and data.coveringindex%}
|
||||
CREATE INDEX {{ conn|qtIdent(data.coveringindex) }}
|
||||
ON {{ conn|qtIdent(data.schema, data.table) }}({% for columnobj in data.columns %}{% if loop.index != 1 %}
|
||||
, {% endif %}{{ conn|qtIdent(columnobj.local_column)}}{% endfor %});
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user