File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
activejdbc/src/test/resources Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -66,19 +66,19 @@ FOR EACH ROW
66
66
67
67
68
68
-- BREAK
69
- CREATE TABLE shard1_temperatures (id NUMBER NOT NULL, temp NUMBER)
69
+ CREATE TABLE shard2_temperatures (id NUMBER NOT NULL, temp NUMBER)
70
70
-- BREAK
71
- ALTER TABLE shard1_temperatures ADD CONSTRAINT shard1_temperatures_pk PRIMARY KEY ( id )
71
+ ALTER TABLE shard2_temperatures ADD CONSTRAINT shard2_temperatures_pk PRIMARY KEY ( id )
72
72
-- BREAK
73
- CREATE SEQUENCE shard1_temperatures_seq START WITH 1 INCREMENT BY 1
73
+ CREATE SEQUENCE shard2_temperatures_seq START WITH 1 INCREMENT BY 1
74
74
-- BREAK
75
- CREATE OR REPLACE TRIGGER shard1_temperatures_trigger
76
- BEFORE INSERT ON shard1_temperatures REFERENCING
75
+ CREATE OR REPLACE TRIGGER shard2_temperatures_trigger
76
+ BEFORE INSERT ON shard2_temperatures REFERENCING
77
77
NEW AS new
78
78
OLD AS old
79
79
FOR EACH ROW
80
80
begin
81
- select coalesce(:new.id, shard1_temperatures_seq .nextval) into :new.id from dual;
81
+ select coalesce(:new.id, shard2_temperatures_seq .nextval) into :new.id from dual;
82
82
end;
83
83
84
84
You can’t perform that action at this time.
0 commit comments