Last active
June 26, 2020 18:50
-
-
Save maskaravivek/010705be89a339b10f6e5931ed93099c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE CONSTRAINT ON (c:Address) ASSERT c.address IS UNIQUE; | |
CREATE CONSTRAINT ON (c:PhoneNumber) ASSERT c.phone_number IS UNIQUE; | |
CREATE CONSTRAINT ON (c:Email) ASSERT c.email IS UNIQUE; | |
CREATE CONSTRAINT ON (c:User) ASSERT c.id IS UNIQUE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment