[JAVA-26711]
This commit is contained in:
parent
44e565ffe8
commit
9b744641be
|
@ -1,6 +1,6 @@
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
driverClassName: org.h2.Driver
|
driverClassName: org.h2.Driver
|
||||||
url: jdbc:h2:mem:shedlock_DB;INIT=CREATE SCHEMA IF NOT EXISTS shedlock;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
url: jdbc:h2:mem:shedlock_db;INIT=CREATE SCHEMA IF NOT EXISTS shedlock;DATABASE_TO_UPPER=false;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
||||||
username: sa
|
username: sa
|
||||||
password:
|
password:
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
CREATE TABLE IF NOT EXISTS shedlock(
|
||||||
|
name VARCHAR(64) NOT NULL,
|
||||||
|
lock_until TIMESTAMP NOT NULL,
|
||||||
|
locked_at TIMESTAMP NOT NULL,
|
||||||
|
locked_by VARCHAR(255) NOT NULL,
|
||||||
|
PRIMARY KEY (name)
|
||||||
|
);
|
Loading…
Reference in New Issue