realtor-lp-backend/migrations/3_view.sql

7 lines
192 B
SQL

CREATE TABLE IF NOT EXISTS "view" (
id UUID PRIMARY KEY,
thing_id UUID NOT NULL,
thing_pk VARCHAR NOT NULL,
trackable_id UUID NOT NULL,
time_created TIMESTAMPTZ NOT NULL
);