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

68 lines
1.1 KiB
MySQL
Raw Normal View History

CREATE TABLE hrsa_compensation_log (
id bigint NOT NULL,
payment_agency bigint NULL ,
payment_organization bigint NULL ,
employee_id bigint NULL ,
welfare_type int NULL ,
category_type varchar(100) NULL ,
country_total text NULL ,
company_total text NULL ,
adjustment_total text NULL ,
adjust_to bigint NULL ,
bill_month varchar(30) NULL ,
creator bigint NULL ,
delete_type int NULL ,
create_time timestamp NULL DEFAULT CURRENT_TIMESTAMP ,
update_time timestamp NULL DEFAULT CURRENT_TIMESTAMP ,
tenant_key varchar(10) NULL ,
PRIMARY KEY ( id )
);
CREATE TABLE hrsa_compensation_config (
id bigint NOT NULL,
payment_agency bigint NULL ,
payment_organization bigint NULL ,
employee_id bigint NULL ,
welfare_type int NULL ,
category_type varchar(100) NULL ,
adjust_to bigint NULL ,
creator bigint NULL ,
delete_type int NULL ,
create_time timestamp NULL DEFAULT CURRENT_TIMESTAMP ,
update_time timestamp NULL DEFAULT CURRENT_TIMESTAMP ,
tenant_key varchar(10) NULL ,
PRIMARY KEY ( id )
);