修复sql部署异常
This commit is contained in:
parent
4d56cde7a9
commit
64ad0a30d4
|
|
@ -32,39 +32,3 @@ CREATE TABLE hrsa_push_setting_item
|
|||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,39 @@
|
|||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
|
||||
/
|
||||
|
||||
|
|
|
|||
|
|
@ -32,39 +32,3 @@ CREATE TABLE hrsa_push_setting_item
|
|||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,39 @@
|
|||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
|
||||
/
|
||||
|
||||
|
|
|
|||
|
|
@ -32,39 +32,3 @@ CREATE TABLE hrsa_push_setting_item
|
|||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,39 @@
|
|||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
|
||||
/
|
||||
|
||||
|
|
|
|||
|
|
@ -33,39 +33,3 @@ CREATE TABLE hrsa_push_setting_item
|
|||
PRIMARY KEY (id) USING BTREE
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id bigint(0) NOT NULL,
|
||||
name varchar(200),
|
||||
setting_id bigint(0),
|
||||
mode_id int(0),
|
||||
table_name varchar(100),
|
||||
acct_record_id bigint(0),
|
||||
type int(0),
|
||||
status int(0),
|
||||
start_time datetime(0),
|
||||
end_time datetime(0),
|
||||
creator bigint(0),
|
||||
create_time datetime(0),
|
||||
update_time datetime(0),
|
||||
delete_type int(0),
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id) USING BTREE
|
||||
);
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id bigint(0) NOT NULL,
|
||||
record_id bigint(0),
|
||||
acct_emp_id bigint(0),
|
||||
formula text,
|
||||
execute_time datetime(0),
|
||||
status int(0),
|
||||
creator bigint(0),
|
||||
create_time datetime(0),
|
||||
update_time datetime(0),
|
||||
delete_type int(0),
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id) USING BTREE
|
||||
);
|
||||
|
|
@ -1,3 +1,39 @@
|
|||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id bigint(0) NOT NULL,
|
||||
name varchar(200),
|
||||
setting_id bigint(0),
|
||||
mode_id int(0),
|
||||
table_name varchar(100),
|
||||
acct_record_id bigint(0),
|
||||
type int(0),
|
||||
status int(0),
|
||||
start_time datetime(0),
|
||||
end_time datetime(0),
|
||||
creator bigint(0),
|
||||
create_time datetime(0),
|
||||
update_time datetime(0),
|
||||
delete_type int(0),
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id) USING BTREE
|
||||
);
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id bigint(0) NOT NULL,
|
||||
record_id bigint(0),
|
||||
acct_emp_id bigint(0),
|
||||
formula text,
|
||||
execute_time datetime(0),
|
||||
status int(0),
|
||||
creator bigint(0),
|
||||
create_time datetime(0),
|
||||
update_time datetime(0),
|
||||
delete_type int(0),
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id) USING BTREE
|
||||
);
|
||||
|
||||
ALTER TABLE hrsa_push_record ADD COLUMN fail_reason varchar(4000);
|
||||
|
||||
ALTER TABLE hrsa_push_record_detail ADD COLUMN fail_reason varchar(4000) ;
|
||||
|
|
|
|||
|
|
@ -31,41 +31,4 @@ CREATE TABLE hrsa_push_setting_item
|
|||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
)
|
||||
/
|
||||
|
||||
|
||||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
)
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
)
|
||||
/
|
||||
|
|
@ -1,3 +1,39 @@
|
|||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
)
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
)
|
||||
/
|
||||
|
||||
ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
|
||||
/
|
||||
|
||||
|
|
|
|||
|
|
@ -31,41 +31,4 @@ CREATE TABLE hrsa_push_setting_item
|
|||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id bigint NOT NULL,
|
||||
name varchar(200),
|
||||
setting_id bigint,
|
||||
mode_id int,
|
||||
table_name varchar(100),
|
||||
acct_record_id bigint,
|
||||
type int,
|
||||
status int,
|
||||
start_time timestamp,
|
||||
end_time timestamp,
|
||||
creator bigint,
|
||||
create_time timestamp,
|
||||
update_time timestamp,
|
||||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id bigint NOT NULL,
|
||||
record_id bigint,
|
||||
acct_emp_id bigint,
|
||||
formula text,
|
||||
execute_time timestamp,
|
||||
status int,
|
||||
creator bigint,
|
||||
create_time timestamp,
|
||||
update_time timestamp,
|
||||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
|
@ -1,3 +1,39 @@
|
|||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id bigint NOT NULL,
|
||||
name varchar(200),
|
||||
setting_id bigint,
|
||||
mode_id int,
|
||||
table_name varchar(100),
|
||||
acct_record_id bigint,
|
||||
type int,
|
||||
status int,
|
||||
start_time timestamp,
|
||||
end_time timestamp,
|
||||
creator bigint,
|
||||
create_time timestamp,
|
||||
update_time timestamp,
|
||||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id bigint NOT NULL,
|
||||
record_id bigint,
|
||||
acct_emp_id bigint,
|
||||
formula text,
|
||||
execute_time timestamp,
|
||||
status int,
|
||||
creator bigint,
|
||||
create_time timestamp,
|
||||
update_time timestamp,
|
||||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
alter table hrsa_push_record add fail_reason VARCHAR(4000) ;
|
||||
|
||||
alter table hrsa_push_record_detail add fail_reason VARCHAR(4000) ;
|
||||
|
|
@ -33,43 +33,4 @@ CREATE TABLE hrsa_push_setting_item
|
|||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
)
|
||||
GO
|
||||
|
||||
|
||||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id bigint NOT NULL,
|
||||
name varchar(200),
|
||||
setting_id bigint,
|
||||
mode_id int,
|
||||
table_name varchar(100),
|
||||
acct_record_id bigint,
|
||||
type int,
|
||||
status int,
|
||||
start_time datetime,
|
||||
end_time datetime,
|
||||
creator bigint,
|
||||
create_time datetime,
|
||||
update_time datetime,
|
||||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
)
|
||||
GO
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id bigint NOT NULL,
|
||||
record_id bigint,
|
||||
acct_emp_id bigint,
|
||||
formula text,
|
||||
execute_time datetime,
|
||||
status int,
|
||||
creator bigint,
|
||||
create_time datetime,
|
||||
update_time datetime,
|
||||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
)
|
||||
GO
|
||||
|
|
@ -1,3 +1,41 @@
|
|||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id bigint NOT NULL,
|
||||
name varchar(200),
|
||||
setting_id bigint,
|
||||
mode_id int,
|
||||
table_name varchar(100),
|
||||
acct_record_id bigint,
|
||||
type int,
|
||||
status int,
|
||||
start_time datetime,
|
||||
end_time datetime,
|
||||
creator bigint,
|
||||
create_time datetime,
|
||||
update_time datetime,
|
||||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
)
|
||||
GO
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id bigint NOT NULL,
|
||||
record_id bigint,
|
||||
acct_emp_id bigint,
|
||||
formula text,
|
||||
execute_time datetime,
|
||||
status int,
|
||||
creator bigint,
|
||||
create_time datetime,
|
||||
update_time datetime,
|
||||
delete_type int,
|
||||
tenant_key varchar(10),
|
||||
PRIMARY KEY (id)
|
||||
)
|
||||
GO
|
||||
|
||||
alter table hrsa_push_record add fail_reason VARCHAR(4000)
|
||||
go
|
||||
|
||||
|
|
|
|||
|
|
@ -32,39 +32,3 @@ CREATE TABLE hrsa_push_setting_item
|
|||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,39 @@
|
|||
CREATE TABLE hrsa_push_record
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
name varchar2(200),
|
||||
setting_id NUMBER(38,0),
|
||||
mode_id number,
|
||||
table_name varchar2(100),
|
||||
acct_record_id NUMBER(38,0),
|
||||
type number,
|
||||
status number,
|
||||
start_time date,
|
||||
end_time date,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
CREATE TABLE hrsa_push_record_detail
|
||||
(
|
||||
id NUMBER(38,0) NOT NULL,
|
||||
record_id NUMBER(38,0),
|
||||
acct_emp_id NUMBER(38,0),
|
||||
formula CLOB,
|
||||
execute_time date,
|
||||
status number,
|
||||
creator NUMBER(38,0),
|
||||
create_time date,
|
||||
update_time date,
|
||||
delete_type number,
|
||||
tenant_key varchar2(10)
|
||||
);
|
||||
/
|
||||
|
||||
ALTER TABLE hrsa_push_record ADD fail_reason varchar2(4000);
|
||||
/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue