
create table device_model
(
    id         serial
        constraint device_model_pk
            primary key,
    model_name text
);

comment on table device_model is '设备类型表';

comment on column device_model.model_name is '类型名字';