Browse Source

feat:1.5版脚本提交

master
zhaobing’ 1 year ago
parent
commit
abe041d7ac
  1. 15
      script/1.5/schema/1.project_bind.sql

15
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);
Loading…
Cancel
Save