weaver-hrm-salary/resource/sqlupgrade/PG/sql202307180103.sql

33 lines
755 B
SQL

create table hrsa_tax_declare_api_profile
(
id bigint primary key ,
create_time timestamp,
update_time timestamp,
creator bigint,
delete_type int default 0,
tenant_key varchar(10),
api_profile int
);
/
create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key);
/
create table hrsa_tax_payment_request
(
id bigint primary key ,
create_time timestamp,
update_time timestamp,
creator bigint,
delete_type int default 0,
tenant_key varchar(10),
tax_agent_id bigint not null,
tax_declare_record_id bigint,
tax_year_month date not null,
request_id varchar(50) not null,
request_type int not null
);
/
create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key);
/