管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-23 ec4a6960e2a8347b4860aeab4fbf641c8640c633
data/db_tab.sql
@@ -1250,6 +1250,7 @@
-- drop table if exists lf.sys_publish;
create table lf.sys_publish(
  id serial primary key,
  regid varchar(40),
  name varchar(50),
  url varchar(512),
  path varchar(200),
@@ -1271,6 +1272,7 @@
create index idx_sys_publish_geom on lf.sys_publish using gist (geom);
comment on table lf.sys_publish is '数据发布表';
comment on column lf.sys_publish.id is '主键ID';
comment on column lf.sys_publish.regid is '注册ID';
comment on column lf.sys_publish.name is '名称';
comment on column lf.sys_publish.url is '地址';
comment on column lf.sys_publish.path is '路径';
@@ -1286,6 +1288,7 @@
comment on column lf.sys_publish.update_user is '更新人ID';
comment on column lf.sys_publish.update_time is '更新时间';
comment on column lf.sys_publish.bak is '备注';
-- alter table lf.sys_publish add column regid varchar(40);
-- insert into lf.sys_publish (name,geom) values ('Test',ST_GeomFromText('POINT Z (101.9281 36.58675 2199.5)'));
select st_astext(geom) "wkt",a.* from lf.sys_publish a;