mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix RE-SQL for rules which got the table name wrong in the header and DROP statement. Fixes #2422
This commit is contained in:
parent
eb18320950
commit
04ce72a6ae
@ -1,8 +1,8 @@
|
||||
{# ============Create Rule============= #}
|
||||
{% if display_comments %}
|
||||
-- Rule: {{ conn|qtIdent(data.name) }} ON {{ conn|qtIdent(data.schema, data.name) }}
|
||||
-- Rule: {{ conn|qtIdent(data.name) }} ON {{ conn|qtIdent(data.schema, data.view) }}
|
||||
|
||||
-- DROP Rule {{ conn|qtIdent(data.name) }} ON {{ conn|qtIdent(data.schema, data.name) }};
|
||||
-- DROP Rule {{ conn|qtIdent(data.name) }} ON {{ conn|qtIdent(data.schema, data.view) }};
|
||||
|
||||
{% endif %}
|
||||
{% if data.name and data.schema and data.view %}
|
||||
|
Loading…
Reference in New Issue
Block a user