Skip to content

Commit

Permalink
fix: tinkerpop unit schema
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxxoo committed Dec 22, 2022
1 parent 02963d5 commit 805ae2a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,8 @@ private void initBasicPropertyKey() {
schema.propertyKey("f").asFloat().ifNotExist().create();
schema.propertyKey("i").asInt().ifNotExist().create();
schema.propertyKey("l").asLong().ifNotExist().create();
schema.propertyKey("p").asText().ifNotExist().create();
schema.propertyKey("k").asText().ifNotExist().create();
schema.propertyKey("here").ifNotExist().create();
schema.propertyKey("to-change").ifNotExist().create();
schema.propertyKey("to-remove").ifNotExist().create();
Expand Down Expand Up @@ -754,6 +756,8 @@ private void initBasicVertexLabelV(IdStrategy idStrategy,
.ifNotExist().create();
schema.indexLabel("defaultVLByName").onV(defaultVL).by("name")
.ifNotExist().create();
schema.indexLabel("vertexBySome").onV(defaultVL).by("some")
.ifNotExist().create();
}

@Watched
Expand Down

0 comments on commit 805ae2a

Please sign in to comment.