You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
480 B
15 lines
480 B
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);
|