Created
November 2, 2021 17:39
-
-
Save cj2001/46f4e152872427fab4e0cc974fe12fc8 to your computer and use it in GitHub Desktop.
Set CORA DB constraints
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 constraints | |
CREATE CONSTRAINT papers IF NOT EXISTS ON (p:Paper) ASSERT p.id IS UNIQUE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment