Closes #5 Reviewed-on: phoenix/textsender-api#7 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
11 lines
223 B
SQL
11 lines
223 B
SQL
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
|
|
|
DROP TABLE IF EXISTS contacts CASCADE;
|
|
|
|
CREATE TABLE contacts (
|
|
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
phone_number TEXT NOT NULL,
|
|
user_id UUID NOT NULL
|
|
);
|
|
|