mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-16 03:32:20 -06:00
Fixed issue where cycle syntax was not added in SQL when creating new sequence from UI. #6639
This commit is contained in:
parent
b01a93544f
commit
00011b387a
@ -1,4 +1,4 @@
|
||||
CREATE {% if data.relpersistence %}UNLOGGED {% endif %}SEQUENCE{% if add_not_exists_clause %} IF NOT EXISTS{% endif %} {{ conn|qtIdent(data.schema, data.name) }}{% if data.increment is defined and data.cycled %}
|
||||
CREATE {% if data.relpersistence %}UNLOGGED {% endif %}SEQUENCE{% if add_not_exists_clause %} IF NOT EXISTS{% endif %} {{ conn|qtIdent(data.schema, data.name) }}{% if data.cycled %}
|
||||
|
||||
CYCLE{% endif %}{% if data.increment is defined %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
CREATE SEQUENCE{% if add_not_exists_clause %} IF NOT EXISTS{% endif %} {{ conn|qtIdent(data.schema, data.name) }}{% if data.increment is defined and data.cycled %}
|
||||
CREATE SEQUENCE{% if add_not_exists_clause %} IF NOT EXISTS{% endif %} {{ conn|qtIdent(data.schema, data.name) }}{% if data.cycled %}
|
||||
|
||||
CYCLE{% endif %}{% if data.increment is defined %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user