Files
huike-back/htyws_models/migrations/2022-01-14-074613_add_ref_resources/up.sql
T

18 lines
397 B
SQL
Raw Normal View History

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