Files
huike-back/htyws_models/migrations/2022-01-14-074613_add_ref_resources/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

18 lines
397 B
SQL

-- Your SQL goes here
create table ref_resources
(
id varchar not null
constraint ref_resources_pk
primary key,
hty_resource_id varchar not null,
ref_id varchar not null,
ref_type varchar not null,
resource_url varchar,
resource_type varchar
);
create unique index ref_resources_id_uindex
on ref_resources (id);