weaver-hrm-salary/resource/sqlupgrade/GS/sql202307180203.sql

39 lines
821 B
MySQL
Raw Normal View History

2023-07-20 09:58:27 +08:00
create table hrsa_tax_declare_api_config
(
id number primary key ,
create_time date,
update_time date,
creator number,
delete_type int default 0,
tenant_key varchar2(10),
host varchar2(255),
app_key varchar2(255),
app_secret varchar2(255)
);
/
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 not null;
/
alter table hrsa_tax_declare_api_config modify app_key not null;
/
alter table hrsa_tax_declare_api_config modify app_secret not null;
/
alter table hrsa_tax_declare_api_config add enable_use int;
/
alter table hrsa_tax_declare_api_config add totality number;
/
alter table hrsa_tax_declare_api_config add remain number;
/
alter table hrsa_tax_declare_api_config add last_update_time date;
/