tsk-60: Save extra fields to DB for Contact (#66)
Closes #60 Reviewed-on: phoenix/textsender-api#66 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -9,7 +9,10 @@ DROP TABLE IF EXISTS message_event_responses CASCADE;
|
||||
CREATE TABLE IF NOT EXISTS contacts (
|
||||
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
|
||||
phone_number TEXT NOT NULL,
|
||||
user_id UUID NOT NULL
|
||||
user_id UUID NOT NULL,
|
||||
first_name TEXT NULL,
|
||||
last_name TEXT NULL,
|
||||
nickname TEXT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS messages (
|
||||
|
||||
Reference in New Issue
Block a user