realtor-lp-backend/migrations/3_view.sql
2023-05-03 12:59:54 -04:00

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
);