15 lines
382 B
MySQL
15 lines
382 B
MySQL
|
CREATE TABLE IF NOT EXISTS "project" (
|
||
|
id UUID PRIMARY KEY,
|
||
|
project_type VARCHAR NOT NULL,
|
||
|
project_condition VARCHAR NOT NULL,
|
||
|
agent_id UUID NOT NULL,
|
||
|
location_id UUID NOT NULL,
|
||
|
title VARCHAR,
|
||
|
description TEXT NOT NULL,
|
||
|
admin_tag VARCHAR,
|
||
|
floors SMALLINT NOT NULL,
|
||
|
media TEXT NOT NULL,
|
||
|
time_created TIMESTAMPTZ NOT NULL,
|
||
|
last_updated TIMESTAMPTZ NOT NULL
|
||
|
);
|