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

14 lines
416 B
MySQL
Raw Normal View History

2023-05-03 16:03:04 +00:00
CREATE TABLE IF NOT EXISTS "realtor" (
id UUID PRIMARY KEY,
2023-05-03 16:59:54 +00:00
name VARCHAR NOT NULL,
bio VARCHAR NOT NULL,
2023-05-03 17:35:33 +00:00
phone_number VARCHAR NOT NULL,
email VARCHAR,
2023-05-03 16:59:54 +00:00
profile_picture_url VARCHAR NOT NULL,
2023-05-11 15:31:58 +00:00
banner_picture_url VARCHAR,
2023-05-03 16:59:54 +00:00
show_projects boolean NOT NULL,
2023-05-03 17:35:33 +00:00
shortcode VARCHAR NOT NULL,
2023-05-03 16:59:54 +00:00
remax_agent_id INT,
time_created TIMESTAMPTZ NOT NULL,
last_updated TIMESTAMPTZ NOT NULL
2023-05-03 16:03:04 +00:00
);