diff --git a/src/query/frontend/opencypher/grammar/MemgraphCypher.g4 b/src/query/frontend/opencypher/grammar/MemgraphCypher.g4 index 3e4c7497e..484bb7542 100644 --- a/src/query/frontend/opencypher/grammar/MemgraphCypher.g4 +++ b/src/query/frontend/opencypher/grammar/MemgraphCypher.g4 @@ -401,7 +401,7 @@ propertyType : BOOL propertyKeyTypePair : propertyKeyName propertyType ; -schemaTypeMap : '(' ( propertyKeyTypePair ( ',' propertyKeyTypePair )* )? ')' ; +schemaTypeMap : '(' propertyKeyTypePair ( ',' propertyKeyTypePair )* ')' ; createSchema : CREATE SCHEMA ON ':' labelName schemaTypeMap ;