Skip to content

Commit

Permalink
Fixes #508 - table QRTZ_SIMPROP_TRIGGERS not created with H2 1.4.200
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso authored and chrisdennis committed Oct 22, 2019
1 parent 77e9826 commit 1260eb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ CREATE TABLE QRTZ_SIMPLE_TRIGGERS (
TIMES_TRIGGERED BIGINT NOT NULL
);

CREATE TABLE qrtz_simprop_triggers
(
CREATE TABLE QRTZ_SIMPROP_TRIGGERS (
SCHED_NAME VARCHAR(120) NOT NULL,
TRIGGER_NAME VARCHAR(200) NOT NULL,
TRIGGER_GROUP VARCHAR(200) NOT NULL,
Expand All @@ -91,7 +90,7 @@ CREATE TABLE qrtz_simprop_triggers
DEC_PROP_1 NUMERIC(13,4) NULL,
DEC_PROP_2 NUMERIC(13,4) NULL,
BOOL_PROP_1 BOOLEAN NULL,
BOOL_PROP_2 BOOLEAN NULL,
BOOL_PROP_2 BOOLEAN NULL
);

CREATE TABLE QRTZ_BLOB_TRIGGERS (
Expand Down
5 changes: 2 additions & 3 deletions quartz/src/main/assembly/root/docs/dbTables/tables_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ CREATE TABLE QRTZ_SIMPLE_TRIGGERS (
TIMES_TRIGGERED BIGINT NOT NULL
);

CREATE TABLE qrtz_simprop_triggers
(
CREATE TABLE QRTZ_SIMPROP_TRIGGERS (
SCHED_NAME VARCHAR(120) NOT NULL,
TRIGGER_NAME VARCHAR(200) NOT NULL,
TRIGGER_GROUP VARCHAR(200) NOT NULL,
Expand All @@ -91,7 +90,7 @@ CREATE TABLE qrtz_simprop_triggers
DEC_PROP_1 NUMERIC(13,4) NULL,
DEC_PROP_2 NUMERIC(13,4) NULL,
BOOL_PROP_1 BOOLEAN NULL,
BOOL_PROP_2 BOOLEAN NULL,
BOOL_PROP_2 BOOLEAN NULL
);

CREATE TABLE QRTZ_BLOB_TRIGGERS (
Expand Down

0 comments on commit 1260eb9

Please sign in to comment.