realtor-lp-backend/migrations/5_project.sql

10 lines
273 B
MySQL
Raw Normal View History

2023-05-03 16:59:54 +00:00
CREATE TABLE IF NOT EXISTS "project" (
id UUID PRIMARY KEY,
title VARCHAR,
description TEXT NOT NULL,
realtor_id UUID NOT NULL,
media TEXT NOT NULL,
order_index INTEGER,
time_created TIMESTAMPTZ NOT NULL,
last_updated TIMESTAMPTZ NOT NULL
);