CREATE TABLE fun_qrtz_locks (
    SCHED_NAME               VARCHAR2(480),
    LOCK_NAME                VARCHAR2(160),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    LOCK_NAME                VARCHAR2(160),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    SCHED_NAME               VARCHAR2(480),
    CONSTRAINT pk_fun_qrtz_locks PRIMARY KEY (SCHED_NAME, LOCK_NAME, LOCK_NAME, SCHED_NAME)
);
