Skip to content

Commit 631cb3f

Browse files
Update modules/ROOT/pages/schema/graph-types/alter-element-types.adoc
Co-authored-by: Therese Magnusson <[email protected]>
1 parent 7c975eb commit 631cb3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/ROOT/pages/schema/graph-types/alter-element-types.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ Cheat sheet example (necessary to exclude <1> tag in the cheat sheet):
5050
// tag::schema_graph_types_alter[]
5151
[source, cypher]
5252
----
53-
ALTER CURRENT GRAPH TYPE ADD {
54-
ALTER {
53+
ALTER CURRENT GRAPH TYPE ALTER {
5554
(:Robot => :Resident&Machine {application :: STRING NOT NULL, id :: INTEGER NOT NULL}),
5655
(:Resident)-[:LIVES_IN => {since :: ANY NOT NULL}]->(:City)
5756
}

0 commit comments

Comments
 (0)