app-cloudep-tweeting-service/generate/database/neo4j/relaction.cypher

5 lines
172 B
Plaintext

// 企業版才能用,社群版只能用預設的
CREATE DATABASE relation;
// 創建 User 節點 UID 是唯一鍵
CREATE CONSTRAINT FOR (u:User) REQUIRE u.UID IS UNIQUE