feat: ✨ admin routing part 1
This commit is contained in:
parent
f4765630ee
commit
a462d3a82d
11 changed files with 520 additions and 506 deletions
|
@ -3,5 +3,6 @@ CREATE TABLE IF NOT EXISTS "user_contact"(
|
|||
user_id BIGSERIAL NOT NULL REFERENCES "user"(user_id),
|
||||
contact_id BIGSERIAL NOT NULL REFERENCES "contact"(id),
|
||||
contact_value VARCHAR(256) NOT NULL,
|
||||
PRIMARY KEY (user_id, contact_id)
|
||||
PRIMARY KEY (user_id, contact_id),
|
||||
UNIQUE (contact_id, contact_value)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue