6 lines
235 B
SQL
6 lines
235 B
SQL
-- Add up migration script here
|
|
CREATE TABLE IF NOT EXISTS "user_contact"(
|
|
user_id BIGSERIAL NOT NULL REFERENCES "user"(user_id),
|
|
contact_id BIGSERIAL NOT NULL REFERENCES "contact"(id),
|
|
PRIMARY KEY (user_id, contact_id)
|
|
);
|