37 lines
1.0 KiB
MySQL
37 lines
1.0 KiB
MySQL
|
|
create table hrsa_tax_declare_api_config
|
|||
|
|
(
|
|||
|
|
id bigint primary key comment 'ID' ,
|
|||
|
|
create_time datetime comment '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' ,
|
|||
|
|
update_time datetime comment '<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' ,
|
|||
|
|
creator bigint comment '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id' ,
|
|||
|
|
delete_type int default 0 comment '<EFBFBD>Ƿ<EFBFBD>ɾ<EFBFBD><EFBFBD>' ,
|
|||
|
|
tenant_key varchar(10) comment '<EFBFBD>⻧KEY' ,
|
|||
|
|
host varchar(255) comment '<EFBFBD>ӿ<EFBFBD>host' ,
|
|||
|
|
app_key varchar(255) comment 'appKey' ,
|
|||
|
|
app_secret varchar(255) comment 'appSecret'
|
|||
|
|
)
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key)
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
alter table hrsa_tax_declare_api_config modify host varchar(255) not null
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
alter table hrsa_tax_declare_api_config modify app_key varchar(255) not null
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
alter table hrsa_tax_declare_api_config modify app_secret varchar(255) not null
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
alter table hrsa_tax_declare_api_config add enable_use int
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
alter table hrsa_tax_declare_api_config add totality bigint
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
alter table hrsa_tax_declare_api_config add remain bigint
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
alter table hrsa_tax_declare_api_config add last_update_time datetime
|
|||
|
|
;
|