diff --git a/script/1.5/schema/1.project_bind.sql b/script/1.5/schema/1.project_bind.sql new file mode 100644 index 0000000..d07429a --- /dev/null +++ b/script/1.5/schema/1.project_bind.sql @@ -0,0 +1,15 @@ +CREATE TABLE IF NOT EXISTS project_bind +( + id serial constraint "project_bind_pk" primary key, + axy_project_id integer, + structture_id integer +); +comment on column project_bind.axy_project_id is '安心云项目id'; + +comment on column project_bind.structture_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); \ No newline at end of file