mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-24 13:47:39 -05:00
Fixed issue where cycle syntax was not added in SQL when creating new sequence from UI. #6639
This commit is contained in:
1 parent
b01a93544f
commit
00011b387a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
-1
@@ -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 %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user