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

