2024-12-15 03:58:47 +03:00
|
|
|
-- Add up migration script here
|
|
|
|
CREATE TABLE IF NOT EXISTS "user_contact"(
|
2025-01-19 23:47:09 +03:00
|
|
|
user_id BIGSERIAL NOT NULL REFERENCES "user"(user_id),
|
2024-12-15 03:58:47 +03:00
|
|
|
contact_id BIGSERIAL NOT NULL REFERENCES "contact"(id),
|
|
|
|
PRIMARY KEY (user_id, contact_id)
|
2025-01-19 23:47:09 +03:00
|
|
|
);
|