|
|
/*==============================================================*/
|
|
|
/* DBMS name: PostgreSQL 9.x */
|
|
|
/* Created on: 2023/6/13 13:22:15 */
|
|
|
/*==============================================================*/
|
|
|
|
|
|
|
|
|
drop table public.gen_table;
|
|
|
|
|
|
drop table public.gen_table_column;
|
|
|
|
|
|
drop table public.seqno;
|
|
|
|
|
|
drop table public.tbl_data_market_api;
|
|
|
|
|
|
drop table public.tbl_data_market_api_log;
|
|
|
|
|
|
drop table public.tbl_data_market_api_mask;
|
|
|
|
|
|
drop table public.tbl_data_metadata_column;
|
|
|
|
|
|
drop table public.tbl_data_metadata_source;
|
|
|
|
|
|
drop table public.tbl_data_metadata_table;
|
|
|
|
|
|
drop table public.tbl_data_org;
|
|
|
|
|
|
drop table public.tbl_data_org_dir;
|
|
|
|
|
|
drop table public.tbl_data_org_dir_column;
|
|
|
|
|
|
drop table public.tbl_instit_api_authorize;
|
|
|
|
|
|
drop table public.tbl_instit_api_log;
|
|
|
|
|
|
drop table public.tbl_instit_info;
|
|
|
|
|
|
drop table public.tbl_portal_dept;
|
|
|
|
|
|
drop table public.tbl_portal_logininfor;
|
|
|
|
|
|
drop table public.tbl_portal_oper_log;
|
|
|
|
|
|
drop table public.tbl_portal_user;
|
|
|
|
|
|
drop table public.tbl_portal_user_msg;
|
|
|
|
|
|
drop table public.tbl_sql_console_file;
|
|
|
|
|
|
drop table public.tbl_sql_data_apply;
|
|
|
|
|
|
drop table public.tbl_sql_data_authorize;
|
|
|
|
|
|
drop table public.tbl_sys_config;
|
|
|
|
|
|
drop table public.tbl_sys_dept;
|
|
|
|
|
|
drop table public.tbl_sys_dict_data;
|
|
|
|
|
|
drop table public.tbl_sys_dict_type;
|
|
|
|
|
|
drop table public.tbl_sys_job;
|
|
|
|
|
|
drop table public.tbl_sys_job_log;
|
|
|
|
|
|
drop table public.tbl_sys_logininfor;
|
|
|
|
|
|
drop table public.tbl_sys_menu;
|
|
|
|
|
|
drop table public.tbl_sys_notice;
|
|
|
|
|
|
drop table public.tbl_sys_oper_log;
|
|
|
|
|
|
drop table public.tbl_sys_post;
|
|
|
|
|
|
drop table public.tbl_sys_role;
|
|
|
|
|
|
drop table public.tbl_sys_role_dept;
|
|
|
|
|
|
drop table public.tbl_sys_role_menu;
|
|
|
|
|
|
drop table public.tbl_sys_user;
|
|
|
|
|
|
drop table public.tbl_sys_user_post;
|
|
|
|
|
|
drop table public.tbl_sys_user_role;
|
|
|
|
|
|
drop table public.tbl_sys_warning_contact;
|
|
|
|
|
|
drop table public.tbl_sys_warning_log;
|
|
|
|
|
|
drop sequence seq_data_market_api;
|
|
|
|
|
|
drop sequence seq_data_market_api_log;
|
|
|
|
|
|
drop sequence seq_data_market_api_mask;
|
|
|
|
|
|
drop sequence seq_data_metadata_authorize;
|
|
|
|
|
|
drop sequence seq_data_metadata_change_record;
|
|
|
|
|
|
drop sequence seq_data_metadata_column;
|
|
|
|
|
|
drop sequence seq_data_metadata_source;
|
|
|
|
|
|
drop sequence seq_data_metadata_table;
|
|
|
|
|
|
drop sequence seq_gen_table;
|
|
|
|
|
|
drop sequence seq_gen_table_column;
|
|
|
|
|
|
drop sequence seq_portal_dept;
|
|
|
|
|
|
drop sequence seq_portal_logininfor;
|
|
|
|
|
|
drop sequence seq_portal_oper_log;
|
|
|
|
|
|
drop sequence seq_portal_phone_msg_log;
|
|
|
|
|
|
drop sequence seq_portal_upload_files;
|
|
|
|
|
|
drop sequence seq_portal_user;
|
|
|
|
|
|
drop sequence seq_portal_user_msg;
|
|
|
|
|
|
drop sequence seq_sql_console_file;
|
|
|
|
|
|
drop sequence seq_sql_data_apply;
|
|
|
|
|
|
drop sequence seq_sys_config;
|
|
|
|
|
|
drop sequence seq_sys_dept;
|
|
|
|
|
|
drop sequence seq_sys_dict_data;
|
|
|
|
|
|
drop sequence seq_sys_dict_type;
|
|
|
|
|
|
drop sequence seq_sys_job;
|
|
|
|
|
|
drop sequence seq_sys_job_log;
|
|
|
|
|
|
drop sequence seq_sys_logininfor;
|
|
|
|
|
|
drop sequence seq_sys_menu;
|
|
|
|
|
|
drop sequence seq_sys_notice;
|
|
|
|
|
|
drop sequence seq_sys_oper_log;
|
|
|
|
|
|
drop sequence seq_sys_post;
|
|
|
|
|
|
drop sequence seq_sys_role;
|
|
|
|
|
|
drop sequence seq_sys_user;
|
|
|
|
|
|
drop sequence seq_sys_warning_contact;
|
|
|
|
|
|
drop sequence seq_sys_warning_log;
|
|
|
|
|
|
drop sequence seq_test_t_t;
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* User: public */
|
|
|
/*==============================================================*/
|
|
|
create sequence seq_data_market_api
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_data_market_api_log
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_data_market_api_mask
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_data_metadata_authorize
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_data_metadata_change_record
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_data_metadata_column
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_data_metadata_source
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_data_metadata_table
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_gen_table
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_gen_table_column
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_portal_dept
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_portal_logininfor
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_portal_oper_log
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_portal_phone_msg_log
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_portal_upload_files
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_portal_user
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_portal_user_msg
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sql_console_file
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sql_data_apply
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_config
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 4
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_dept
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 3
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_dict_data
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_dict_type
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_job
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_job_log
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_logininfor
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_menu
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 3000
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_notice
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_oper_log
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_post
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_role
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 3
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_user
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 2
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_warning_contact
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_sys_warning_log
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
create sequence seq_test_t_t
|
|
|
INCREMENT 1
|
|
|
MINVALUE 1
|
|
|
MAXVALUE 9223372036854775807
|
|
|
START 1
|
|
|
CACHE 1;
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: gen_table */
|
|
|
/*==============================================================*/
|
|
|
create table public.gen_table (
|
|
|
table_id int8 not null default nextval('seq_gen_table'::regclass),
|
|
|
table_name varchar(200) null,
|
|
|
table_comment varchar(500) null,
|
|
|
sub_table_name varchar(64) null,
|
|
|
sub_table_fk_name varchar(64) null,
|
|
|
class_name varchar(100) null,
|
|
|
tpl_category varchar(200) null,
|
|
|
package_name varchar(100) null,
|
|
|
module_name varchar(30) null,
|
|
|
business_name varchar(30) null,
|
|
|
function_name varchar(50) null,
|
|
|
function_author varchar(50) null,
|
|
|
gen_type char(1) null,
|
|
|
gen_path varchar(200) null,
|
|
|
options varchar(1000) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
constraint gen_table_pkey primary key (table_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.gen_table is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.table_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.table_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.table_comment is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.sub_table_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӱ<EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.sub_table_fk_name is
|
|
|
'<EFBFBD>ӱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.class_name is
|
|
|
'ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.tpl_category is
|
|
|
'ʹ<EFBFBD>õ<EFBFBD>ģ<EFBFBD>壨crud<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> tree<65><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.package_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ɰ<EFBFBD>·<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.module_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.business_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.function_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ɹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.function_author is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ɹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.gen_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ɴ<EFBFBD><EFBFBD>뷽ʽ<EFBFBD><EFBFBD>0zipѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<>Զ<EFBFBD><D4B6><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.gen_path is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.options is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table.remark is
|
|
|
'<EFBFBD><EFBFBD>ע';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: gen_table_column */
|
|
|
/*==============================================================*/
|
|
|
create table public.gen_table_column (
|
|
|
column_id int8 not null default nextval('seq_gen_table_column'::regclass),
|
|
|
table_id int8 null,
|
|
|
column_name varchar(200) null,
|
|
|
column_comment varchar(500) null,
|
|
|
column_type varchar(100) null,
|
|
|
java_type varchar(500) null,
|
|
|
java_field varchar(200) null,
|
|
|
is_pk char(1) null,
|
|
|
is_increment char(1) null,
|
|
|
is_required char(1) null,
|
|
|
is_insert char(1) null,
|
|
|
is_edit char(1) null,
|
|
|
is_list char(1) null,
|
|
|
is_query char(1) null,
|
|
|
query_type varchar(200) null,
|
|
|
html_type varchar(200) null,
|
|
|
dict_type varchar(200) null,
|
|
|
sort int4 null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
constraint gen_table_column_pkey primary key (column_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.gen_table_column is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.column_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.table_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.column_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.column_comment is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.column_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.java_type is
|
|
|
'JAVA<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.java_field is
|
|
|
'JAVA<EFBFBD>ֶ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.is_pk is
|
|
|
'<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD>ǣ<EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.is_increment is
|
|
|
'<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD>ǣ<EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.is_required is
|
|
|
'<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD>ǣ<EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.is_insert is
|
|
|
'<EFBFBD>Ƿ<EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶΣ<EFBFBD>1<EFBFBD>ǣ<EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.is_edit is
|
|
|
'<EFBFBD>Ƿ<EFBFBD><EFBFBD>༭<EFBFBD>ֶΣ<EFBFBD>1<EFBFBD>ǣ<EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.is_list is
|
|
|
'<EFBFBD>Ƿ<EFBFBD><EFBFBD>б<EFBFBD><EFBFBD>ֶΣ<EFBFBD>1<EFBFBD>ǣ<EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.is_query is
|
|
|
'<EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD>ֶΣ<EFBFBD>1<EFBFBD>ǣ<EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.query_type is
|
|
|
'<EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڡ<EFBFBD>С<EFBFBD>ڡ<EFBFBD><EFBFBD><EFBFBD>Χ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.html_type is
|
|
|
'<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڿؼ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.dict_type is
|
|
|
'<EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.sort is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column gen_table_column.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: seqno */
|
|
|
/*==============================================================*/
|
|
|
create table public.seqno (
|
|
|
nextval int8 null
|
|
|
);
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_market_api */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_market_api (
|
|
|
id int8 not null default nextval('seq_data_market_api'::regclass),
|
|
|
status char(1) null,
|
|
|
create_by varchar(50) null,
|
|
|
create_time timestamp null,
|
|
|
create_dept varchar(50) null,
|
|
|
update_by varchar(50) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(1000) null,
|
|
|
api_name varchar(255) null,
|
|
|
api_version varchar(10) null,
|
|
|
api_url varchar(255) null,
|
|
|
req_method varchar(10) null,
|
|
|
res_type varchar(10) null,
|
|
|
deny varchar(2000) null,
|
|
|
limit_json text null,
|
|
|
config_json text null,
|
|
|
req_json text null,
|
|
|
res_json text null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(100) null,
|
|
|
del_flag char(1) null,
|
|
|
constraint market_api_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_market_api is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>API<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_data_market_api.status is
|
|
|
'״̬<EFBFBD><EFBFBD>1<EFBFBD><EFBFBD>ע<EFBFBD>ᣬ2<EFBFBD><EFBFBD>ע<EFBFBD>ᣬ3<EFBFBD>ѷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.create_dept is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.remark is
|
|
|
'<EFBFBD><EFBFBD>ע';
|
|
|
|
|
|
comment on column tbl_data_market_api.api_name is
|
|
|
'API<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.api_version is
|
|
|
'API<EFBFBD>汾';
|
|
|
|
|
|
comment on column tbl_data_market_api.api_url is
|
|
|
'API·<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.req_method is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ';
|
|
|
|
|
|
comment on column tbl_data_market_api.res_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD>ʽ';
|
|
|
|
|
|
comment on column tbl_data_market_api.deny is
|
|
|
'IP<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.limit_json is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.config_json is
|
|
|
'ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.req_json is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.res_json is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ز<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.version_num is
|
|
|
'<EFBFBD>汾<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_market_api_log */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_market_api_log (
|
|
|
id int8 not null default nextval('seq_data_market_api_log'::regclass),
|
|
|
api_id int8 not null,
|
|
|
caller_id varchar(50) null,
|
|
|
caller_ip varchar(50) null,
|
|
|
caller_url varchar(255) null,
|
|
|
caller_params varchar(2000) null,
|
|
|
caller_date timestamp null,
|
|
|
caller_size int4 null,
|
|
|
"time" int4 null,
|
|
|
msg varchar(2000) null,
|
|
|
status char(1) null,
|
|
|
constraint market_api_log_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_market_api_log is
|
|
|
'<EFBFBD><EFBFBD>api<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.api_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>api';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.caller_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.caller_ip is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ip';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.caller_url is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>url';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.caller_params is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ò<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.caller_date is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.caller_size is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_log."time" is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD>ʱ';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.msg is
|
|
|
'<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>¼';
|
|
|
|
|
|
comment on column tbl_data_market_api_log.status is
|
|
|
'״̬<EFBFBD><EFBFBD>0<EFBFBD>ɹ<EFBFBD><EFBFBD><EFBFBD>1ʧ<EFBFBD>ܣ<EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_market_api_mask */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_market_api_mask (
|
|
|
id int8 not null default nextval('seq_data_market_api_mask'::regclass),
|
|
|
status char(1) null,
|
|
|
create_by varchar(50) null,
|
|
|
create_time timestamp null,
|
|
|
create_dept varchar(50) null,
|
|
|
update_by varchar(50) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(1000) null,
|
|
|
api_id int8 not null,
|
|
|
mask_name varchar(50) null,
|
|
|
config_json text null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(100) null,
|
|
|
del_flag char(1) null,
|
|
|
constraint market_api_mask_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_market_api_mask is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>API<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.status is
|
|
|
'״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1ͣ<EFBFBD>ã<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.create_dept is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.remark is
|
|
|
'<EFBFBD><EFBFBD>ע';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.api_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>API';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.mask_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.config_json is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶι<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.version_num is
|
|
|
'<EFBFBD>汾<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_market_api_mask.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_metadata_column */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_metadata_column (
|
|
|
id int8 not null default nextval('seq_data_metadata_column'::regclass),
|
|
|
source_id int8 not null,
|
|
|
table_id int8 not null,
|
|
|
column_name varchar(255) null,
|
|
|
column_comment varchar(255) null,
|
|
|
column_key varchar(255) null,
|
|
|
column_nullable varchar(255) null,
|
|
|
column_position varchar(50) null,
|
|
|
data_type varchar(255) null,
|
|
|
data_length varchar(255) null,
|
|
|
data_precision varchar(255) null,
|
|
|
data_scale varchar(255) null,
|
|
|
data_default varchar(255) null,
|
|
|
constraint metadata_column_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_metadata_column is
|
|
|
'<EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.source_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.table_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݱ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.column_name is
|
|
|
'<EFBFBD>ֶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.column_comment is
|
|
|
'<EFBFBD>ֶ<EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.column_key is
|
|
|
'<EFBFBD>ֶ<EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(0<><30> 1<><31>)';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.column_nullable is
|
|
|
'<EFBFBD>ֶ<EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD>(0<><30> 1<><31>)';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.column_position is
|
|
|
'<EFBFBD>ֶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.data_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.data_length is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.data_precision is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ݾ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.data_scale is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><EFBFBD>λ';
|
|
|
|
|
|
comment on column tbl_data_metadata_column.data_default is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><EFBFBD>ֵ';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_metadata_source */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_metadata_source (
|
|
|
id int8 not null default nextval('seq_data_metadata_source'::regclass),
|
|
|
status char(1) null,
|
|
|
create_by varchar(50) null,
|
|
|
create_time timestamp null,
|
|
|
create_dept varchar(50) null,
|
|
|
update_by varchar(50) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(1000) null,
|
|
|
db_type char(1) null,
|
|
|
source_name varchar(50) null,
|
|
|
is_sync char(1) null,
|
|
|
db_schema varchar(500) null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(100) null,
|
|
|
del_flag char(1) null,
|
|
|
constraint metadata_source_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_metadata_source is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.status is
|
|
|
'״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1ͣ<EFBFBD>ã<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.create_dept is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.remark is
|
|
|
'<EFBFBD><EFBFBD>ע';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.db_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.source_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.is_sync is
|
|
|
'Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD> 1ͬ<31><CDAC><EFBFBD><EFBFBD> 2δͬ<CEB4><CDAC><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.db_schema is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.version_num is
|
|
|
'<EFBFBD>汾<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_source.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_metadata_table */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_metadata_table (
|
|
|
id int8 not null default nextval('seq_data_metadata_table'::regclass),
|
|
|
source_id int8 not null,
|
|
|
table_name varchar(255) null,
|
|
|
table_comment varchar(255) null,
|
|
|
constraint metadata_table_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_metadata_table is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_table.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_data_metadata_table.source_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ';
|
|
|
|
|
|
comment on column tbl_data_metadata_table.table_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_metadata_table.table_comment is
|
|
|
'<EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_org */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_org (
|
|
|
org_id int8 not null,
|
|
|
org_name varchar(255) null,
|
|
|
org_no varchar(255) null,
|
|
|
org_desc varchar(255) null,
|
|
|
parent_id int8 null,
|
|
|
sort int4 not null,
|
|
|
status char(1) null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
del_flag char(1) null,
|
|
|
constraint tbl_data_org_pkey primary key (org_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_org is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯<EFBFBD>ܹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.org_id is
|
|
|
'<EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.org_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯<EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.org_no is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯<EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_data_org.org_desc is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.parent_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.sort is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_data_org.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_data_org.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_data_org.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_data_org.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_org_dir */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_org_dir (
|
|
|
dir_id int8 not null,
|
|
|
dir_name varchar(255) null,
|
|
|
dir_name_cn varchar(255) null,
|
|
|
org_id int8 not null,
|
|
|
business_type char(1) null,
|
|
|
data_total int8 null,
|
|
|
update_rate char(1) null,
|
|
|
resource_type char(1) null,
|
|
|
data_method char(1) null,
|
|
|
is_desensitise char(1) null,
|
|
|
is_personal_info char(1) null,
|
|
|
data_grade char(1) null,
|
|
|
open_condition char(1) null,
|
|
|
"desc" text null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
status char(1) null,
|
|
|
del_flag char(1) null,
|
|
|
constraint tbl_data_org_dir_pkey primary key (dir_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_org_dir is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯Ŀ¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.dir_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ¼ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.dir_name is
|
|
|
'<EFBFBD><EFBFBD>Ŀ¼/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.dir_name_cn is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.org_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯<EFBFBD>ܹ<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.business_type is
|
|
|
'<EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ࡿ';
|
|
|
|
|
|
comment on column tbl_data_org_dir.data_total is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.update_rate is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>ʡ<EFBFBD>1ÿ<EFBFBD><EFBFBD> 2ÿ<32><C3BF> 3ÿ<33><C3BF> 4ʵʱ 5ÿ<35><C3BF> 6<><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.resource_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>1<EFBFBD>ṹ<EFBFBD><EFBFBD> 2<>ǽṹ<C7BD><E1B9B9>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.data_method is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ṩ<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>1CSV 2XSL 3JSON 4XML 5PDF 6<>ӿ<EFBFBD> 7<><37><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.is_desensitise is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD>0<EFBFBD><EFBFBD> 1<><31>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.is_personal_info is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD>и<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD> 1<><31>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.data_grade is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݵȼ<EFBFBD><EFBFBD><EFBFBD>1һ 2<><32> 3<><33> 4<><34>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.open_condition is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3<><33><EFBFBD>蹲<EFBFBD><E8B9B2>';
|
|
|
|
|
|
comment on column tbl_data_org_dir."desc" is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_data_org_dir.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_data_org_dir.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_data_org_dir.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_data_org_dir.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_data_org_dir_column */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_data_org_dir_column (
|
|
|
column_id int8 not null,
|
|
|
column_name varchar(255) null,
|
|
|
column_name_cn varchar(255) null,
|
|
|
dir_id int8 not null,
|
|
|
data_no char(1) null,
|
|
|
data_type char(1) null,
|
|
|
range int4 not null,
|
|
|
data_ex varchar(255) null,
|
|
|
data_unit varchar(255) null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
org_id int8 not null,
|
|
|
data_ddl varchar(255) null,
|
|
|
del_flag char(1) null,
|
|
|
constraint tbl_data_org_dir_column_pkey primary key (column_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_data_org_dir_column is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.column_id is
|
|
|
'<EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.column_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.column_name_cn is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.dir_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯Ŀ¼ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.data_no is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD>롿0<EFBFBD><EFBFBD> 1<><31>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.data_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>1String 2Integer 3Long 4Decimal';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.range is
|
|
|
'<EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Χ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.data_ex is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.data_unit is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݵ<EFBFBD>λ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.org_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯<EFBFBD>ܹ<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.data_ddl is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݶ<EFBFBD><EFBFBD>塿';
|
|
|
|
|
|
comment on column tbl_data_org_dir_column.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_instit_api_authorize */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_instit_api_authorize (
|
|
|
id int8 not null,
|
|
|
instit_id int8 not null,
|
|
|
api_id int8 not null,
|
|
|
constraint tbl_instit_api_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_instit_api_authorize is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD>Ȩ<EFBFBD>ޱ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_authorize.id is
|
|
|
'<EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_authorize.instit_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_authorize.api_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD>API ID<49><44>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_instit_api_log */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_instit_api_log (
|
|
|
id int8 not null,
|
|
|
api_id int8 not null,
|
|
|
caller_id varchar(50) null,
|
|
|
caller_ip varchar(50) null,
|
|
|
caller_url varchar(255) null,
|
|
|
caller_params varchar(2000) null,
|
|
|
caller_date timestamp null,
|
|
|
caller_size int4 null,
|
|
|
"time" int4 null,
|
|
|
msg varchar(2000) null,
|
|
|
status char(1) null,
|
|
|
instit_id int8 not null,
|
|
|
constraint tbl_instit_api_log_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_instit_api_log is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>api<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.api_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>api<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.caller_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.caller_ip is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ip<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.caller_url is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>url<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.caller_params is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ò<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.caller_date is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_instit_api_log.caller_size is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log."time" is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD>ʱ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.msg is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD>ɹ<EFBFBD> 1ʧ<31><CAA7>';
|
|
|
|
|
|
comment on column tbl_instit_api_log.instit_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_instit_info */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_instit_info (
|
|
|
instit_id int8 not null,
|
|
|
instit_no varchar(255) null,
|
|
|
instit_name varchar(255) null,
|
|
|
instit_type char(1) null,
|
|
|
instit_desc varchar(255) null,
|
|
|
salt varchar(255) null,
|
|
|
encrypt varchar(255) null,
|
|
|
start_time timestamp null,
|
|
|
end_time timestamp null,
|
|
|
status char(1) null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
del_flag char(1) null,
|
|
|
constraint tbl_instit_info_pkey primary key (instit_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_instit_info is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.instit_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.instit_no is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.instit_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.instit_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.instit_desc is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.salt is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ρ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.encrypt is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.start_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Чʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_instit_info.end_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_instit_info.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3> 2<><32><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_instit_info.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_instit_info.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_instit_info.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_instit_info.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_portal_dept */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_portal_dept (
|
|
|
dept_id int8 not null default nextval('seq_portal_dept'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
parent_id int8 null,
|
|
|
ancestors varchar(50) null,
|
|
|
dept_name varchar(30) null,
|
|
|
order_num int4 null,
|
|
|
leader varchar(20) null,
|
|
|
phone varchar(11) null,
|
|
|
email varchar(50) null,
|
|
|
status char(1) null,
|
|
|
del_flag char(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_by_name varchar(100) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_by_name varchar(100) null,
|
|
|
update_time timestamp null,
|
|
|
constraint pk_tbl_portal_dept primary key (dept_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_portal_dept is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.dept_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_portal_dept.parent_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.ancestors is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>漶<EFBFBD>б<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.dept_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.order_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.leader is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.phone is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD>绰<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.email is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_portal_dept.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_portal_dept.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
comment on column tbl_portal_dept.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.create_by_name is
|
|
|
'<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_portal_dept.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.update_by_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_dept.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_portal_logininfor */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_portal_logininfor (
|
|
|
info_id int8 not null default nextval('seq_portal_logininfor'::regclass),
|
|
|
user_name varchar(50) null,
|
|
|
ipaddr varchar(128) null,
|
|
|
login_location varchar(255) null,
|
|
|
browser varchar(50) null,
|
|
|
os varchar(50) null,
|
|
|
status char(1) null,
|
|
|
msg varchar(2000) null,
|
|
|
login_time timestamp null,
|
|
|
constraint pk_tbl_portal_logininfor primary key (info_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_portal_logininfor is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ż<EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.info_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.user_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>˺š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.ipaddr is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼IP<EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.login_location is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD>ص㡿';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.browser is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.os is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼״̬<EFBFBD><EFBFBD>0<EFBFBD>ɹ<EFBFBD> 1ʧ<31><CAA7>';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.msg is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_logininfor.login_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_portal_oper_log */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_portal_oper_log (
|
|
|
oper_id int8 not null default nextval('seq_portal_oper_log'::regclass),
|
|
|
title varchar(50) null,
|
|
|
business_type int4 null,
|
|
|
method varchar(100) null,
|
|
|
request_method varchar(10) null,
|
|
|
operator_type int4 null,
|
|
|
oper_name varchar(50) null,
|
|
|
dept_name varchar(50) null,
|
|
|
oper_url varchar(255) null,
|
|
|
oper_ip varchar(128) null,
|
|
|
oper_location varchar(255) null,
|
|
|
oper_param varchar(2000) null,
|
|
|
json_result varchar(2000) null,
|
|
|
status int4 null,
|
|
|
error_msg varchar(2000) null,
|
|
|
oper_time timestamp null,
|
|
|
constraint pk_tbl_portal_oper_log primary key (oper_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_portal_oper_log is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ż<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.oper_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.title is
|
|
|
'<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⡿';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.business_type is
|
|
|
'<EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31><EFBFBD><EFBFBD> 2<><EFBFBD> 3ɾ<33><C9BE>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.method is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.request_method is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.operator_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31>̨<EFBFBD>û<EFBFBD> 2<>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD>û<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.oper_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.dept_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.oper_url is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>URL<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.oper_ip is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.oper_location is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ص㡿';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.oper_param is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.json_result is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ز<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<>쳣';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.error_msg is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_oper_log.oper_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_portal_user */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_portal_user (
|
|
|
user_id int8 not null default nextval('seq_portal_user'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
dept_id int8 null,
|
|
|
user_name varchar(30) null,
|
|
|
nick_name varchar(30) null,
|
|
|
user_type varchar(2) null,
|
|
|
email varchar(50) null,
|
|
|
phonenumber varchar(11) null,
|
|
|
sex char(1) null,
|
|
|
avatar varchar(100) null,
|
|
|
password varchar(100) null,
|
|
|
enterprise_name varchar(500) null,
|
|
|
industry_category varchar(3) null,
|
|
|
social_credit_code varchar(50) null,
|
|
|
enterprise_industry varchar(500) null,
|
|
|
enterprise_address varchar(500) null,
|
|
|
status char(1) null,
|
|
|
del_flag char(1) null,
|
|
|
login_ip varchar(128) null,
|
|
|
login_date timestamp null,
|
|
|
is_locked char(1) null,
|
|
|
login_error_count int4 null,
|
|
|
last_login_error_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_by_name varchar(100) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_by_name varchar(100) null,
|
|
|
update_time timestamp null,
|
|
|
constraint pk_tbl_portal_user primary key (user_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_portal_user is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ż<EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.user_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_portal_user.dept_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.user_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>˺š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.nick_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>dzơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.user_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>00ϵͳ<EFBFBD>û<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.email is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_portal_user.phonenumber is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_portal_user.sex is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD> 1Ů 2δ֪';
|
|
|
|
|
|
comment on column tbl_portal_user.avatar is
|
|
|
'<EFBFBD><EFBFBD>ͷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.password is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_portal_user.enterprise_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.industry_category is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.social_credit_code is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͳһ<EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_portal_user.enterprise_industry is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.enterprise_address is
|
|
|
'<EFBFBD><EFBFBD>enterprise_address<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ʺ<EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_portal_user.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
comment on column tbl_portal_user.login_ip is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼IP<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.login_date is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_portal_user.is_locked is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.login_error_count is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>½<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.last_login_error_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>½<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_portal_user.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.create_by_name is
|
|
|
'<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_portal_user.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.update_by_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_portal_user_msg */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_portal_user_msg (
|
|
|
msg_id int8 not null default nextval('seq_portal_user_msg'::regclass),
|
|
|
user_id int8 not null default nextval('seq_sys_user'::regclass),
|
|
|
msg_title varchar(200) null,
|
|
|
msg_text varchar(2500) null,
|
|
|
msg_type varchar(2) null,
|
|
|
msg_status varchar(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_by_name varchar(100) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_by_name varchar(100) null,
|
|
|
update_time timestamp null,
|
|
|
constraint pk_tbl_portal_user_msg primary key (msg_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_portal_user_msg is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.msg_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.user_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.msg_title is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD>⡿';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.msg_text is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.msg_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.msg_status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ״̬<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.create_by_name is
|
|
|
'<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.update_by_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_portal_user_msg.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sql_console_file */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sql_console_file (
|
|
|
id int8 not null default nextval('seq_sql_console_file'::regclass),
|
|
|
name varchar(255) null,
|
|
|
source_id int8 not null,
|
|
|
sql_text text null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
del_flag char(1) null,
|
|
|
user_id int8 not null,
|
|
|
pid int8 not null default 0,
|
|
|
type char(1) null,
|
|
|
constraint tbl_sql_console_file_pkey primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sql_console_file is
|
|
|
'<EFBFBD><EFBFBD>SQL<EFBFBD><EFBFBD><EFBFBD><EFBFBD>̨<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.source_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԪID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.sql_text is
|
|
|
'<EFBFBD><EFBFBD>SQL<EFBFBD><EFBFBD><EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sql_console_file.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sql_console_file.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sql_console_file.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sql_console_file.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.user_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.pid is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_console_file.type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>0<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD> 1<>ļ<EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sql_data_apply */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sql_data_apply (
|
|
|
apply_id int8 not null default nextval('seq_sql_data_apply'::regclass),
|
|
|
user_id int8 not null,
|
|
|
data_check_strictly char(1) null,
|
|
|
end_time timestamp null,
|
|
|
explain text null,
|
|
|
status char(1) null,
|
|
|
approver varchar(255) null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
del_flag varchar(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
reason varchar(255) null,
|
|
|
constraint tbl_sql_data_apply_pkey primary key (apply_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sql_data_apply is
|
|
|
'<EFBFBD><EFBFBD>SQLԪ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.apply_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.user_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.data_check_strictly is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.end_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.explain is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8> 2<><32><EFBFBD><EFBFBD><EFBFBD>ܾ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.approver is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_apply.reason is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ܾ<EFBFBD>ԭ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sql_data_authorize */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sql_data_authorize (
|
|
|
id int8 not null default nextval('seq_data_metadata_authorize'::regclass),
|
|
|
object_id int8 not null,
|
|
|
user_id int8 not null,
|
|
|
object_type varchar(10) null,
|
|
|
constraint metadata_authorize_pkey primary key (id, object_id, user_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sql_data_authorize is
|
|
|
'<EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sql_data_authorize.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_sql_data_authorize.object_id is
|
|
|
'Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_sql_data_authorize.user_id is
|
|
|
'<EFBFBD>û<EFBFBD>ID';
|
|
|
|
|
|
comment on column tbl_sql_data_authorize.object_type is
|
|
|
'Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_config */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_config (
|
|
|
config_id int8 not null default nextval('seq_sys_config'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
config_name varchar(100) null,
|
|
|
config_key varchar(100) null,
|
|
|
config_value varchar(500) null,
|
|
|
config_type char(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
constraint pk_tbl_sys_config primary key (config_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_config is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ñ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_config.config_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_config.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_config.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_config.config_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_config.config_key is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_config.config_value is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_config.config_type is
|
|
|
'<EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD>á<EFBFBD>Y<EFBFBD><EFBFBD> N<><4E>';
|
|
|
|
|
|
comment on column tbl_sys_config.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_config.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_config.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_config.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_config.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_dept */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_dept (
|
|
|
dept_id int8 not null default nextval('seq_sys_dept'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
parent_id int8 null,
|
|
|
ancestors varchar(50) null,
|
|
|
dept_name varchar(30) null,
|
|
|
order_num int4 null,
|
|
|
leader varchar(20) null,
|
|
|
phone varchar(11) null,
|
|
|
email varchar(50) null,
|
|
|
status char(1) null,
|
|
|
del_flag char(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
constraint pk_tbl_sys_dept primary key (dept_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_dept is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ű<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.dept_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_dept.parent_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.ancestors is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>漶<EFBFBD>б<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.dept_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.order_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.leader is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.phone is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD>绰<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.email is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_dept.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_sys_dept.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
comment on column tbl_sys_dept.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_dept.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dept.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_dict_data */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_dict_data (
|
|
|
dict_code int8 not null default nextval('seq_sys_dict_data'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
dict_sort int4 null,
|
|
|
dict_label varchar(100) null,
|
|
|
dict_value varchar(100) null,
|
|
|
dict_type varchar(100) null,
|
|
|
css_class varchar(100) null,
|
|
|
list_class varchar(100) null,
|
|
|
is_default char(1) null,
|
|
|
status char(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
constraint pk_tbl_sys_dict_data primary key (dict_code)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_dict_data is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݱ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.dict_code is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.dict_sort is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.dict_label is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD>ǩ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.dict_value is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.dict_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.css_class is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD>ԡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>չ';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.list_class is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.is_default is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>Ĭ<EFBFBD>ϡ<EFBFBD>Y<EFBFBD><EFBFBD> N<><4E>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_dict_data.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_dict_type */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_dict_type (
|
|
|
dict_id int8 not null default nextval('seq_sys_dict_type'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
dict_name varchar(100) null,
|
|
|
dict_type varchar(100) null,
|
|
|
status char(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
constraint pk_tbl_sys_dict_type primary key (dict_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_dict_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͱ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.dict_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.dict_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.dict_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_dict_type.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_job */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_job (
|
|
|
job_id int8 not null default nextval('seq_sys_job'::regclass),
|
|
|
job_name varchar(64) not null,
|
|
|
job_group varchar(64) not null,
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
invoke_target varchar(500) null,
|
|
|
cron_expression varchar(255) null,
|
|
|
misfire_policy varchar(20) null,
|
|
|
concurrent char(1) null,
|
|
|
status char(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
parent_id int8 null,
|
|
|
level varchar(200) null,
|
|
|
constraint pk_tbl_sys_job primary key (job_id, job_name, job_group)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_job is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȱ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.job_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.job_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.job_group is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_job.invoke_target is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.cron_expression is
|
|
|
'<EFBFBD><EFBFBD>cronִ<EFBFBD>б<EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.misfire_policy is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ƻ<EFBFBD>ִ<EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԡ<EFBFBD>1<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD> 2ִ<32><D6B4>һ<EFBFBD><D2BB> 3<><33><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>';
|
|
|
|
|
|
comment on column tbl_sys_job.concurrent is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>ִ<EFBFBD>С<EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31>ֹ';
|
|
|
|
|
|
comment on column tbl_sys_job.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31>ͣ';
|
|
|
|
|
|
comment on column tbl_sys_job.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_job.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_job.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.parent_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job.level is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>㼶<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_job_log */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_job_log (
|
|
|
job_log_id int8 not null default nextval('seq_sys_job_log'::regclass),
|
|
|
job_name varchar(64) null,
|
|
|
job_group varchar(64) null,
|
|
|
invoke_target varchar(500) null,
|
|
|
job_message varchar(500) null,
|
|
|
status char(1) null,
|
|
|
exception_info varchar(2000) null,
|
|
|
create_time timestamp null,
|
|
|
constraint pk_tbl_sys_job_log primary key (job_log_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_job_log is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job_log.job_log_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job_log.job_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job_log.job_group is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job_log.invoke_target is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job_log.job_message is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job_log.status is
|
|
|
'<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ʧ<31><CAA7>';
|
|
|
|
|
|
comment on column tbl_sys_job_log.exception_info is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>쳣<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_job_log.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_logininfor */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_logininfor (
|
|
|
info_id int8 not null default nextval('seq_sys_logininfor'::regclass),
|
|
|
user_name varchar(50) null,
|
|
|
ipaddr varchar(128) null,
|
|
|
login_location varchar(255) null,
|
|
|
browser varchar(50) null,
|
|
|
os varchar(50) null,
|
|
|
status char(1) null,
|
|
|
msg varchar(2000) null,
|
|
|
login_time timestamp null,
|
|
|
constraint pk_tbl_sys_logininfor primary key (info_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_logininfor is
|
|
|
'<EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD>¼<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.info_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.user_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>˺š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.ipaddr is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼IP<EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.login_location is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD>ص㡿';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.browser is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.os is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼״̬<EFBFBD><EFBFBD>0<EFBFBD>ɹ<EFBFBD> 1ʧ<31><CAA7>';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.msg is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_logininfor.login_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_menu */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_menu (
|
|
|
menu_id int8 not null default nextval('seq_sys_menu'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
menu_name varchar(50) null,
|
|
|
parent_id int8 null default 0,
|
|
|
order_num int4 null,
|
|
|
path varchar(200) null,
|
|
|
component varchar(255) null,
|
|
|
query_params varchar(255) null,
|
|
|
is_frame char(1) null,
|
|
|
is_cache char(1) null,
|
|
|
url_path varchar(255) null,
|
|
|
url_method varchar(20) null,
|
|
|
url_opr_type varchar(20) null,
|
|
|
url_check_flag char(1) null,
|
|
|
menu_type char(1) null,
|
|
|
visible char(1) null,
|
|
|
status char(1) null,
|
|
|
perms varchar(100) null,
|
|
|
icon varchar(100) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
constraint pk_tbl_sys_menu primary key (menu_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_menu is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>Ȩ<EFBFBD>ޱ<EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.menu_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_menu.menu_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.parent_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.order_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.path is
|
|
|
'<EFBFBD><EFBFBD>·<EFBFBD>ɵ<EFBFBD>ַ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.component is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.query_params is
|
|
|
'<EFBFBD><EFBFBD>·<EFBFBD>ɲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.is_frame is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD> 1<><31>';
|
|
|
|
|
|
comment on column tbl_sys_menu.is_cache is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>Ƿ桿0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.url_path is
|
|
|
'<EFBFBD><EFBFBD>url·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.url_method is
|
|
|
'<EFBFBD><EFBFBD>URL<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>restful<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҪGET,POST<53><54>';
|
|
|
|
|
|
comment on column tbl_sys_menu.url_opr_type is
|
|
|
'<EFBFBD><EFBFBD>url<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>Ϊ<EFBFBD>˸<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݷ<EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD>query<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ <20><>add<64><64><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>edit<69><74><EFBFBD>༭<EFBFBD><E0BCAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.url_check_flag is
|
|
|
'<EFBFBD><EFBFBD>url<EFBFBD><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>Ϊ<EFBFBD>ջ<EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD>飻1У<EFBFBD>飻';
|
|
|
|
|
|
comment on column tbl_sys_menu.menu_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>MĿ¼ C<>˵<EFBFBD> F<><46>ť';
|
|
|
|
|
|
comment on column tbl_sys_menu.visible is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD>ʾ״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD>ʾ 1<><31><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_sys_menu.perms is
|
|
|
'<EFBFBD><EFBFBD>Ȩ<EFBFBD>ޱ<EFBFBD>ʶ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.icon is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>ͼ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_menu.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_menu.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_menu.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_notice */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_notice (
|
|
|
notice_id int4 not null default nextval('seq_sys_notice'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
notice_title varchar(50) null,
|
|
|
notice_type char(1) null,
|
|
|
notice_content bytea null,
|
|
|
status char(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(255) null,
|
|
|
constraint pk_tbl_sys_notice primary key (notice_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_notice is
|
|
|
'<EFBFBD><EFBFBD>֪ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_notice.notice_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_notice.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_notice.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_notice.notice_title is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⡿';
|
|
|
|
|
|
comment on column tbl_sys_notice.notice_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>1֪ͨ 2<><32><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_notice.notice_content is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_notice.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<>ر<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_notice.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_notice.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_notice.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_notice.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_notice.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_oper_log */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_oper_log (
|
|
|
oper_id int8 not null default nextval('seq_sys_oper_log'::regclass),
|
|
|
title varchar(50) null,
|
|
|
business_type int4 null,
|
|
|
method varchar(100) null,
|
|
|
request_method varchar(10) null,
|
|
|
operator_type int4 null,
|
|
|
oper_name varchar(50) null,
|
|
|
dept_name varchar(50) null,
|
|
|
oper_url varchar(255) null,
|
|
|
oper_ip varchar(128) null,
|
|
|
oper_location varchar(255) null,
|
|
|
oper_param varchar(2000) null,
|
|
|
json_result varchar(2000) null,
|
|
|
status int4 null,
|
|
|
error_msg varchar(2000) null,
|
|
|
oper_time timestamp null,
|
|
|
constraint pk_tbl_sys_oper_log primary key (oper_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_oper_log is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.oper_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.title is
|
|
|
'<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⡿';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.business_type is
|
|
|
'<EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31><EFBFBD><EFBFBD> 2<><EFBFBD> 3ɾ<33><C9BE>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.method is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.request_method is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.operator_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31>̨<EFBFBD>û<EFBFBD> 2<>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD>û<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.oper_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.dept_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.oper_url is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>URL<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.oper_ip is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.oper_location is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ص㡿';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.oper_param is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.json_result is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ز<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<>쳣';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.error_msg is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_oper_log.oper_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_post */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_post (
|
|
|
post_id int8 not null default nextval('seq_sys_post'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
post_code varchar(64) null,
|
|
|
post_name varchar(50) null,
|
|
|
post_sort int4 not null,
|
|
|
status char(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
constraint pk_tbl_sys_post primary key (post_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_post is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_post.post_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_post.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_post.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_post.post_code is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_post.post_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_post.post_sort is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_post.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_sys_post.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_post.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_post.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_post.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_post.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_role */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_role (
|
|
|
role_id int8 not null default nextval('seq_sys_role'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
role_name varchar(30) null,
|
|
|
role_key varchar(100) null,
|
|
|
role_sort int4 not null,
|
|
|
data_scope varchar(1) null,
|
|
|
menu_check_strictly varchar(1) null,
|
|
|
dept_check_strictly varchar(1) null,
|
|
|
status varchar(1) null,
|
|
|
del_flag varchar(1) null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
constraint pk_tbl_sys_role primary key (role_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_role is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.role_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_role.role_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.role_key is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫȨ<EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.role_sort is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.data_scope is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݷ<EFBFBD>Χ<EFBFBD><EFBFBD>1<EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD> 2<><32><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8> 3<><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8> 4<><34><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ż<EFBFBD><C5BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8>';
|
|
|
|
|
|
comment on column tbl_sys_role.menu_check_strictly is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.dept_check_strictly is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_sys_role.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
comment on column tbl_sys_role.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_role.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_role.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_role_dept */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_role_dept (
|
|
|
role_id int8 not null,
|
|
|
dept_id int8 not null,
|
|
|
constraint pk_tbl_sys_role_dept primary key (role_id, dept_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_role_dept is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD>Ͳ<EFBFBD><EFBFBD>Ź<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role_dept.role_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role_dept.dept_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_role_menu */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_role_menu (
|
|
|
role_id int8 not null,
|
|
|
menu_id int8 not null,
|
|
|
constraint pk_tbl_sys_role_menu primary key (role_id, menu_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_role_menu is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD>Ͳ˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role_menu.role_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_role_menu.menu_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_user */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_user (
|
|
|
user_id int8 not null default nextval('seq_sys_user'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
dept_id int8 null,
|
|
|
user_name varchar(30) null,
|
|
|
nick_name varchar(30) null,
|
|
|
user_type varchar(2) null,
|
|
|
email varchar(50) null,
|
|
|
phonenumber varchar(11) null,
|
|
|
sex char(1) null,
|
|
|
avatar varchar(100) null,
|
|
|
password varchar(100) null,
|
|
|
status char(1) null,
|
|
|
del_flag char(1) null,
|
|
|
login_ip varchar(128) null,
|
|
|
login_date timestamp null,
|
|
|
is_locked char(1) null,
|
|
|
login_error_count int4 null,
|
|
|
last_login_error_time timestamp null,
|
|
|
create_by varchar(64) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(64) null,
|
|
|
update_time timestamp null,
|
|
|
remark varchar(500) null,
|
|
|
constraint pk_tbl_sys_user primary key (user_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_user is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.user_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_user.dept_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.user_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>˺š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.nick_name is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>dzơ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.user_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>00ϵͳ<EFBFBD>û<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.email is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_user.phonenumber is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_user.sex is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><EFBFBD> 1Ů 2δ֪';
|
|
|
|
|
|
comment on column tbl_sys_user.avatar is
|
|
|
'<EFBFBD><EFBFBD>ͷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.password is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_user.status is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>ʺ<EFBFBD>״̬<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1ͣ<31><CDA3>';
|
|
|
|
|
|
comment on column tbl_sys_user.del_flag is
|
|
|
'<EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2<><32><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>';
|
|
|
|
|
|
comment on column tbl_sys_user.login_ip is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼IP<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.login_date is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_user.is_locked is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.login_error_count is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>½<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.last_login_error_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>½<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_user.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_user.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_user.remark is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_user_post */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_user_post (
|
|
|
user_id int8 not null,
|
|
|
post_id int8 not null,
|
|
|
constraint pk_tbl_sys_user_post primary key (user_id, post_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_user_post is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user_post.user_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user_post.post_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_user_role */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_user_role (
|
|
|
user_id int8 not null,
|
|
|
role_id int8 not null,
|
|
|
constraint pk_tbl_sys_user_role primary key (user_id, role_id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_user_role is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>ͽ<EFBFBD>ɫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user_role.user_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_user_role.role_id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫID<EFBFBD><EFBFBD>';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_warning_contact */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_warning_contact (
|
|
|
id int8 not null default nextval('seq_sys_warning_contact'::regclass),
|
|
|
version_num int4 not null default 0,
|
|
|
rec_token varchar(10) null,
|
|
|
warning_type varchar(32) null,
|
|
|
contact_type varchar(32) null,
|
|
|
contact varchar(32) null,
|
|
|
status varchar(32) null,
|
|
|
create_by varchar(32) null,
|
|
|
create_time timestamp null,
|
|
|
update_by varchar(32) null,
|
|
|
update_time timestamp null,
|
|
|
constraint pk_tbl_sys_warning_contact primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_warning_contact is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>澯<EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.version_num is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD>š<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.rec_token is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롿';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.warning_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>澯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.contact_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD><EFBFBD>ֻ<EFBFBD><EFBFBD><EFBFBD>:01 <20><><EFBFBD><EFBFBD>:02';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.contact is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:00 ͣ<><CDA3>:01 ɾ<><C9BE>:03';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.create_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.create_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.update_by is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_contact.update_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|
|
|
/*==============================================================*/
|
|
|
/* Table: tbl_sys_warning_log */
|
|
|
/*==============================================================*/
|
|
|
create table public.tbl_sys_warning_log (
|
|
|
id int8 not null default nextval('seq_sys_warning_log'::regclass),
|
|
|
contact_type varchar(32) null,
|
|
|
warning_type varchar(32) null,
|
|
|
contact varchar(32) null,
|
|
|
title varchar(128) null,
|
|
|
content varchar(1024) null,
|
|
|
status varchar(32) null,
|
|
|
send_time timestamp null,
|
|
|
constraint pk_tbl_sys_warning_log primary key (id)
|
|
|
);
|
|
|
|
|
|
comment on table public.tbl_sys_warning_log is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>澯<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_log.id is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> id<69><64>';
|
|
|
|
|
|
comment on column tbl_sys_warning_log.contact_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>ʽ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_log.warning_type is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD>澯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_log.contact is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ַ<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_log.title is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⡿';
|
|
|
|
|
|
comment on column tbl_sys_warning_log.content is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_log.status is
|
|
|
'<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>';
|
|
|
|
|
|
comment on column tbl_sys_warning_log.send_time is
|
|
|
'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>䡿';
|
|
|
|