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

7 lines
208 B
SQL

CREATE TABLE IF NOT EXISTS "property_details" (
property_id UUID PRIMARY KEY,
meters FLOAT4 NOT NULL,
listing_type VARCHAR NOT NULL,
photo_urls BYTEA NOT NULL,
location_id UUID NOT NULL
);