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

7 lines
206 B
SQL

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