37 lines
863 B
SQL
37 lines
863 B
SQL
create table hrsa_tax_declare_api_config
|
|
(
|
|
id bigint primary key ,
|
|
create_time timestamp,
|
|
update_time timestamp,
|
|
creator bigint,
|
|
delete_type int default 0,
|
|
tenant_key varchar(10),
|
|
host varchar(255),
|
|
app_key varchar(255),
|
|
app_secret varchar(255)
|
|
);
|
|
/
|
|
|
|
create unique index idx_tenant_key_api_a6f21b46 on hrsa_tax_declare_api_config(tenant_key);
|
|
/
|
|
|
|
alter table hrsa_tax_declare_api_config alter column host set not null ;
|
|
/
|
|
|
|
alter table hrsa_tax_declare_api_config alter column app_key set not null ;
|
|
/
|
|
|
|
alter table hrsa_tax_declare_api_config alter column app_secret set 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 timestamp;
|
|
/ |