realtor-lp-backend/migrations/1_realtor.sql

13 lines
375 B
SQL

CREATE TABLE IF NOT EXISTS "realtor" (
id UUID PRIMARY KEY,
name VARCHAR NOT NULL,
bio VARCHAR NOT NULL,
phone_number VARCHAR,
email VARCHAR NOT NULL,
profile_picture_url VARCHAR NOT NULL,
show_projects boolean NOT NULL,
shortcode VARCHAR,
remax_agent_id INT,
time_created TIMESTAMPTZ NOT NULL,
last_updated TIMESTAMPTZ NOT NULL
);