quartz.sql 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  1. /*
  2. 注意:仅仅需要 Quartz 定时任务的场景,可选!!!
  3. Date: 15/06/2022 08:20:08
  4. */
  5. -- ----------------------------
  6. -- Table structure for QRTZ_BLOB_TRIGGERS
  7. -- ----------------------------
  8. DROP TABLE "QRTZ_BLOB_TRIGGERS";
  9. CREATE TABLE "QRTZ_BLOB_TRIGGERS" (
  10. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  11. "TRIGGER_NAME" VARCHAR2(200 BYTE) NOT NULL,
  12. "TRIGGER_GROUP" VARCHAR2(200 BYTE) NOT NULL,
  13. "BLOB_DATA" BLOB
  14. )
  15. LOGGING
  16. NOCOMPRESS
  17. PCTFREE 10
  18. INITRANS 1
  19. STORAGE (
  20. INITIAL 65536
  21. NEXT 1048576
  22. MINEXTENTS 1
  23. MAXEXTENTS 2147483645
  24. FREELISTS 1
  25. FREELIST GROUPS 1
  26. BUFFER_POOL DEFAULT
  27. )
  28. PARALLEL 1
  29. NOCACHE
  30. DISABLE ROW MOVEMENT
  31. ;
  32. -- ----------------------------
  33. -- Records of QRTZ_BLOB_TRIGGERS
  34. -- ----------------------------
  35. COMMIT;
  36. COMMIT;
  37. -- ----------------------------
  38. -- Table structure for QRTZ_CALENDARS
  39. -- ----------------------------
  40. DROP TABLE "QRTZ_CALENDARS";
  41. CREATE TABLE "QRTZ_CALENDARS" (
  42. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  43. "CALENDAR_NAME" VARCHAR2(200 BYTE) NOT NULL,
  44. "CALENDAR" BLOB NOT NULL
  45. )
  46. LOGGING
  47. NOCOMPRESS
  48. PCTFREE 10
  49. INITRANS 1
  50. STORAGE (
  51. INITIAL 65536
  52. NEXT 1048576
  53. MINEXTENTS 1
  54. MAXEXTENTS 2147483645
  55. FREELISTS 1
  56. FREELIST GROUPS 1
  57. BUFFER_POOL DEFAULT
  58. )
  59. PARALLEL 1
  60. NOCACHE
  61. DISABLE ROW MOVEMENT
  62. ;
  63. -- ----------------------------
  64. -- Records of QRTZ_CALENDARS
  65. -- ----------------------------
  66. COMMIT;
  67. COMMIT;
  68. -- ----------------------------
  69. -- Table structure for QRTZ_CRON_TRIGGERS
  70. -- ----------------------------
  71. DROP TABLE "QRTZ_CRON_TRIGGERS";
  72. CREATE TABLE "QRTZ_CRON_TRIGGERS" (
  73. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  74. "TRIGGER_NAME" VARCHAR2(200 BYTE) NOT NULL,
  75. "TRIGGER_GROUP" VARCHAR2(200 BYTE) NOT NULL,
  76. "CRON_EXPRESSION" VARCHAR2(120 BYTE) NOT NULL,
  77. "TIME_ZONE_ID" VARCHAR2(80 BYTE)
  78. )
  79. LOGGING
  80. NOCOMPRESS
  81. PCTFREE 10
  82. INITRANS 1
  83. STORAGE (
  84. INITIAL 65536
  85. NEXT 1048576
  86. MINEXTENTS 1
  87. MAXEXTENTS 2147483645
  88. FREELISTS 1
  89. FREELIST GROUPS 1
  90. BUFFER_POOL DEFAULT
  91. )
  92. PARALLEL 1
  93. NOCACHE
  94. DISABLE ROW MOVEMENT
  95. ;
  96. -- ----------------------------
  97. -- Records of QRTZ_CRON_TRIGGERS
  98. -- ----------------------------
  99. COMMIT;
  100. COMMIT;
  101. -- ----------------------------
  102. -- Table structure for QRTZ_FIRED_TRIGGERS
  103. -- ----------------------------
  104. DROP TABLE "QRTZ_FIRED_TRIGGERS";
  105. CREATE TABLE "QRTZ_FIRED_TRIGGERS" (
  106. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  107. "ENTRY_ID" VARCHAR2(95 BYTE) NOT NULL,
  108. "TRIGGER_NAME" VARCHAR2(200 BYTE) NOT NULL,
  109. "TRIGGER_GROUP" VARCHAR2(200 BYTE) NOT NULL,
  110. "INSTANCE_NAME" VARCHAR2(200 BYTE) NOT NULL,
  111. "FIRED_TIME" NUMBER(13,0) NOT NULL,
  112. "SCHED_TIME" NUMBER(13,0) NOT NULL,
  113. "PRIORITY" NUMBER(13,0) NOT NULL,
  114. "STATE" VARCHAR2(16 BYTE) NOT NULL,
  115. "JOB_NAME" VARCHAR2(200 BYTE),
  116. "JOB_GROUP" VARCHAR2(200 BYTE),
  117. "IS_NONCONCURRENT" VARCHAR2(1 BYTE),
  118. "REQUESTS_RECOVERY" VARCHAR2(1 BYTE)
  119. )
  120. LOGGING
  121. NOCOMPRESS
  122. PCTFREE 10
  123. INITRANS 1
  124. STORAGE (
  125. INITIAL 65536
  126. NEXT 1048576
  127. MINEXTENTS 1
  128. MAXEXTENTS 2147483645
  129. FREELISTS 1
  130. FREELIST GROUPS 1
  131. BUFFER_POOL DEFAULT
  132. )
  133. PARALLEL 1
  134. NOCACHE
  135. DISABLE ROW MOVEMENT
  136. ;
  137. -- ----------------------------
  138. -- Records of QRTZ_FIRED_TRIGGERS
  139. -- ----------------------------
  140. COMMIT;
  141. COMMIT;
  142. -- ----------------------------
  143. -- Table structure for QRTZ_JOB_DETAILS
  144. -- ----------------------------
  145. DROP TABLE "QRTZ_JOB_DETAILS";
  146. CREATE TABLE "QRTZ_JOB_DETAILS" (
  147. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  148. "JOB_NAME" VARCHAR2(200 BYTE) NOT NULL,
  149. "JOB_GROUP" VARCHAR2(200 BYTE) NOT NULL,
  150. "DESCRIPTION" VARCHAR2(250 BYTE),
  151. "JOB_CLASS_NAME" VARCHAR2(250 BYTE) NOT NULL,
  152. "IS_DURABLE" VARCHAR2(1 BYTE) NOT NULL,
  153. "IS_NONCONCURRENT" VARCHAR2(1 BYTE) NOT NULL,
  154. "IS_UPDATE_DATA" VARCHAR2(1 BYTE) NOT NULL,
  155. "REQUESTS_RECOVERY" VARCHAR2(1 BYTE) NOT NULL,
  156. "JOB_DATA" BLOB
  157. )
  158. LOGGING
  159. NOCOMPRESS
  160. PCTFREE 10
  161. INITRANS 1
  162. STORAGE (
  163. INITIAL 65536
  164. NEXT 1048576
  165. MINEXTENTS 1
  166. MAXEXTENTS 2147483645
  167. FREELISTS 1
  168. FREELIST GROUPS 1
  169. BUFFER_POOL DEFAULT
  170. )
  171. PARALLEL 1
  172. NOCACHE
  173. DISABLE ROW MOVEMENT
  174. ;
  175. -- ----------------------------
  176. -- Records of QRTZ_JOB_DETAILS
  177. -- ----------------------------
  178. COMMIT;
  179. COMMIT;
  180. -- ----------------------------
  181. -- Table structure for QRTZ_LOCKS
  182. -- ----------------------------
  183. DROP TABLE "QRTZ_LOCKS";
  184. CREATE TABLE "QRTZ_LOCKS" (
  185. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  186. "LOCK_NAME" VARCHAR2(40 BYTE) NOT NULL
  187. )
  188. LOGGING
  189. NOCOMPRESS
  190. PCTFREE 10
  191. INITRANS 1
  192. STORAGE (
  193. INITIAL 65536
  194. NEXT 1048576
  195. MINEXTENTS 1
  196. MAXEXTENTS 2147483645
  197. FREELISTS 1
  198. FREELIST GROUPS 1
  199. BUFFER_POOL DEFAULT
  200. )
  201. PARALLEL 1
  202. NOCACHE
  203. DISABLE ROW MOVEMENT
  204. ;
  205. -- ----------------------------
  206. -- Records of QRTZ_LOCKS
  207. -- ----------------------------
  208. COMMIT;
  209. COMMIT;
  210. -- ----------------------------
  211. -- Table structure for QRTZ_PAUSED_TRIGGER_GRPS
  212. -- ----------------------------
  213. DROP TABLE "QRTZ_PAUSED_TRIGGER_GRPS";
  214. CREATE TABLE "QRTZ_PAUSED_TRIGGER_GRPS" (
  215. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  216. "TRIGGER_GROUP" VARCHAR2(200 BYTE) NOT NULL
  217. )
  218. LOGGING
  219. NOCOMPRESS
  220. PCTFREE 10
  221. INITRANS 1
  222. STORAGE (
  223. INITIAL 65536
  224. NEXT 1048576
  225. MINEXTENTS 1
  226. MAXEXTENTS 2147483645
  227. FREELISTS 1
  228. FREELIST GROUPS 1
  229. BUFFER_POOL DEFAULT
  230. )
  231. PARALLEL 1
  232. NOCACHE
  233. DISABLE ROW MOVEMENT
  234. ;
  235. -- ----------------------------
  236. -- Records of QRTZ_PAUSED_TRIGGER_GRPS
  237. -- ----------------------------
  238. COMMIT;
  239. COMMIT;
  240. -- ----------------------------
  241. -- Table structure for QRTZ_SCHEDULER_STATE
  242. -- ----------------------------
  243. DROP TABLE "QRTZ_SCHEDULER_STATE";
  244. CREATE TABLE "QRTZ_SCHEDULER_STATE" (
  245. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  246. "INSTANCE_NAME" VARCHAR2(200 BYTE) NOT NULL,
  247. "LAST_CHECKIN_TIME" NUMBER(13,0) NOT NULL,
  248. "CHECKIN_INTERVAL" NUMBER(13,0) NOT NULL
  249. )
  250. LOGGING
  251. NOCOMPRESS
  252. PCTFREE 10
  253. INITRANS 1
  254. STORAGE (
  255. INITIAL 65536
  256. NEXT 1048576
  257. MINEXTENTS 1
  258. MAXEXTENTS 2147483645
  259. FREELISTS 1
  260. FREELIST GROUPS 1
  261. BUFFER_POOL DEFAULT
  262. )
  263. PARALLEL 1
  264. NOCACHE
  265. DISABLE ROW MOVEMENT
  266. ;
  267. -- ----------------------------
  268. -- Records of QRTZ_SCHEDULER_STATE
  269. -- ----------------------------
  270. COMMIT;
  271. COMMIT;
  272. -- ----------------------------
  273. -- Table structure for QRTZ_SIMPLE_TRIGGERS
  274. -- ----------------------------
  275. DROP TABLE "QRTZ_SIMPLE_TRIGGERS";
  276. CREATE TABLE "QRTZ_SIMPLE_TRIGGERS" (
  277. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  278. "TRIGGER_NAME" VARCHAR2(200 BYTE) NOT NULL,
  279. "TRIGGER_GROUP" VARCHAR2(200 BYTE) NOT NULL,
  280. "REPEAT_COUNT" NUMBER(7,0) NOT NULL,
  281. "REPEAT_INTERVAL" NUMBER(12,0) NOT NULL,
  282. "TIMES_TRIGGERED" NUMBER(10,0) NOT NULL
  283. )
  284. LOGGING
  285. NOCOMPRESS
  286. PCTFREE 10
  287. INITRANS 1
  288. STORAGE (
  289. INITIAL 65536
  290. NEXT 1048576
  291. MINEXTENTS 1
  292. MAXEXTENTS 2147483645
  293. FREELISTS 1
  294. FREELIST GROUPS 1
  295. BUFFER_POOL DEFAULT
  296. )
  297. PARALLEL 1
  298. NOCACHE
  299. DISABLE ROW MOVEMENT
  300. ;
  301. -- ----------------------------
  302. -- Records of QRTZ_SIMPLE_TRIGGERS
  303. -- ----------------------------
  304. COMMIT;
  305. COMMIT;
  306. -- ----------------------------
  307. -- Table structure for QRTZ_SIMPROP_TRIGGERS
  308. -- ----------------------------
  309. DROP TABLE "QRTZ_SIMPROP_TRIGGERS";
  310. CREATE TABLE "QRTZ_SIMPROP_TRIGGERS" (
  311. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  312. "TRIGGER_NAME" VARCHAR2(200 BYTE) NOT NULL,
  313. "TRIGGER_GROUP" VARCHAR2(200 BYTE) NOT NULL,
  314. "STR_PROP_1" VARCHAR2(512 BYTE),
  315. "STR_PROP_2" VARCHAR2(512 BYTE),
  316. "STR_PROP_3" VARCHAR2(512 BYTE),
  317. "INT_PROP_1" NUMBER(10,0),
  318. "INT_PROP_2" NUMBER(10,0),
  319. "LONG_PROP_1" NUMBER(13,0),
  320. "LONG_PROP_2" NUMBER(13,0),
  321. "DEC_PROP_1" NUMBER(13,4),
  322. "DEC_PROP_2" NUMBER(13,4),
  323. "BOOL_PROP_1" VARCHAR2(1 BYTE),
  324. "BOOL_PROP_2" VARCHAR2(1 BYTE)
  325. )
  326. LOGGING
  327. NOCOMPRESS
  328. PCTFREE 10
  329. INITRANS 1
  330. STORAGE (
  331. INITIAL 65536
  332. NEXT 1048576
  333. MINEXTENTS 1
  334. MAXEXTENTS 2147483645
  335. FREELISTS 1
  336. FREELIST GROUPS 1
  337. BUFFER_POOL DEFAULT
  338. )
  339. PARALLEL 1
  340. NOCACHE
  341. DISABLE ROW MOVEMENT
  342. ;
  343. -- ----------------------------
  344. -- Records of QRTZ_SIMPROP_TRIGGERS
  345. -- ----------------------------
  346. COMMIT;
  347. COMMIT;
  348. -- ----------------------------
  349. -- Table structure for QRTZ_TRIGGERS
  350. -- ----------------------------
  351. DROP TABLE "QRTZ_TRIGGERS";
  352. CREATE TABLE "QRTZ_TRIGGERS" (
  353. "SCHED_NAME" VARCHAR2(120 BYTE) NOT NULL,
  354. "TRIGGER_NAME" VARCHAR2(200 BYTE) NOT NULL,
  355. "TRIGGER_GROUP" VARCHAR2(200 BYTE) NOT NULL,
  356. "JOB_NAME" VARCHAR2(200 BYTE) NOT NULL,
  357. "JOB_GROUP" VARCHAR2(200 BYTE) NOT NULL,
  358. "DESCRIPTION" VARCHAR2(250 BYTE),
  359. "NEXT_FIRE_TIME" NUMBER(13,0),
  360. "PREV_FIRE_TIME" NUMBER(13,0),
  361. "PRIORITY" NUMBER(13,0),
  362. "TRIGGER_STATE" VARCHAR2(16 BYTE) NOT NULL,
  363. "TRIGGER_TYPE" VARCHAR2(8 BYTE) NOT NULL,
  364. "START_TIME" NUMBER(13,0) NOT NULL,
  365. "END_TIME" NUMBER(13,0),
  366. "CALENDAR_NAME" VARCHAR2(200 BYTE),
  367. "MISFIRE_INSTR" NUMBER(2,0),
  368. "JOB_DATA" BLOB
  369. )
  370. LOGGING
  371. NOCOMPRESS
  372. PCTFREE 10
  373. INITRANS 1
  374. STORAGE (
  375. INITIAL 65536
  376. NEXT 1048576
  377. MINEXTENTS 1
  378. MAXEXTENTS 2147483645
  379. FREELISTS 1
  380. FREELIST GROUPS 1
  381. BUFFER_POOL DEFAULT
  382. )
  383. PARALLEL 1
  384. NOCACHE
  385. DISABLE ROW MOVEMENT
  386. ;
  387. -- ----------------------------
  388. -- Records of QRTZ_TRIGGERS
  389. -- ----------------------------
  390. COMMIT;
  391. COMMIT;
  392. -- ----------------------------
  393. -- Primary Key structure for table QRTZ_BLOB_TRIGGERS
  394. -- ----------------------------
  395. ALTER TABLE "QRTZ_BLOB_TRIGGERS" ADD CONSTRAINT "QRTZ_BLOB_TRIG_PK" PRIMARY KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP");
  396. -- ----------------------------
  397. -- Checks structure for table QRTZ_BLOB_TRIGGERS
  398. -- ----------------------------
  399. ALTER TABLE "QRTZ_BLOB_TRIGGERS" ADD CONSTRAINT "SYS_C008266" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  400. ALTER TABLE "QRTZ_BLOB_TRIGGERS" ADD CONSTRAINT "SYS_C008267" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  401. ALTER TABLE "QRTZ_BLOB_TRIGGERS" ADD CONSTRAINT "SYS_C008268" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  402. ALTER TABLE "QRTZ_BLOB_TRIGGERS" ADD CONSTRAINT "SYS_C008653" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  403. ALTER TABLE "QRTZ_BLOB_TRIGGERS" ADD CONSTRAINT "SYS_C008654" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  404. ALTER TABLE "QRTZ_BLOB_TRIGGERS" ADD CONSTRAINT "SYS_C008655" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  405. -- ----------------------------
  406. -- Primary Key structure for table QRTZ_CALENDARS
  407. -- ----------------------------
  408. ALTER TABLE "QRTZ_CALENDARS" ADD CONSTRAINT "QRTZ_CALENDARS_PK" PRIMARY KEY ("SCHED_NAME", "CALENDAR_NAME");
  409. -- ----------------------------
  410. -- Checks structure for table QRTZ_CALENDARS
  411. -- ----------------------------
  412. ALTER TABLE "QRTZ_CALENDARS" ADD CONSTRAINT "SYS_C008271" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  413. ALTER TABLE "QRTZ_CALENDARS" ADD CONSTRAINT "SYS_C008272" CHECK ("CALENDAR_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  414. ALTER TABLE "QRTZ_CALENDARS" ADD CONSTRAINT "SYS_C008273" CHECK ("CALENDAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  415. ALTER TABLE "QRTZ_CALENDARS" ADD CONSTRAINT "SYS_C008656" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  416. ALTER TABLE "QRTZ_CALENDARS" ADD CONSTRAINT "SYS_C008657" CHECK ("CALENDAR_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  417. ALTER TABLE "QRTZ_CALENDARS" ADD CONSTRAINT "SYS_C008658" CHECK ("CALENDAR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  418. -- ----------------------------
  419. -- Primary Key structure for table QRTZ_CRON_TRIGGERS
  420. -- ----------------------------
  421. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "QRTZ_CRON_TRIG_PK" PRIMARY KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP");
  422. -- ----------------------------
  423. -- Checks structure for table QRTZ_CRON_TRIGGERS
  424. -- ----------------------------
  425. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "SYS_C008255" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  426. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "SYS_C008256" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  427. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "SYS_C008257" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  428. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "SYS_C008258" CHECK ("CRON_EXPRESSION" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  429. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "SYS_C008659" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  430. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "SYS_C008660" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  431. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "SYS_C008661" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  432. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "SYS_C008662" CHECK ("CRON_EXPRESSION" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  433. -- ----------------------------
  434. -- Primary Key structure for table QRTZ_FIRED_TRIGGERS
  435. -- ----------------------------
  436. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "QRTZ_FIRED_TRIGGER_PK" PRIMARY KEY ("SCHED_NAME", "ENTRY_ID");
  437. -- ----------------------------
  438. -- Checks structure for table QRTZ_FIRED_TRIGGERS
  439. -- ----------------------------
  440. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008278" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  441. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008279" CHECK ("ENTRY_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  442. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008280" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  443. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008281" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  444. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008282" CHECK ("INSTANCE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  445. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008283" CHECK ("FIRED_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  446. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008284" CHECK ("SCHED_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  447. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008285" CHECK ("PRIORITY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  448. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008286" CHECK ("STATE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  449. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008663" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  450. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008664" CHECK ("ENTRY_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  451. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008665" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  452. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008666" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  453. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008667" CHECK ("INSTANCE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  454. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008668" CHECK ("FIRED_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  455. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008669" CHECK ("SCHED_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  456. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008670" CHECK ("PRIORITY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  457. ALTER TABLE "QRTZ_FIRED_TRIGGERS" ADD CONSTRAINT "SYS_C008671" CHECK ("STATE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  458. -- ----------------------------
  459. -- Indexes structure for table QRTZ_FIRED_TRIGGERS
  460. -- ----------------------------
  461. CREATE INDEX "IDX_QRTZ_FT_INST_JOB_REQ_RCVRY"
  462. ON "QRTZ_FIRED_TRIGGERS" ("SCHED_NAME" ASC, "INSTANCE_NAME" ASC, "REQUESTS_RECOVERY" ASC)
  463. LOGGING
  464. VISIBLE
  465. PCTFREE 10
  466. INITRANS 2
  467. STORAGE (
  468. INITIAL 65536
  469. NEXT 1048576
  470. MINEXTENTS 1
  471. MAXEXTENTS 2147483645
  472. FREELISTS 1
  473. FREELIST GROUPS 1
  474. BUFFER_POOL DEFAULT
  475. );
  476. CREATE INDEX "IDX_QRTZ_FT_JG"
  477. ON "QRTZ_FIRED_TRIGGERS" ("SCHED_NAME" ASC, "JOB_GROUP" ASC)
  478. LOGGING
  479. ONLINE
  480. NOSORT
  481. VISIBLE
  482. PCTFREE 10
  483. INITRANS 2
  484. STORAGE (
  485. INITIAL 65536
  486. NEXT 1048576
  487. MINEXTENTS 1
  488. MAXEXTENTS 2147483645
  489. FREELISTS 1
  490. FREELIST GROUPS 1
  491. BUFFER_POOL DEFAULT
  492. );
  493. CREATE INDEX "IDX_QRTZ_FT_J_G"
  494. ON "QRTZ_FIRED_TRIGGERS" ("SCHED_NAME" ASC, "JOB_NAME" ASC, "JOB_GROUP" ASC)
  495. LOGGING
  496. VISIBLE
  497. PCTFREE 10
  498. INITRANS 2
  499. STORAGE (
  500. INITIAL 65536
  501. NEXT 1048576
  502. MINEXTENTS 1
  503. MAXEXTENTS 2147483645
  504. FREELISTS 1
  505. FREELIST GROUPS 1
  506. BUFFER_POOL DEFAULT
  507. );
  508. CREATE INDEX "IDX_QRTZ_FT_TG"
  509. ON "QRTZ_FIRED_TRIGGERS" ("SCHED_NAME" ASC, "TRIGGER_GROUP" ASC) LOCAL
  510. LOGGING
  511. NOSORT
  512. VISIBLE
  513. PCTFREE 10
  514. INITRANS 2
  515. STORAGE (
  516. INITIAL 65536
  517. NEXT 1048576
  518. MINEXTENTS 1
  519. MAXEXTENTS 2147483645
  520. FREELISTS 1
  521. FREELIST GROUPS 1
  522. BUFFER_POOL DEFAULT
  523. );
  524. -- ----------------------------
  525. -- Primary Key structure for table QRTZ_JOB_DETAILS
  526. -- ----------------------------
  527. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "QRTZ_JOB_DETAILS_PK" PRIMARY KEY ("SCHED_NAME", "JOB_NAME", "JOB_GROUP");
  528. -- ----------------------------
  529. -- Checks structure for table QRTZ_JOB_DETAILS
  530. -- ----------------------------
  531. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "SYS_C008228" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  532. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "SYS_C008229" CHECK ("JOB_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  533. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "SYS_C008230" CHECK ("JOB_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  534. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "SYS_C008231" CHECK ("JOB_CLASS_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  535. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "SYS_C008232" CHECK ("IS_DURABLE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  536. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "SYS_C008233" CHECK ("IS_NONCONCURRENT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  537. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "SYS_C008234" CHECK ("IS_UPDATE_DATA" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  538. ALTER TABLE "QRTZ_JOB_DETAILS" ADD CONSTRAINT "SYS_C008235" CHECK ("REQUESTS_RECOVERY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  539. -- ----------------------------
  540. -- Indexes structure for table QRTZ_JOB_DETAILS
  541. -- ----------------------------
  542. CREATE INDEX "IDX_QRTZ_J_GRP"
  543. ON "QRTZ_JOB_DETAILS" ("SCHED_NAME" ASC, "JOB_GROUP" ASC)
  544. LOGGING
  545. VISIBLE
  546. PCTFREE 10
  547. INITRANS 2
  548. STORAGE (
  549. INITIAL 65536
  550. NEXT 1048576
  551. MINEXTENTS 1
  552. MAXEXTENTS 2147483645
  553. FREELISTS 1
  554. FREELIST GROUPS 1
  555. BUFFER_POOL DEFAULT
  556. );
  557. CREATE INDEX "IDX_QRTZ_J_REQ_RECOVERY"
  558. ON "QRTZ_JOB_DETAILS" ("SCHED_NAME" ASC, "REQUESTS_RECOVERY" ASC) LOCAL
  559. LOGGING
  560. VISIBLE
  561. PCTFREE 10
  562. INITRANS 2
  563. STORAGE (
  564. INITIAL 65536
  565. NEXT 1048576
  566. MINEXTENTS 1
  567. MAXEXTENTS 2147483645
  568. FREELISTS 1
  569. FREELIST GROUPS 1
  570. BUFFER_POOL DEFAULT
  571. );
  572. -- ----------------------------
  573. -- Primary Key structure for table QRTZ_LOCKS
  574. -- ----------------------------
  575. ALTER TABLE "QRTZ_LOCKS" ADD CONSTRAINT "QRTZ_LOCKS_PK" PRIMARY KEY ("SCHED_NAME", "LOCK_NAME");
  576. -- ----------------------------
  577. -- Checks structure for table QRTZ_LOCKS
  578. -- ----------------------------
  579. ALTER TABLE "QRTZ_LOCKS" ADD CONSTRAINT "SYS_C008293" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  580. ALTER TABLE "QRTZ_LOCKS" ADD CONSTRAINT "SYS_C008294" CHECK ("LOCK_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  581. ALTER TABLE "QRTZ_LOCKS" ADD CONSTRAINT "SYS_C008672" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  582. ALTER TABLE "QRTZ_LOCKS" ADD CONSTRAINT "SYS_C008673" CHECK ("LOCK_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  583. -- ----------------------------
  584. -- Primary Key structure for table QRTZ_PAUSED_TRIGGER_GRPS
  585. -- ----------------------------
  586. ALTER TABLE "QRTZ_PAUSED_TRIGGER_GRPS" ADD CONSTRAINT "QRTZ_PAUSED_TRIG_GRPS_PK" PRIMARY KEY ("SCHED_NAME", "TRIGGER_GROUP");
  587. -- ----------------------------
  588. -- Checks structure for table QRTZ_PAUSED_TRIGGER_GRPS
  589. -- ----------------------------
  590. ALTER TABLE "QRTZ_PAUSED_TRIGGER_GRPS" ADD CONSTRAINT "SYS_C008275" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  591. ALTER TABLE "QRTZ_PAUSED_TRIGGER_GRPS" ADD CONSTRAINT "SYS_C008276" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  592. ALTER TABLE "QRTZ_PAUSED_TRIGGER_GRPS" ADD CONSTRAINT "SYS_C008674" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  593. ALTER TABLE "QRTZ_PAUSED_TRIGGER_GRPS" ADD CONSTRAINT "SYS_C008675" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  594. -- ----------------------------
  595. -- Primary Key structure for table QRTZ_SCHEDULER_STATE
  596. -- ----------------------------
  597. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "QRTZ_SCHEDULER_STATE_PK" PRIMARY KEY ("SCHED_NAME", "INSTANCE_NAME");
  598. -- ----------------------------
  599. -- Checks structure for table QRTZ_SCHEDULER_STATE
  600. -- ----------------------------
  601. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "SYS_C008288" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  602. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "SYS_C008289" CHECK ("INSTANCE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  603. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "SYS_C008290" CHECK ("LAST_CHECKIN_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  604. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "SYS_C008291" CHECK ("CHECKIN_INTERVAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  605. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "SYS_C008676" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  606. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "SYS_C008677" CHECK ("INSTANCE_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  607. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "SYS_C008678" CHECK ("LAST_CHECKIN_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  608. ALTER TABLE "QRTZ_SCHEDULER_STATE" ADD CONSTRAINT "SYS_C008679" CHECK ("CHECKIN_INTERVAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  609. -- ----------------------------
  610. -- Primary Key structure for table QRTZ_SIMPLE_TRIGGERS
  611. -- ----------------------------
  612. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "QRTZ_SIMPLE_TRIG_PK" PRIMARY KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP");
  613. -- ----------------------------
  614. -- Checks structure for table QRTZ_SIMPLE_TRIGGERS
  615. -- ----------------------------
  616. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008247" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  617. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008248" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  618. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008249" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  619. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008250" CHECK ("REPEAT_COUNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  620. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008251" CHECK ("REPEAT_INTERVAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  621. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008252" CHECK ("TIMES_TRIGGERED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  622. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008680" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  623. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008681" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  624. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008682" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  625. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008683" CHECK ("REPEAT_COUNT" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  626. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008684" CHECK ("REPEAT_INTERVAL" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  627. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "SYS_C008685" CHECK ("TIMES_TRIGGERED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  628. -- ----------------------------
  629. -- Primary Key structure for table QRTZ_SIMPROP_TRIGGERS
  630. -- ----------------------------
  631. ALTER TABLE "QRTZ_SIMPROP_TRIGGERS" ADD CONSTRAINT "QRTZ_SIMPROP_TRIG_PK" PRIMARY KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP");
  632. -- ----------------------------
  633. -- Checks structure for table QRTZ_SIMPROP_TRIGGERS
  634. -- ----------------------------
  635. ALTER TABLE "QRTZ_SIMPROP_TRIGGERS" ADD CONSTRAINT "SYS_C008261" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  636. ALTER TABLE "QRTZ_SIMPROP_TRIGGERS" ADD CONSTRAINT "SYS_C008262" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  637. ALTER TABLE "QRTZ_SIMPROP_TRIGGERS" ADD CONSTRAINT "SYS_C008263" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  638. ALTER TABLE "QRTZ_SIMPROP_TRIGGERS" ADD CONSTRAINT "SYS_C008686" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  639. ALTER TABLE "QRTZ_SIMPROP_TRIGGERS" ADD CONSTRAINT "SYS_C008687" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  640. ALTER TABLE "QRTZ_SIMPROP_TRIGGERS" ADD CONSTRAINT "SYS_C008688" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  641. -- ----------------------------
  642. -- Primary Key structure for table QRTZ_TRIGGERS
  643. -- ----------------------------
  644. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "QRTZ_TRIGGERS_PK" PRIMARY KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP");
  645. -- ----------------------------
  646. -- Checks structure for table QRTZ_TRIGGERS
  647. -- ----------------------------
  648. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008237" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  649. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008238" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  650. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008239" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  651. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008240" CHECK ("JOB_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  652. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008241" CHECK ("JOB_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  653. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008242" CHECK ("TRIGGER_STATE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  654. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008243" CHECK ("TRIGGER_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  655. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008244" CHECK ("START_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  656. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008689" CHECK ("SCHED_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  657. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008690" CHECK ("TRIGGER_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  658. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008691" CHECK ("TRIGGER_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  659. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008692" CHECK ("JOB_NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  660. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008693" CHECK ("JOB_GROUP" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  661. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008694" CHECK ("TRIGGER_STATE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  662. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008695" CHECK ("TRIGGER_TYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  663. ALTER TABLE "QRTZ_TRIGGERS" ADD CONSTRAINT "SYS_C008696" CHECK ("START_TIME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  664. -- ----------------------------
  665. -- Indexes structure for table QRTZ_TRIGGERS
  666. -- ----------------------------
  667. CREATE INDEX "IDX_QRTZ_T_C"
  668. ON "QRTZ_TRIGGERS" ("SCHED_NAME" ASC, "CALENDAR_NAME" ASC) LOCAL
  669. LOGGING
  670. ONLINE
  671. NOSORT
  672. VISIBLE
  673. PCTFREE 10
  674. INITRANS 2
  675. STORAGE (
  676. INITIAL 65536
  677. NEXT 1048576
  678. MINEXTENTS 1
  679. MAXEXTENTS 2147483645
  680. FREELISTS 1
  681. FREELIST GROUPS 1
  682. BUFFER_POOL DEFAULT
  683. );
  684. CREATE INDEX "IDX_QRTZ_T_J"
  685. ON "QRTZ_TRIGGERS" ("SCHED_NAME" ASC, "JOB_NAME" ASC, "JOB_GROUP" ASC)
  686. LOGGING
  687. VISIBLE
  688. PCTFREE 10
  689. INITRANS 2
  690. STORAGE (
  691. INITIAL 65536
  692. NEXT 1048576
  693. MINEXTENTS 1
  694. MAXEXTENTS 2147483645
  695. FREELISTS 1
  696. FREELIST GROUPS 1
  697. BUFFER_POOL DEFAULT
  698. );
  699. CREATE INDEX "IDX_QRTZ_T_JG"
  700. ON "QRTZ_TRIGGERS" ("SCHED_NAME" ASC, "JOB_GROUP" ASC) LOCAL
  701. LOGGING
  702. ONLINE
  703. NOSORT
  704. VISIBLE
  705. PCTFREE 10
  706. INITRANS 2
  707. STORAGE (
  708. INITIAL 65536
  709. NEXT 1048576
  710. MINEXTENTS 1
  711. MAXEXTENTS 2147483645
  712. FREELISTS 1
  713. FREELIST GROUPS 1
  714. BUFFER_POOL DEFAULT
  715. );
  716. CREATE INDEX "IDX_QRTZ_T_NEXT_FIRE_TIME"
  717. ON "QRTZ_TRIGGERS" ("SCHED_NAME" ASC, "NEXT_FIRE_TIME" ASC)
  718. LOGGING
  719. VISIBLE
  720. PCTFREE 10
  721. INITRANS 2
  722. STORAGE (
  723. INITIAL 65536
  724. NEXT 1048576
  725. MINEXTENTS 1
  726. MAXEXTENTS 2147483645
  727. FREELISTS 1
  728. FREELIST GROUPS 1
  729. BUFFER_POOL DEFAULT
  730. );
  731. CREATE INDEX "IDX_QRTZ_T_NFT_ST"
  732. ON "QRTZ_TRIGGERS" ("SCHED_NAME" ASC, "TRIGGER_STATE" ASC, "NEXT_FIRE_TIME" ASC) LOCAL
  733. LOGGING
  734. VISIBLE
  735. PCTFREE 10
  736. INITRANS 2
  737. STORAGE (
  738. INITIAL 65536
  739. NEXT 1048576
  740. MINEXTENTS 1
  741. MAXEXTENTS 2147483645
  742. FREELISTS 1
  743. FREELIST GROUPS 1
  744. BUFFER_POOL DEFAULT
  745. );
  746. CREATE INDEX "IDX_QRTZ_T_NFT_ST_MISFIRE"
  747. ON "QRTZ_TRIGGERS" ("SCHED_NAME" ASC, "MISFIRE_INSTR" ASC, "NEXT_FIRE_TIME" ASC, "TRIGGER_STATE" ASC) LOCAL
  748. LOGGING
  749. ONLINE
  750. NOSORT
  751. VISIBLE
  752. PCTFREE 10
  753. INITRANS 2
  754. STORAGE (
  755. INITIAL 65536
  756. NEXT 1048576
  757. MINEXTENTS 1
  758. MAXEXTENTS 2147483645
  759. FREELISTS 1
  760. FREELIST GROUPS 1
  761. BUFFER_POOL DEFAULT
  762. );
  763. CREATE INDEX "IDX_QRTZ_T_STATE"
  764. ON "QRTZ_TRIGGERS" ("SCHED_NAME" ASC, "TRIGGER_STATE" ASC)
  765. LOGGING
  766. VISIBLE
  767. PCTFREE 10
  768. INITRANS 2
  769. STORAGE (
  770. INITIAL 65536
  771. NEXT 1048576
  772. MINEXTENTS 1
  773. MAXEXTENTS 2147483645
  774. FREELISTS 1
  775. FREELIST GROUPS 1
  776. BUFFER_POOL DEFAULT
  777. );
  778. -- ----------------------------
  779. -- Foreign Keys structure for table QRTZ_BLOB_TRIGGERS
  780. -- ----------------------------
  781. ALTER TABLE "QRTZ_BLOB_TRIGGERS" ADD CONSTRAINT "QRTZ_BLOB_TRIG_TO_TRIG_FK" FOREIGN KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP") REFERENCES "QRTZ_TRIGGERS" ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  782. -- ----------------------------
  783. -- Foreign Keys structure for table QRTZ_CRON_TRIGGERS
  784. -- ----------------------------
  785. ALTER TABLE "QRTZ_CRON_TRIGGERS" ADD CONSTRAINT "QRTZ_CRON_TRIG_TO_TRIG_FK" FOREIGN KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP") REFERENCES "QRTZ_TRIGGERS" ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  786. -- ----------------------------
  787. -- Foreign Keys structure for table QRTZ_SIMPLE_TRIGGERS
  788. -- ----------------------------
  789. ALTER TABLE "QRTZ_SIMPLE_TRIGGERS" ADD CONSTRAINT "QRTZ_SIMPLE_TRIG_TO_TRIG_FK" FOREIGN KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP") REFERENCES "QRTZ_TRIGGERS" ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  790. -- ----------------------------
  791. -- Foreign Keys structure for table QRTZ_SIMPROP_TRIGGERS
  792. -- ----------------------------
  793. ALTER TABLE "QRTZ_SIMPROP_TRIGGERS" ADD CONSTRAINT "QRTZ_SIMPROP_TRIG_TO_TRIG_FK" FOREIGN KEY ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP") REFERENCES "QRTZ_TRIGGERS" ("SCHED_NAME", "TRIGGER_NAME", "TRIGGER_GROUP") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;