| | |
| | | update_time datetime comment '更新时间', |
| | | primary key (column_id) |
| | | ) engine=innodb auto_increment=1 comment = '代码生成业务表字段'; |
| | | |
| | | |
| | | -- ---------------------------- |
| | | -- 20、客户应用配置表 |
| | | -- ---------------------------- |
| | | drop table if exists sys_client_app; |
| | | create table sys_client_app ( |
| | | app_id bigint(20) not null auto_increment comment '应用ID', |
| | | client_name varchar(50) not null comment '客户名称', |
| | | app_key varchar(64) not null comment '应用标识', |
| | | security_key varchar(64) not null comment '安全密钥', |
| | | valid_start_time datetime comment '有效期开始时间', |
| | | valid_end_time datetime comment '有效期结束时间', |
| | | status char(1) default '0' comment '状态(0正常 1停用)', |
| | | del_flag char(1) default '0' comment '删除标志(0代表存在 2代表删除)', |
| | | create_by varchar(64) default '' comment '创建者', |
| | | create_time datetime comment '创建时间', |
| | | update_by varchar(64) default '' comment '更新者', |
| | | update_time datetime comment '更新时间', |
| | | remark varchar(500) default null comment '备注', |
| | | primary key (app_id), |
| | | unique (app_key) |
| | | ) engine=innodb auto_increment=100 comment = '客户应用配置表'; |
| | | |
| | | -- ---------------------------- |
| | | -- 初始化-客户应用配置表数据 |
| | | -- ---------------------------- |