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