Files
huike-back/htyws_models/migrations/2023-07-12-165202_add_versioned_data_table/up.sql
T
weli 44c320d8fa chore add core rust project files and diesel migrations
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline.

Made-with: Cursor
2026-04-23 17:20:01 +08:00

14 lines
328 B
SQL

-- Your SQL goes here
create table versioned_data
(
id varchar not null primary key unique,
ref_id varchar not null,
ref_type varchar not null,
created_at timestamp not null,
create_by varchar not null,
data_type varchar not null,
from_data jsonb,
to_data jsonb
);