Skip to content

Commit bf58dc3

Browse files
forgotten DROP improvements
1 parent 51142ac commit bf58dc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ROOT/pages/schema/graph-types/drop-graph-type-elements.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ ALTER CURRENT GRAPH TYPE DROP {
116116
[[drop-constraints-on-identifying-and-non-identifying-labels-and-types]]
117117
== Drop constraints on identifying and non-identifying node labels and relationship types
118118

119-
Key and property uniqueness constraints can only be dropped by using the `CONSTRAINT [name]` syntax in the `ALTER CURRENT GRAPH TYPE DROP` command, regardless if they were defined on an identifying or non-identifying label.
119+
Key and property uniqueness constraints can only be dropped by using the `CONSTRAINT name` syntax in the `ALTER CURRENT GRAPH TYPE DROP` command, regardless if they were defined on an identifying or non-identifying label.
120120
Property existence and property type constraints defined on non-identifying node labels and relationship types are also dropped in this way.
121-
The names of constraints are returned by the xref:schema/constraints/list-constraints.adoc[`SHOW CONSTRAINTS`] command.
121+
The names of constraints are returned by the xref:schema/constraints/list-constraints.adoc[`SHOW CONSTRAINTS`] command, or as part of their definitions in xref:schema/graph-types/list-graph-types.adoc[`SHOW CURRENT GRAPH TYPE`].
122122

123123
.Drop explicitly named and generated name key and property uniqueness constraint
124124
[source, cypher]

0 commit comments

Comments
 (0)