Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

add contact #16

Open
Super-Baleine opened this issue May 8, 2018 · 0 comments
Open

add contact #16

Super-Baleine opened this issue May 8, 2018 · 0 comments
Assignees

Comments

@Super-Baleine
Copy link
Member

a user can add several contact:

CREATE TABLE contacts (
	user_id uuid,
	contact_id uuid,
	PRIMARY KEY ((user_id, contact_id), (user_id)
) WITH CLUSTERING ORDER BY (user_id DESC)

In a row we add his uuid and the contact uuid as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants