From StackOverflow: [quote] CREATE UNIQUE is set to be completely replaced by MERGE. So your syntax would be :
MATCH (r:Person
) MATCH (s:Person
) MERGE (r)[:FRIEND_OF]>(s) [/quote]