CREATE TABLE IF NOT EXISTS project_bind
(
    id serial constraint "project_bind_pk" primary key,
    axy_project_id integer,
    structure_id integer
);
comment on column project_bind.axy_project_id is '安心云项目id';

comment on column project_bind.structure_id is '巡检的结构物id';

comment on column project_bind.axy_project_id is '安心云结构物';


alter table project_bind
    alter column axy_project_id type varchar(300) using axy_project_id::varchar(300);