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

7 lines
192 B
MySQL
Raw Normal View History

2023-05-03 16:59:54 +00:00
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
);