First one (#8)
Reviewed-on: phoenix/textsender_api#8
This commit was merged in pull request #8.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
-- Add migration script here
|
||||
CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
||||
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "contacts" (
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
phone_number TEXT NOT NULL,
|
||||
user_id UUID NOT NULL,
|
||||
firstname TEXT NULL,
|
||||
lastname TEXT NULL,
|
||||
nickname TEXT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user