| | |
| | | comment on column lf.sys_fme_log.create_time is '创建时间'; |
| | | |
| | | select * from lf.sys_fme_log; -- delete from lf.sys_fme_log; |
| | | ----------------------------------------------------------------------------------------------------- 33.图层表 |
| | | -- DROP TABLE IF EXISTS lf.sys_layer; |
| | | create table lf.sys_layer( |
| | | id serial primary key, |
| | | pid integer, |
| | | cn_name varchar(50), |
| | | en_name varchar(50), |
| | | url varchar(512), |
| | | test_url varchar(512), |
| | | type smallint, |
| | | icon varchar(256), |
| | | level integer, |
| | | order_num integer, |
| | | is_show smallint, |
| | | create_user integer, |
| | | create_time timestamp(6) without time zone default now(), |
| | | update_user integer, |
| | | update_time timestamp(6) without time zone, |
| | | bak varchar(1024) |
| | | ); |
| | | comment on table lf.sys_layer is '图层表'; |
| | | comment on column lf.sys_layer.id is '主键ID'; |
| | | comment on column lf.sys_layer.pid is '父ID:0-根节点'; |
| | | comment on column lf.sys_layer.cn_name is '中文名称'; |
| | | comment on column lf.sys_layer.en_name is '英文名称'; |
| | | comment on column lf.sys_layer.url is '图层地址'; |
| | | comment on column lf.sys_layer.test_url is '测试地址'; |
| | | comment on column lf.sys_layer.type is '类型:1-图层组,2-图层'; |
| | | comment on column lf.sys_layer.icon is '图标'; |
| | | comment on column lf.sys_layer.level is '层级:0-根节点'; |
| | | comment on column lf.sys_layer.order_num is '排序号'; |
| | | comment on column lf.sys_layer.is_show is '是否显示'; |
| | | comment on column lf.sys_layer.create_user is '创建人ID'; |
| | | comment on column lf.sys_layer.create_time is '创建时间'; |
| | | comment on column lf.sys_layer.update_user is '更新人ID'; |
| | | comment on column lf.sys_layer.update_time is '更新时间'; |
| | | comment on column lf.sys_layer.bak is '备注'; |
| | | |
| | | select * from lf.sys_layer; |
| | | ----------------------------------------------------------------------------------------------------- vacuum analyze md.md_zxcg; |