i want to create an unique constraint involving multiple properties but i keep getting the same error executing:
CREATE CONSTRAINT UQ_TimeGender ON (tg:TimeGender) ASSERT (tg.date, tg.time, tg.sex) is NODE KEY;
Neo.DatabaseError.Schema.ConstraintCreationFailed
Unable to create CONSTRAINT ON ( timegender:TimeGender ) ASSERT exists(timegender.date, timegender.time, timegender.sex):Node(7) with label TimeGender
must have the properties (date, time, sex)
When i check TimeGender node it has the properties date, time and sex.