create table powders
(
    id              uuid primary key,
    name            varchar(255)            not null,
    meta            json,
    photo           bytea,
    manufacturer_id uuid                    not null,
    created_at      timestamp default NOW() not null,
    constraint powders_manufacturers_id_fk
        foreign key (manufacturer_id) references manufacturers (id)
);

create table manufacturers
(
    id         uuid  primary key ,
    name       varchar(255) not null,
    url        varchar(255),
    created_at timestamp default NOW() not null
);
