[ShedLock 추가 및 멤버 더미데이터 생성 로직 구현현] 분산 스케줄링을 위한 ShedLock 라이브러리를 추가하고, 멤버 추가(더미데이터) 스케줄러를 구현
This commit is contained in:
7
src/main/resources/schema_initial.sql
Normal file
7
src/main/resources/schema_initial.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS shedlock (
|
||||
name varchar(64) NOT NULL,
|
||||
lock_until timestamptz(3) NOT NULL,
|
||||
locked_at timestamptz(3) NOT NULL,
|
||||
locked_by varchar(255) NOT NULL,
|
||||
CONSTRAINT shedlock_pkey PRIMARY KEY (name)
|
||||
);
|
||||
Reference in New Issue
Block a user