
fix: 🚑 user_contact is not containing value feat: ✨ html mail system refactor: ♻️ axum 0.8 routing compatibility fix: 🚑 custom claim isn't working in jwt feat: ✨ token header extended compatibility
7 lines
276 B
SQL
7 lines
276 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),
|
|
contact_value VARCHAR(256) NOT NULL,
|
|
PRIMARY KEY (user_id, contact_id)
|
|
);
|