weaver-hrm-salary/resource/sql/修改Oracle错误.sql

21 lines
779 B
SQL

DROP TABLE hrsa_tax_agent_manage_range
/
CREATE TABLE hrsa_tax_agent_manage_range
(
id NUMBER(38,0) primary key NOT NULL,
tax_agent_id NUMBER(38,0) NOT NULL,
employee_id NUMBER(38,0) DEFAULT 0,
tax_agent_sub_admin_id NUMBER(38,0) DEFAULT 0,
target_type number DEFAULT 1,
target_id NUMBER(38,0) NOT NULL,
employee_status varchar2(100) NOT NULL,
include_type number DEFAULT 1,
creator NUMBER(38,0) DEFAULT '0',
create_time date DEFAULT sysdate,
update_time date DEFAULT sysdate,
delete_type number DEFAULT 0 ,
tenant_key varchar2(10) DEFAULT '',
range_type number DEFAULT 0
)
/