remax-backend-rs/migrations/3_property_details.sql

7 lines
208 B
MySQL
Raw Normal View History

2023-03-09 17:45:16 +00:00
CREATE TABLE IF NOT EXISTS "property_details" (
property_id UUID PRIMARY KEY,
meters FLOAT4 NOT NULL,
listing_type VARCHAR NOT NULL,
2023-03-09 17:45:16 +00:00
photo_urls BYTEA NOT NULL,
location_id UUID NOT NULL
);