flowable.yashan.all.create.sql 172 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : ysdb_localhost
  4. Source Server Type : YSDB
  5. Source Server Version : 110200
  6. Source Host : 127.0.0.1
  7. Source Schema : BLADEX
  8. Target Server Type : YSDB
  9. Target Server Version : 110200
  10. File Encoding : 65001
  11. Date: 15/03/2024 01:16:45
  12. */
  13. -- ----------------------------
  14. -- Table structure for ACT_APP_APPDEF
  15. -- ----------------------------
  16. -- DROP TABLE "ACT_APP_APPDEF";
  17. CREATE TABLE "ACT_APP_APPDEF" (
  18. "ID_" VARCHAR(255) NOT NULL,
  19. "REV_" NUMBER NOT NULL,
  20. "NAME_" VARCHAR(255),
  21. "KEY_" VARCHAR(255) NOT NULL,
  22. "VERSION_" NUMBER NOT NULL,
  23. "CATEGORY_" VARCHAR(255),
  24. "DEPLOYMENT_ID_" VARCHAR(255),
  25. "RESOURCE_NAME_" VARCHAR(4000),
  26. "DESCRIPTION_" VARCHAR(4000),
  27. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  28. )
  29. INITRANS 1
  30. TABLESPACE "USERS"
  31. STORAGE (INITIAL 65536) ;
  32. -- ----------------------------
  33. -- Records of ACT_APP_APPDEF
  34. -- ----------------------------
  35. COMMIT;
  36. -- ----------------------------
  37. -- Table structure for ACT_APP_DATABASECHANGELOG
  38. -- ----------------------------
  39. -- DROP TABLE "ACT_APP_DATABASECHANGELOG";
  40. CREATE TABLE "ACT_APP_DATABASECHANGELOG" (
  41. "ID" VARCHAR(255) NOT NULL,
  42. "AUTHOR" VARCHAR(255) NOT NULL,
  43. "FILENAME" VARCHAR(255) NOT NULL,
  44. "DATEEXECUTED" TIMESTAMP NOT NULL,
  45. "ORDEREXECUTED" NUMBER NOT NULL,
  46. "EXECTYPE" VARCHAR(10) NOT NULL,
  47. "MD5SUM" VARCHAR(35),
  48. "DESCRIPTION" VARCHAR(255),
  49. "COMMENTS" VARCHAR(255),
  50. "TAG" VARCHAR(255),
  51. "LIQUIBASE" VARCHAR(20),
  52. "CONTEXTS" VARCHAR(255),
  53. "LABELS" VARCHAR(255),
  54. "DEPLOYMENT_ID" VARCHAR(10)
  55. )
  56. INITRANS 1
  57. TABLESPACE "USERS"
  58. STORAGE (INITIAL 65536) ;
  59. -- ----------------------------
  60. -- Records of ACT_APP_DATABASECHANGELOG
  61. -- ----------------------------
  62. INSERT INTO "ACT_APP_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('1', 'flowable', 'org/flowable/app/db/liquibase/flowable-app-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:02.893666', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '1', 'EXECUTED', '9:959783069c0c7ce80320a0617aa48969', 'createTable tableName=ACT_APP_DEPLOYMENT; createTable tableName=ACT_APP_DEPLOYMENT_RESOURCE; addForeignKeyConstraint baseTableName=ACT_APP_DEPLOYMENT_RESOURCE, constraintName=ACT_FK_APP_RSRC_DPL, referencedTableName=ACT_APP_DEPLOYMENT; createIndex...', NULL, NULL, '3.5.3', NULL, NULL, '9500486764');
  63. INSERT INTO "ACT_APP_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('3', 'flowable', 'org/flowable/app/db/liquibase/flowable-app-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:03.090284', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '2', 'EXECUTED', '9:c05b79a3b00e95136533085718361208', 'createIndex indexName=ACT_IDX_APP_DEF_UNIQ, tableName=ACT_APP_APPDEF', NULL, NULL, '3.5.3', NULL, NULL, '9500486764');
  64. COMMIT;
  65. -- ----------------------------
  66. -- Table structure for ACT_APP_DATABASECHANGELOGLOCK
  67. -- ----------------------------
  68. -- DROP TABLE "ACT_APP_DATABASECHANGELOGLOCK";
  69. CREATE TABLE "ACT_APP_DATABASECHANGELOGLOCK" (
  70. "ID" NUMBER NOT NULL,
  71. "LOCKED" NUMBER(1) NOT NULL,
  72. "LOCKGRANTED" TIMESTAMP,
  73. "LOCKEDBY" VARCHAR(255)
  74. )
  75. INITRANS 1
  76. TABLESPACE "USERS"
  77. STORAGE (INITIAL 65536) ;
  78. -- ----------------------------
  79. -- Records of ACT_APP_DATABASECHANGELOGLOCK
  80. -- ----------------------------
  81. INSERT INTO "ACT_APP_DATABASECHANGELOGLOCK" ("ID", "LOCKED", "LOCKGRANTED", "LOCKEDBY") VALUES ('1', '0', NULL, NULL);
  82. COMMIT;
  83. -- ----------------------------
  84. -- Table structure for ACT_APP_DEPLOYMENT
  85. -- ----------------------------
  86. -- DROP TABLE "ACT_APP_DEPLOYMENT";
  87. CREATE TABLE "ACT_APP_DEPLOYMENT" (
  88. "ID_" VARCHAR(255) NOT NULL,
  89. "NAME_" VARCHAR(255),
  90. "CATEGORY_" VARCHAR(255),
  91. "KEY_" VARCHAR(255),
  92. "DEPLOY_TIME_" TIMESTAMP,
  93. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  94. )
  95. INITRANS 1
  96. TABLESPACE "USERS"
  97. STORAGE (INITIAL 65536) ;
  98. -- ----------------------------
  99. -- Records of ACT_APP_DEPLOYMENT
  100. -- ----------------------------
  101. COMMIT;
  102. -- ----------------------------
  103. -- Table structure for ACT_APP_DEPLOYMENT_RESOURCE
  104. -- ----------------------------
  105. -- DROP TABLE "ACT_APP_DEPLOYMENT_RESOURCE";
  106. CREATE TABLE "ACT_APP_DEPLOYMENT_RESOURCE" (
  107. "ID_" VARCHAR(255) NOT NULL,
  108. "NAME_" VARCHAR(255),
  109. "DEPLOYMENT_ID_" VARCHAR(255),
  110. "RESOURCE_BYTES_" BLOB
  111. )
  112. INITRANS 1
  113. TABLESPACE "USERS"
  114. STORAGE (INITIAL 65536) ;
  115. -- ----------------------------
  116. -- Records of ACT_APP_DEPLOYMENT_RESOURCE
  117. -- ----------------------------
  118. COMMIT;
  119. -- ----------------------------
  120. -- Table structure for ACT_CMMN_CASEDEF
  121. -- ----------------------------
  122. -- DROP TABLE "ACT_CMMN_CASEDEF";
  123. CREATE TABLE "ACT_CMMN_CASEDEF" (
  124. "ID_" VARCHAR(255) NOT NULL,
  125. "REV_" NUMBER NOT NULL,
  126. "NAME_" VARCHAR(255),
  127. "KEY_" VARCHAR(255) NOT NULL,
  128. "VERSION_" NUMBER NOT NULL,
  129. "CATEGORY_" VARCHAR(255),
  130. "DEPLOYMENT_ID_" VARCHAR(255),
  131. "RESOURCE_NAME_" VARCHAR(4000),
  132. "DESCRIPTION_" VARCHAR(4000),
  133. "HAS_GRAPHICAL_NOTATION_" NUMBER(1),
  134. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  135. "DGRM_RESOURCE_NAME_" VARCHAR(4000),
  136. "HAS_START_FORM_KEY_" NUMBER(1)
  137. )
  138. INITRANS 1
  139. TABLESPACE "USERS"
  140. STORAGE (INITIAL 65536) ;
  141. -- ----------------------------
  142. -- Records of ACT_CMMN_CASEDEF
  143. -- ----------------------------
  144. COMMIT;
  145. -- ----------------------------
  146. -- Table structure for ACT_CMMN_DATABASECHANGELOG
  147. -- ----------------------------
  148. -- DROP TABLE "ACT_CMMN_DATABASECHANGELOG";
  149. CREATE TABLE "ACT_CMMN_DATABASECHANGELOG" (
  150. "ID" VARCHAR(255) NOT NULL,
  151. "AUTHOR" VARCHAR(255) NOT NULL,
  152. "FILENAME" VARCHAR(255) NOT NULL,
  153. "DATEEXECUTED" TIMESTAMP NOT NULL,
  154. "ORDEREXECUTED" NUMBER NOT NULL,
  155. "EXECTYPE" VARCHAR(10) NOT NULL,
  156. "MD5SUM" VARCHAR(35),
  157. "DESCRIPTION" VARCHAR(255),
  158. "COMMENTS" VARCHAR(255),
  159. "TAG" VARCHAR(255),
  160. "LIQUIBASE" VARCHAR(20),
  161. "CONTEXTS" VARCHAR(255),
  162. "LABELS" VARCHAR(255),
  163. "DEPLOYMENT_ID" VARCHAR(10)
  164. )
  165. INITRANS 1
  166. TABLESPACE "USERS"
  167. STORAGE (INITIAL 65536) ;
  168. -- ----------------------------
  169. -- Records of ACT_CMMN_DATABASECHANGELOG
  170. -- ----------------------------
  171. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('8', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.302026', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '7', 'EXECUTED', '9:eda5e43816221f2d8554bfcc90f1c37e', 'addColumn tableName=ACT_CMMN_HI_PLAN_ITEM_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  172. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('9', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.333359', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '8', 'EXECUTED', '9:c34685611779075a73caf8c380f078ea', 'addColumn tableName=ACT_CMMN_RU_PLAN_ITEM_INST; addColumn tableName=ACT_CMMN_HI_PLAN_ITEM_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  173. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('10', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.407269', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '9', 'EXECUTED', '9:368e9472ad2348206205170d6c52d58e', 'addColumn tableName=ACT_CMMN_RU_CASE_INST; addColumn tableName=ACT_CMMN_RU_CASE_INST; createIndex indexName=ACT_IDX_CASE_INST_REF_ID_, tableName=ACT_CMMN_RU_CASE_INST; addColumn tableName=ACT_CMMN_HI_CASE_INST; addColumn tableName=ACT_CMMN_HI_CASE...', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  174. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('11', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.459647', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '10', 'EXECUTED', '9:e54b50ceb2bcd5355ae4dfb56d9ff3ad', 'addColumn tableName=ACT_CMMN_RU_PLAN_ITEM_INST; addColumn tableName=ACT_CMMN_HI_PLAN_ITEM_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  175. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('12', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.477268', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '11', 'EXECUTED', '9:f53f262768d04e74529f43fcd93429b0', 'addColumn tableName=ACT_CMMN_RU_CASE_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  176. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('13', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.505746', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '12', 'EXECUTED', '9:64e7eafbe97997094654e83caea99895', 'addColumn tableName=ACT_CMMN_RU_PLAN_ITEM_INST; addColumn tableName=ACT_CMMN_HI_PLAN_ITEM_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  177. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('14', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.556427', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '13', 'EXECUTED', '9:ab7d934abde497eac034701542e0a281', 'addColumn tableName=ACT_CMMN_RU_CASE_INST; addColumn tableName=ACT_CMMN_HI_CASE_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  178. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('16', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.594593', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '14', 'EXECUTED', '9:03928d422e510959770e7a9daa5a993f', 'addColumn tableName=ACT_CMMN_RU_CASE_INST; addColumn tableName=ACT_CMMN_HI_CASE_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  179. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('17', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.612429', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '15', 'EXECUTED', '9:f30304cf001d6eac78c793ea88cd5781', 'createIndex indexName=ACT_IDX_HI_CASE_INST_END, tableName=ACT_CMMN_HI_CASE_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  180. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('18', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:34.649692', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '16', 'EXECUTED', '9:d782865087d6c0c3dc033ac20e783008', 'createIndex indexName=ACT_IDX_HI_PLAN_ITEM_INST_CASE, tableName=ACT_CMMN_HI_PLAN_ITEM_INST', NULL, NULL, '4.24.0', NULL, NULL, '0436534181');
  181. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('1', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:05.572529', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '1', 'EXECUTED', '9:d0cc0aaadf0e4ef70c5b412cd05fadc4', 'createTable tableName=ACT_CMMN_DEPLOYMENT; createTable tableName=ACT_CMMN_DEPLOYMENT_RESOURCE; addForeignKeyConstraint baseTableName=ACT_CMMN_DEPLOYMENT_RESOURCE, constraintName=ACT_FK_CMMN_RSRC_DPL, referencedTableName=ACT_CMMN_DEPLOYMENT; create...', NULL, NULL, '3.5.3', NULL, NULL, '9500487786');
  182. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('2', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:06.062159', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '2', 'EXECUTED', '9:8095a5a8a222a100c2d0310cacbda5e7', 'addColumn tableName=ACT_CMMN_CASEDEF; addColumn tableName=ACT_CMMN_DEPLOYMENT_RESOURCE; addColumn tableName=ACT_CMMN_RU_CASE_INST; addColumn tableName=ACT_CMMN_RU_PLAN_ITEM_INST', NULL, NULL, '3.5.3', NULL, NULL, '9500487786');
  183. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('3', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:06.474729', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '3', 'EXECUTED', '9:f031b4f0ae67bc5a640736b379049b12', 'addColumn tableName=ACT_CMMN_RU_PLAN_ITEM_INST; addColumn tableName=ACT_CMMN_RU_CASE_INST; createIndex indexName=ACT_IDX_PLAN_ITEM_STAGE_INST, tableName=ACT_CMMN_RU_PLAN_ITEM_INST; addColumn tableName=ACT_CMMN_RU_PLAN_ITEM_INST; addColumn tableNam...', NULL, NULL, '3.5.3', NULL, NULL, '9500487786');
  184. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('4', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:06.633601', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '4', 'EXECUTED', '9:c484ecfb08719feccac2f80fc962dda9', 'createTable tableName=ACT_CMMN_HI_PLAN_ITEM_INST; addColumn tableName=ACT_CMMN_RU_MIL_INST; addColumn tableName=ACT_CMMN_HI_MIL_INST', NULL, NULL, '3.5.3', NULL, NULL, '9500487786');
  185. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('6', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:06.752638', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '5', 'EXECUTED', '9:7343ab247d959e5add9278b5386de833', 'createIndex indexName=ACT_IDX_CASE_DEF_UNIQ, tableName=ACT_CMMN_CASEDEF', NULL, NULL, '3.5.3', NULL, NULL, '9500487786');
  186. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('7', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:07.919259', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '6', 'EXECUTED', '9:d73200db684b6cdb748cc03570d5d2e9', 'renameColumn newColumnName=CREATE_TIME_, oldColumnName=START_TIME_, tableName=ACT_CMMN_RU_PLAN_ITEM_INST; renameColumn newColumnName=CREATE_TIME_, oldColumnName=CREATED_TIME_, tableName=ACT_CMMN_HI_PLAN_ITEM_INST; addColumn tableName=ACT_CMMN_RU_P...', NULL, NULL, '3.5.3', NULL, NULL, '9500487786');
  187. COMMIT;
  188. -- ----------------------------
  189. -- Table structure for ACT_CMMN_DATABASECHANGELOGLOCK
  190. -- ----------------------------
  191. -- DROP TABLE "ACT_CMMN_DATABASECHANGELOGLOCK";
  192. CREATE TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" (
  193. "ID" NUMBER NOT NULL,
  194. "LOCKED" NUMBER(1) NOT NULL,
  195. "LOCKGRANTED" TIMESTAMP,
  196. "LOCKEDBY" VARCHAR(255)
  197. )
  198. INITRANS 1
  199. TABLESPACE "USERS"
  200. STORAGE (INITIAL 65536) ;
  201. -- ----------------------------
  202. -- Records of ACT_CMMN_DATABASECHANGELOGLOCK
  203. -- ----------------------------
  204. INSERT INTO "ACT_CMMN_DATABASECHANGELOGLOCK" ("ID", "LOCKED", "LOCKGRANTED", "LOCKEDBY") VALUES ('1', '0', NULL, NULL);
  205. COMMIT;
  206. -- ----------------------------
  207. -- Table structure for ACT_CMMN_DEPLOYMENT
  208. -- ----------------------------
  209. -- DROP TABLE "ACT_CMMN_DEPLOYMENT";
  210. CREATE TABLE "ACT_CMMN_DEPLOYMENT" (
  211. "ID_" VARCHAR(255) NOT NULL,
  212. "NAME_" VARCHAR(255),
  213. "CATEGORY_" VARCHAR(255),
  214. "KEY_" VARCHAR(255),
  215. "DEPLOY_TIME_" TIMESTAMP,
  216. "PARENT_DEPLOYMENT_ID_" VARCHAR(255),
  217. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  218. )
  219. INITRANS 1
  220. TABLESPACE "USERS"
  221. STORAGE (INITIAL 65536) ;
  222. -- ----------------------------
  223. -- Records of ACT_CMMN_DEPLOYMENT
  224. -- ----------------------------
  225. COMMIT;
  226. -- ----------------------------
  227. -- Table structure for ACT_CMMN_DEPLOYMENT_RESOURCE
  228. -- ----------------------------
  229. -- DROP TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE";
  230. CREATE TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE" (
  231. "ID_" VARCHAR(255) NOT NULL,
  232. "NAME_" VARCHAR(255),
  233. "DEPLOYMENT_ID_" VARCHAR(255),
  234. "RESOURCE_BYTES_" BLOB,
  235. "GENERATED_" NUMBER(1)
  236. )
  237. INITRANS 1
  238. TABLESPACE "USERS"
  239. STORAGE (INITIAL 65536) ;
  240. -- ----------------------------
  241. -- Records of ACT_CMMN_DEPLOYMENT_RESOURCE
  242. -- ----------------------------
  243. COMMIT;
  244. -- ----------------------------
  245. -- Table structure for ACT_CMMN_HI_CASE_INST
  246. -- ----------------------------
  247. -- DROP TABLE "ACT_CMMN_HI_CASE_INST";
  248. CREATE TABLE "ACT_CMMN_HI_CASE_INST" (
  249. "ID_" VARCHAR(255) NOT NULL,
  250. "REV_" NUMBER NOT NULL,
  251. "BUSINESS_KEY_" VARCHAR(255),
  252. "NAME_" VARCHAR(255),
  253. "PARENT_ID_" VARCHAR(255),
  254. "CASE_DEF_ID_" VARCHAR(255),
  255. "STATE_" VARCHAR(255),
  256. "START_TIME_" TIMESTAMP,
  257. "END_TIME_" TIMESTAMP,
  258. "START_USER_ID_" VARCHAR(255),
  259. "CALLBACK_ID_" VARCHAR(255),
  260. "CALLBACK_TYPE_" VARCHAR(255),
  261. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  262. "REFERENCE_ID_" VARCHAR(255),
  263. "REFERENCE_TYPE_" VARCHAR(255),
  264. "LAST_REACTIVATION_TIME_" TIMESTAMP,
  265. "LAST_REACTIVATION_USER_ID_" VARCHAR(255),
  266. "BUSINESS_STATUS_" VARCHAR(255)
  267. )
  268. INITRANS 1
  269. TABLESPACE "USERS"
  270. STORAGE (INITIAL 65536) ;
  271. -- ----------------------------
  272. -- Records of ACT_CMMN_HI_CASE_INST
  273. -- ----------------------------
  274. COMMIT;
  275. -- ----------------------------
  276. -- Table structure for ACT_CMMN_HI_MIL_INST
  277. -- ----------------------------
  278. -- DROP TABLE "ACT_CMMN_HI_MIL_INST";
  279. CREATE TABLE "ACT_CMMN_HI_MIL_INST" (
  280. "ID_" VARCHAR(255) NOT NULL,
  281. "REV_" NUMBER NOT NULL,
  282. "NAME_" VARCHAR(255) NOT NULL,
  283. "TIME_STAMP_" TIMESTAMP NOT NULL,
  284. "CASE_INST_ID_" VARCHAR(255) NOT NULL,
  285. "CASE_DEF_ID_" VARCHAR(255) NOT NULL,
  286. "ELEMENT_ID_" VARCHAR(255) NOT NULL,
  287. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  288. )
  289. INITRANS 1
  290. TABLESPACE "USERS"
  291. STORAGE (INITIAL 65536) ;
  292. -- ----------------------------
  293. -- Records of ACT_CMMN_HI_MIL_INST
  294. -- ----------------------------
  295. COMMIT;
  296. -- ----------------------------
  297. -- Table structure for ACT_CMMN_HI_PLAN_ITEM_INST
  298. -- ----------------------------
  299. -- DROP TABLE "ACT_CMMN_HI_PLAN_ITEM_INST";
  300. CREATE TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" (
  301. "ID_" VARCHAR(255) NOT NULL,
  302. "REV_" NUMBER NOT NULL,
  303. "NAME_" VARCHAR(255),
  304. "STATE_" VARCHAR(255),
  305. "CASE_DEF_ID_" VARCHAR(255),
  306. "CASE_INST_ID_" VARCHAR(255),
  307. "STAGE_INST_ID_" VARCHAR(255),
  308. "IS_STAGE_" NUMBER(1),
  309. "ELEMENT_ID_" VARCHAR(255),
  310. "ITEM_DEFINITION_ID_" VARCHAR(255),
  311. "ITEM_DEFINITION_TYPE_" VARCHAR(255),
  312. "CREATE_TIME_" TIMESTAMP,
  313. "LAST_AVAILABLE_TIME_" TIMESTAMP,
  314. "LAST_ENABLED_TIME_" TIMESTAMP,
  315. "LAST_DISABLED_TIME_" TIMESTAMP,
  316. "LAST_STARTED_TIME_" TIMESTAMP,
  317. "LAST_SUSPENDED_TIME_" TIMESTAMP,
  318. "COMPLETED_TIME_" TIMESTAMP,
  319. "OCCURRED_TIME_" TIMESTAMP,
  320. "TERMINATED_TIME_" TIMESTAMP,
  321. "EXIT_TIME_" TIMESTAMP,
  322. "ENDED_TIME_" TIMESTAMP,
  323. "LAST_UPDATED_TIME_" TIMESTAMP,
  324. "START_USER_ID_" VARCHAR(255),
  325. "REFERENCE_ID_" VARCHAR(255),
  326. "REFERENCE_TYPE_" VARCHAR(255),
  327. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  328. "ENTRY_CRITERION_ID_" VARCHAR(255),
  329. "EXIT_CRITERION_ID_" VARCHAR(255),
  330. "SHOW_IN_OVERVIEW_" NUMBER(1),
  331. "EXTRA_VALUE_" VARCHAR(255),
  332. "DERIVED_CASE_DEF_ID_" VARCHAR(255),
  333. "LAST_UNAVAILABLE_TIME_" TIMESTAMP
  334. )
  335. INITRANS 1
  336. TABLESPACE "USERS"
  337. STORAGE (INITIAL 65536) ;
  338. -- ----------------------------
  339. -- Records of ACT_CMMN_HI_PLAN_ITEM_INST
  340. -- ----------------------------
  341. COMMIT;
  342. -- ----------------------------
  343. -- Table structure for ACT_CMMN_RU_CASE_INST
  344. -- ----------------------------
  345. -- DROP TABLE "ACT_CMMN_RU_CASE_INST";
  346. CREATE TABLE "ACT_CMMN_RU_CASE_INST" (
  347. "ID_" VARCHAR(255) NOT NULL,
  348. "REV_" NUMBER NOT NULL,
  349. "BUSINESS_KEY_" VARCHAR(255),
  350. "NAME_" VARCHAR(255),
  351. "PARENT_ID_" VARCHAR(255),
  352. "CASE_DEF_ID_" VARCHAR(255),
  353. "STATE_" VARCHAR(255),
  354. "START_TIME_" TIMESTAMP,
  355. "START_USER_ID_" VARCHAR(255),
  356. "CALLBACK_ID_" VARCHAR(255),
  357. "CALLBACK_TYPE_" VARCHAR(255),
  358. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  359. "LOCK_TIME_" TIMESTAMP,
  360. "IS_COMPLETEABLE_" NUMBER(1),
  361. "REFERENCE_ID_" VARCHAR(255),
  362. "REFERENCE_TYPE_" VARCHAR(255),
  363. "LOCK_OWNER_" VARCHAR(255),
  364. "LAST_REACTIVATION_TIME_" TIMESTAMP,
  365. "LAST_REACTIVATION_USER_ID_" VARCHAR(255),
  366. "BUSINESS_STATUS_" VARCHAR(255)
  367. )
  368. INITRANS 1
  369. TABLESPACE "USERS"
  370. STORAGE (INITIAL 65536) ;
  371. -- ----------------------------
  372. -- Records of ACT_CMMN_RU_CASE_INST
  373. -- ----------------------------
  374. COMMIT;
  375. -- ----------------------------
  376. -- Table structure for ACT_CMMN_RU_MIL_INST
  377. -- ----------------------------
  378. -- DROP TABLE "ACT_CMMN_RU_MIL_INST";
  379. CREATE TABLE "ACT_CMMN_RU_MIL_INST" (
  380. "ID_" VARCHAR(255) NOT NULL,
  381. "NAME_" VARCHAR(255) NOT NULL,
  382. "TIME_STAMP_" TIMESTAMP NOT NULL,
  383. "CASE_INST_ID_" VARCHAR(255) NOT NULL,
  384. "CASE_DEF_ID_" VARCHAR(255) NOT NULL,
  385. "ELEMENT_ID_" VARCHAR(255) NOT NULL,
  386. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  387. )
  388. INITRANS 1
  389. TABLESPACE "USERS"
  390. STORAGE (INITIAL 65536) ;
  391. -- ----------------------------
  392. -- Records of ACT_CMMN_RU_MIL_INST
  393. -- ----------------------------
  394. COMMIT;
  395. -- ----------------------------
  396. -- Table structure for ACT_CMMN_RU_PLAN_ITEM_INST
  397. -- ----------------------------
  398. -- DROP TABLE "ACT_CMMN_RU_PLAN_ITEM_INST";
  399. CREATE TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" (
  400. "ID_" VARCHAR(255) NOT NULL,
  401. "REV_" NUMBER NOT NULL,
  402. "CASE_DEF_ID_" VARCHAR(255),
  403. "CASE_INST_ID_" VARCHAR(255),
  404. "STAGE_INST_ID_" VARCHAR(255),
  405. "IS_STAGE_" NUMBER(1),
  406. "ELEMENT_ID_" VARCHAR(255),
  407. "NAME_" VARCHAR(255),
  408. "STATE_" VARCHAR(255),
  409. "CREATE_TIME_" TIMESTAMP,
  410. "START_USER_ID_" VARCHAR(255),
  411. "REFERENCE_ID_" VARCHAR(255),
  412. "REFERENCE_TYPE_" VARCHAR(255),
  413. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  414. "ITEM_DEFINITION_ID_" VARCHAR(255),
  415. "ITEM_DEFINITION_TYPE_" VARCHAR(255),
  416. "IS_COMPLETEABLE_" NUMBER(1),
  417. "IS_COUNT_ENABLED_" NUMBER(1),
  418. "VAR_COUNT_" NUMBER,
  419. "SENTRY_PART_INST_COUNT_" NUMBER,
  420. "LAST_AVAILABLE_TIME_" TIMESTAMP,
  421. "LAST_ENABLED_TIME_" TIMESTAMP,
  422. "LAST_DISABLED_TIME_" TIMESTAMP,
  423. "LAST_STARTED_TIME_" TIMESTAMP,
  424. "LAST_SUSPENDED_TIME_" TIMESTAMP,
  425. "COMPLETED_TIME_" TIMESTAMP,
  426. "OCCURRED_TIME_" TIMESTAMP,
  427. "TERMINATED_TIME_" TIMESTAMP,
  428. "EXIT_TIME_" TIMESTAMP,
  429. "ENDED_TIME_" TIMESTAMP,
  430. "ENTRY_CRITERION_ID_" VARCHAR(255),
  431. "EXIT_CRITERION_ID_" VARCHAR(255),
  432. "EXTRA_VALUE_" VARCHAR(255),
  433. "DERIVED_CASE_DEF_ID_" VARCHAR(255),
  434. "LAST_UNAVAILABLE_TIME_" TIMESTAMP
  435. )
  436. INITRANS 1
  437. TABLESPACE "USERS"
  438. STORAGE (INITIAL 65536) ;
  439. -- ----------------------------
  440. -- Records of ACT_CMMN_RU_PLAN_ITEM_INST
  441. -- ----------------------------
  442. COMMIT;
  443. -- ----------------------------
  444. -- Table structure for ACT_CMMN_RU_SENTRY_PART_INST
  445. -- ----------------------------
  446. -- DROP TABLE "ACT_CMMN_RU_SENTRY_PART_INST";
  447. CREATE TABLE "ACT_CMMN_RU_SENTRY_PART_INST" (
  448. "ID_" VARCHAR(255) NOT NULL,
  449. "REV_" NUMBER NOT NULL,
  450. "CASE_DEF_ID_" VARCHAR(255),
  451. "CASE_INST_ID_" VARCHAR(255),
  452. "PLAN_ITEM_INST_ID_" VARCHAR(255),
  453. "ON_PART_ID_" VARCHAR(255),
  454. "IF_PART_ID_" VARCHAR(255),
  455. "TIME_STAMP_" TIMESTAMP
  456. )
  457. INITRANS 1
  458. TABLESPACE "USERS"
  459. STORAGE (INITIAL 65536) ;
  460. -- ----------------------------
  461. -- Records of ACT_CMMN_RU_SENTRY_PART_INST
  462. -- ----------------------------
  463. COMMIT;
  464. -- ----------------------------
  465. -- Table structure for ACT_CO_CONTENT_ITEM
  466. -- ----------------------------
  467. -- DROP TABLE "ACT_CO_CONTENT_ITEM";
  468. CREATE TABLE "ACT_CO_CONTENT_ITEM" (
  469. "ID_" VARCHAR(255) NOT NULL,
  470. "NAME_" VARCHAR(255) NOT NULL,
  471. "MIME_TYPE_" VARCHAR(255),
  472. "TASK_ID_" VARCHAR(255),
  473. "PROC_INST_ID_" VARCHAR(255),
  474. "CONTENT_STORE_ID_" VARCHAR(255),
  475. "CONTENT_STORE_NAME_" VARCHAR(255),
  476. "FIELD_" VARCHAR(400),
  477. "CONTENT_AVAILABLE_" NUMBER(1) DEFAULT 0,
  478. "CREATED_" TIMESTAMP,
  479. "CREATED_BY_" VARCHAR(255),
  480. "LAST_MODIFIED_" TIMESTAMP,
  481. "LAST_MODIFIED_BY_" VARCHAR(255),
  482. "CONTENT_SIZE_" NUMBER(38) DEFAULT 0,
  483. "TENANT_ID_" VARCHAR(255),
  484. "SCOPE_ID_" VARCHAR(255),
  485. "SCOPE_TYPE_" VARCHAR(255)
  486. )
  487. INITRANS 1
  488. TABLESPACE "USERS"
  489. STORAGE (INITIAL 65536) ;
  490. -- ----------------------------
  491. -- Records of ACT_CO_CONTENT_ITEM
  492. -- ----------------------------
  493. COMMIT;
  494. -- ----------------------------
  495. -- Table structure for ACT_CO_DATABASECHANGELOG
  496. -- ----------------------------
  497. -- DROP TABLE "ACT_CO_DATABASECHANGELOG";
  498. CREATE TABLE "ACT_CO_DATABASECHANGELOG" (
  499. "ID" VARCHAR(255) NOT NULL,
  500. "AUTHOR" VARCHAR(255) NOT NULL,
  501. "FILENAME" VARCHAR(255) NOT NULL,
  502. "DATEEXECUTED" TIMESTAMP NOT NULL,
  503. "ORDEREXECUTED" NUMBER NOT NULL,
  504. "EXECTYPE" VARCHAR(10) NOT NULL,
  505. "MD5SUM" VARCHAR(35),
  506. "DESCRIPTION" VARCHAR(255),
  507. "COMMENTS" VARCHAR(255),
  508. "TAG" VARCHAR(255),
  509. "LIQUIBASE" VARCHAR(20),
  510. "CONTEXTS" VARCHAR(255),
  511. "LABELS" VARCHAR(255),
  512. "DEPLOYMENT_ID" VARCHAR(10)
  513. )
  514. INITRANS 1
  515. TABLESPACE "USERS"
  516. STORAGE (INITIAL 65536) ;
  517. -- ----------------------------
  518. -- Records of ACT_CO_DATABASECHANGELOG
  519. -- ----------------------------
  520. INSERT INTO "ACT_CO_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('1', 'activiti', 'org/flowable/content/db/liquibase/flowable-content-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:15.412866', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '1', 'EXECUTED', '8:7644d7165cfe799200a2abdd3419e8b6', 'createTable tableName=ACT_CO_CONTENT_ITEM; createIndex indexName=idx_contitem_taskid, tableName=ACT_CO_CONTENT_ITEM; createIndex indexName=idx_contitem_procid, tableName=ACT_CO_CONTENT_ITEM', NULL, NULL, '3.5.3', NULL, NULL, '9500492548');
  521. INSERT INTO "ACT_CO_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('2', 'flowable', 'org/flowable/content/db/liquibase/flowable-content-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:59.614707', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '2', 'EXECUTED', '8:fe7b11ac7dbbf9c43006b23bbab60bab', 'addColumn tableName=ACT_CO_CONTENT_ITEM; createIndex indexName=idx_contitem_scope, tableName=ACT_CO_CONTENT_ITEM', NULL, NULL, '3.5.3', NULL, NULL, '9500492548');
  522. COMMIT;
  523. -- ----------------------------
  524. -- Table structure for ACT_CO_DATABASECHANGELOGLOCK
  525. -- ----------------------------
  526. -- DROP TABLE "ACT_CO_DATABASECHANGELOGLOCK";
  527. CREATE TABLE "ACT_CO_DATABASECHANGELOGLOCK" (
  528. "ID" NUMBER NOT NULL,
  529. "LOCKED" NUMBER(1) NOT NULL,
  530. "LOCKGRANTED" TIMESTAMP,
  531. "LOCKEDBY" VARCHAR(255)
  532. )
  533. INITRANS 1
  534. TABLESPACE "USERS"
  535. STORAGE (INITIAL 65536) ;
  536. -- ----------------------------
  537. -- Records of ACT_CO_DATABASECHANGELOGLOCK
  538. -- ----------------------------
  539. INSERT INTO "ACT_CO_DATABASECHANGELOGLOCK" ("ID", "LOCKED", "LOCKGRANTED", "LOCKEDBY") VALUES ('1', '0', NULL, NULL);
  540. COMMIT;
  541. -- ----------------------------
  542. -- Table structure for ACT_DE_DATABASECHANGELOG
  543. -- ----------------------------
  544. -- DROP TABLE "ACT_DE_DATABASECHANGELOG";
  545. CREATE TABLE "ACT_DE_DATABASECHANGELOG" (
  546. "ID" VARCHAR(255) NOT NULL,
  547. "AUTHOR" VARCHAR(255) NOT NULL,
  548. "FILENAME" VARCHAR(255) NOT NULL,
  549. "DATEEXECUTED" TIMESTAMP NOT NULL,
  550. "ORDEREXECUTED" NUMBER NOT NULL,
  551. "EXECTYPE" VARCHAR(10) NOT NULL,
  552. "MD5SUM" VARCHAR(35),
  553. "DESCRIPTION" VARCHAR(255),
  554. "COMMENTS" VARCHAR(255),
  555. "TAG" VARCHAR(255),
  556. "LIQUIBASE" VARCHAR(20),
  557. "CONTEXTS" VARCHAR(255),
  558. "LABELS" VARCHAR(255),
  559. "DEPLOYMENT_ID" VARCHAR(10)
  560. )
  561. INITRANS 1
  562. TABLESPACE "USERS"
  563. STORAGE (INITIAL 65536) ;
  564. -- ----------------------------
  565. -- Records of ACT_DE_DATABASECHANGELOG
  566. -- ----------------------------
  567. INSERT INTO "ACT_DE_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('1', 'flowable', 'META-INF/liquibase/flowable-modeler-app-db-changelog.xml', TO_TIMESTAMP('2019-08-01 02:21:28.919681', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '1', 'EXECUTED', '8:e70d1d9d3899a734296b2514ccc71501', 'createTable tableName=ACT_DE_MODEL; createIndex indexName=idx_proc_mod_created, tableName=ACT_DE_MODEL; createTable tableName=ACT_DE_MODEL_HISTORY; createIndex indexName=idx_proc_mod_history_proc, tableName=ACT_DE_MODEL_HISTORY; createTable tableN...', NULL, NULL, '3.6.3', NULL, NULL, '4626087832');
  568. INSERT INTO "ACT_DE_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('3', 'flowable', 'META-INF/liquibase/flowable-modeler-app-db-changelog.xml', TO_TIMESTAMP('2019-08-01 02:21:29.414387', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '2', 'EXECUTED', '8:3a9143bef2e45f2316231cc1369138b6', 'addColumn tableName=ACT_DE_MODEL; addColumn tableName=ACT_DE_MODEL_HISTORY', NULL, NULL, '3.6.3', NULL, NULL, '4626087832');
  569. COMMIT;
  570. -- ----------------------------
  571. -- Table structure for ACT_DE_DATABASECHANGELOGLOCK
  572. -- ----------------------------
  573. -- DROP TABLE "ACT_DE_DATABASECHANGELOGLOCK";
  574. CREATE TABLE "ACT_DE_DATABASECHANGELOGLOCK" (
  575. "ID" NUMBER NOT NULL,
  576. "LOCKED" NUMBER(1) NOT NULL,
  577. "LOCKGRANTED" TIMESTAMP,
  578. "LOCKEDBY" VARCHAR(255)
  579. )
  580. INITRANS 1
  581. TABLESPACE "USERS"
  582. STORAGE (INITIAL 65536) ;
  583. -- ----------------------------
  584. -- Records of ACT_DE_DATABASECHANGELOGLOCK
  585. -- ----------------------------
  586. INSERT INTO "ACT_DE_DATABASECHANGELOGLOCK" ("ID", "LOCKED", "LOCKGRANTED", "LOCKEDBY") VALUES ('1', '0', NULL, NULL);
  587. COMMIT;
  588. -- ----------------------------
  589. -- Table structure for ACT_DE_MODEL
  590. -- ----------------------------
  591. -- DROP TABLE "ACT_DE_MODEL";
  592. CREATE TABLE "ACT_DE_MODEL" (
  593. "ID" VARCHAR(255) NOT NULL,
  594. "NAME" VARCHAR(400) NOT NULL,
  595. "MODEL_KEY" VARCHAR(400) NOT NULL,
  596. "DESCRIPTION" VARCHAR(4000),
  597. "MODEL_COMMENT" VARCHAR(4000),
  598. "CREATED" TIMESTAMP,
  599. "CREATED_BY" VARCHAR(255),
  600. "LAST_UPDATED" TIMESTAMP,
  601. "LAST_UPDATED_BY" VARCHAR(255),
  602. "VERSION" NUMBER,
  603. "MODEL_EDITOR_JSON" CLOB,
  604. "MODEL_EDITOR_XML" CLOB,
  605. "THUMBNAIL" BLOB,
  606. "MODEL_TYPE" NUMBER,
  607. "TENANT_ID" VARCHAR(255)
  608. )
  609. INITRANS 1
  610. TABLESPACE "USERS"
  611. STORAGE (INITIAL 65536) ;
  612. -- ----------------------------
  613. -- Records of ACT_DE_MODEL
  614. -- ----------------------------
  615. COMMIT;
  616. -- ----------------------------
  617. -- Table structure for ACT_DE_MODEL_HISTORY
  618. -- ----------------------------
  619. -- DROP TABLE "ACT_DE_MODEL_HISTORY";
  620. CREATE TABLE "ACT_DE_MODEL_HISTORY" (
  621. "ID" VARCHAR(255) NOT NULL,
  622. "NAME" VARCHAR(400) NOT NULL,
  623. "MODEL_KEY" VARCHAR(400) NOT NULL,
  624. "DESCRIPTION" VARCHAR(4000),
  625. "MODEL_COMMENT" VARCHAR(4000),
  626. "CREATED" TIMESTAMP,
  627. "CREATED_BY" VARCHAR(255),
  628. "LAST_UPDATED" TIMESTAMP,
  629. "LAST_UPDATED_BY" VARCHAR(255),
  630. "REMOVAL_DATE" TIMESTAMP,
  631. "VERSION" NUMBER,
  632. "MODEL_EDITOR_JSON" CLOB,
  633. "MODEL_ID" VARCHAR(255) NOT NULL,
  634. "MODEL_TYPE" NUMBER,
  635. "TENANT_ID" VARCHAR(255)
  636. )
  637. INITRANS 1
  638. TABLESPACE "USERS"
  639. STORAGE (INITIAL 65536) ;
  640. -- ----------------------------
  641. -- Records of ACT_DE_MODEL_HISTORY
  642. -- ----------------------------
  643. COMMIT;
  644. -- ----------------------------
  645. -- Table structure for ACT_DE_MODEL_RELATION
  646. -- ----------------------------
  647. -- DROP TABLE "ACT_DE_MODEL_RELATION";
  648. CREATE TABLE "ACT_DE_MODEL_RELATION" (
  649. "ID" VARCHAR(255) NOT NULL,
  650. "PARENT_MODEL_ID" VARCHAR(255),
  651. "MODEL_ID" VARCHAR(255),
  652. "RELATION_TYPE" VARCHAR(255)
  653. )
  654. INITRANS 1
  655. TABLESPACE "USERS"
  656. STORAGE (INITIAL 65536) ;
  657. -- ----------------------------
  658. -- Records of ACT_DE_MODEL_RELATION
  659. -- ----------------------------
  660. COMMIT;
  661. -- ----------------------------
  662. -- Table structure for ACT_DMN_DATABASECHANGELOG
  663. -- ----------------------------
  664. -- DROP TABLE "ACT_DMN_DATABASECHANGELOG";
  665. CREATE TABLE "ACT_DMN_DATABASECHANGELOG" (
  666. "ID" VARCHAR(255) NOT NULL,
  667. "AUTHOR" VARCHAR(255) NOT NULL,
  668. "FILENAME" VARCHAR(255) NOT NULL,
  669. "DATEEXECUTED" TIMESTAMP NOT NULL,
  670. "ORDEREXECUTED" NUMBER NOT NULL,
  671. "EXECTYPE" VARCHAR(10) NOT NULL,
  672. "MD5SUM" VARCHAR(35),
  673. "DESCRIPTION" VARCHAR(255),
  674. "COMMENTS" VARCHAR(255),
  675. "TAG" VARCHAR(255),
  676. "LIQUIBASE" VARCHAR(20),
  677. "CONTEXTS" VARCHAR(255),
  678. "LABELS" VARCHAR(255),
  679. "DEPLOYMENT_ID" VARCHAR(10)
  680. )
  681. INITRANS 1
  682. TABLESPACE "USERS"
  683. STORAGE (INITIAL 65536) ;
  684. -- ----------------------------
  685. -- Records of ACT_DMN_DATABASECHANGELOG
  686. -- ----------------------------
  687. INSERT INTO "ACT_DMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('7', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:32.336251', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '6', 'EXECUTED', '9:d24d4c5f44083b4edf1231a7a682a2cd', 'dropIndex indexName=ACT_IDX_DEC_TBL_UNIQ, tableName=ACT_DMN_DECISION_TABLE; renameTable newTableName=ACT_DMN_DECISION, oldTableName=ACT_DMN_DECISION_TABLE; createIndex indexName=ACT_IDX_DMN_DEC_UNIQ, tableName=ACT_DMN_DECISION', NULL, NULL, '4.24.0', NULL, NULL, '0436532249');
  688. INSERT INTO "ACT_DMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('8', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:32.357741', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '7', 'EXECUTED', '9:3998ef0958b46fe9c19458183952d2a0', 'addColumn tableName=ACT_DMN_DECISION', NULL, NULL, '4.24.0', NULL, NULL, '0436532249');
  689. INSERT INTO "ACT_DMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('9', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:32.370931', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '8', 'EXECUTED', '9:5c9dc65601456faa1aa12f8d3afe0e9e', 'createIndex indexName=ACT_IDX_DMN_INSTANCE_ID, tableName=ACT_DMN_HI_DECISION_EXECUTION', NULL, NULL, '4.24.0', NULL, NULL, '0436532249');
  690. INSERT INTO "ACT_DMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('1', 'activiti', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:09.445285', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '1', 'EXECUTED', '9:5b36e70aee5a2e42f6e7a62ea5fa681b', 'createTable tableName=ACT_DMN_DEPLOYMENT; createTable tableName=ACT_DMN_DEPLOYMENT_RESOURCE; createTable tableName=ACT_DMN_DECISION_TABLE', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  691. INSERT INTO "ACT_DMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('2', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:09.548377', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '2', 'EXECUTED', '9:fd13fa3f7af55d2b72f763fc261da30d', 'createTable tableName=ACT_DMN_HI_DECISION_EXECUTION', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  692. INSERT INTO "ACT_DMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('3', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:09.617030', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '3', 'EXECUTED', '9:9f30e6a3557d4b4c713dbb2dcc141782', 'addColumn tableName=ACT_DMN_HI_DECISION_EXECUTION', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  693. INSERT INTO "ACT_DMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('4', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:10.086703', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '4', 'EXECUTED', '9:41085fbde807dba96104ee75a2fcc4cc', 'dropColumn columnName=PARENT_DEPLOYMENT_ID_, tableName=ACT_DMN_DECISION_TABLE', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  694. INSERT INTO "ACT_DMN_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('6', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:10.165065', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '5', 'EXECUTED', '9:f00f92f3ef1af3fc1604f0323630f9b1', 'createIndex indexName=ACT_IDX_DEC_TBL_UNIQ, tableName=ACT_DMN_DECISION_TABLE', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  695. COMMIT;
  696. -- ----------------------------
  697. -- Table structure for ACT_DMN_DATABASECHANGELOGLOCK
  698. -- ----------------------------
  699. -- DROP TABLE "ACT_DMN_DATABASECHANGELOGLOCK";
  700. CREATE TABLE "ACT_DMN_DATABASECHANGELOGLOCK" (
  701. "ID" NUMBER NOT NULL,
  702. "LOCKED" NUMBER(1) NOT NULL,
  703. "LOCKGRANTED" TIMESTAMP,
  704. "LOCKEDBY" VARCHAR(255)
  705. )
  706. INITRANS 1
  707. TABLESPACE "USERS"
  708. STORAGE (INITIAL 65536) ;
  709. -- ----------------------------
  710. -- Records of ACT_DMN_DATABASECHANGELOGLOCK
  711. -- ----------------------------
  712. INSERT INTO "ACT_DMN_DATABASECHANGELOGLOCK" ("ID", "LOCKED", "LOCKGRANTED", "LOCKEDBY") VALUES ('1', '0', NULL, NULL);
  713. COMMIT;
  714. -- ----------------------------
  715. -- Table structure for ACT_DMN_DECISION
  716. -- ----------------------------
  717. -- DROP TABLE "ACT_DMN_DECISION";
  718. CREATE TABLE "ACT_DMN_DECISION" (
  719. "ID_" VARCHAR(255) NOT NULL,
  720. "NAME_" VARCHAR(255),
  721. "VERSION_" NUMBER,
  722. "KEY_" VARCHAR(255),
  723. "CATEGORY_" VARCHAR(255),
  724. "DEPLOYMENT_ID_" VARCHAR(255),
  725. "TENANT_ID_" VARCHAR(255),
  726. "RESOURCE_NAME_" VARCHAR(255),
  727. "DESCRIPTION_" VARCHAR(255),
  728. "DECISION_TYPE_" VARCHAR(255)
  729. )
  730. INITRANS 1
  731. TABLESPACE "USERS"
  732. STORAGE (INITIAL 65536) ;
  733. -- ----------------------------
  734. -- Records of ACT_DMN_DECISION
  735. -- ----------------------------
  736. COMMIT;
  737. -- ----------------------------
  738. -- Table structure for ACT_DMN_DEPLOYMENT
  739. -- ----------------------------
  740. -- DROP TABLE "ACT_DMN_DEPLOYMENT";
  741. CREATE TABLE "ACT_DMN_DEPLOYMENT" (
  742. "ID_" VARCHAR(255) NOT NULL,
  743. "NAME_" VARCHAR(255),
  744. "CATEGORY_" VARCHAR(255),
  745. "DEPLOY_TIME_" TIMESTAMP,
  746. "TENANT_ID_" VARCHAR(255),
  747. "PARENT_DEPLOYMENT_ID_" VARCHAR(255)
  748. )
  749. INITRANS 1
  750. TABLESPACE "USERS"
  751. STORAGE (INITIAL 65536) ;
  752. -- ----------------------------
  753. -- Records of ACT_DMN_DEPLOYMENT
  754. -- ----------------------------
  755. COMMIT;
  756. -- ----------------------------
  757. -- Table structure for ACT_DMN_DEPLOYMENT_RESOURCE
  758. -- ----------------------------
  759. -- DROP TABLE "ACT_DMN_DEPLOYMENT_RESOURCE";
  760. CREATE TABLE "ACT_DMN_DEPLOYMENT_RESOURCE" (
  761. "ID_" VARCHAR(255) NOT NULL,
  762. "NAME_" VARCHAR(255),
  763. "DEPLOYMENT_ID_" VARCHAR(255),
  764. "RESOURCE_BYTES_" BLOB
  765. )
  766. INITRANS 1
  767. TABLESPACE "USERS"
  768. STORAGE (INITIAL 65536) ;
  769. -- ----------------------------
  770. -- Records of ACT_DMN_DEPLOYMENT_RESOURCE
  771. -- ----------------------------
  772. COMMIT;
  773. -- ----------------------------
  774. -- Table structure for ACT_DMN_HI_DECISION_EXECUTION
  775. -- ----------------------------
  776. -- DROP TABLE "ACT_DMN_HI_DECISION_EXECUTION";
  777. CREATE TABLE "ACT_DMN_HI_DECISION_EXECUTION" (
  778. "ID_" VARCHAR(255) NOT NULL,
  779. "DECISION_DEFINITION_ID_" VARCHAR(255),
  780. "DEPLOYMENT_ID_" VARCHAR(255),
  781. "START_TIME_" TIMESTAMP,
  782. "END_TIME_" TIMESTAMP,
  783. "INSTANCE_ID_" VARCHAR(255),
  784. "EXECUTION_ID_" VARCHAR(255),
  785. "ACTIVITY_ID_" VARCHAR(255),
  786. "FAILED_" NUMBER(1) DEFAULT 0,
  787. "TENANT_ID_" VARCHAR(255),
  788. "EXECUTION_JSON_" CLOB,
  789. "SCOPE_TYPE_" VARCHAR(255)
  790. )
  791. INITRANS 1
  792. TABLESPACE "USERS"
  793. STORAGE (INITIAL 65536) ;
  794. -- ----------------------------
  795. -- Records of ACT_DMN_HI_DECISION_EXECUTION
  796. -- ----------------------------
  797. COMMIT;
  798. -- ----------------------------
  799. -- Table structure for ACT_EVT_LOG
  800. -- ----------------------------
  801. -- DROP TABLE "ACT_EVT_LOG";
  802. CREATE TABLE "ACT_EVT_LOG" (
  803. "LOG_NR_" NUMBER(19) NOT NULL,
  804. "TYPE_" VARCHAR(64),
  805. "PROC_DEF_ID_" VARCHAR(64),
  806. "PROC_INST_ID_" VARCHAR(64),
  807. "EXECUTION_ID_" VARCHAR(64),
  808. "TASK_ID_" VARCHAR(64),
  809. "TIME_STAMP_" TIMESTAMP NOT NULL,
  810. "USER_ID_" VARCHAR(255),
  811. "DATA_" BLOB,
  812. "LOCK_OWNER_" VARCHAR(255),
  813. "LOCK_TIME_" TIMESTAMP,
  814. "IS_PROCESSED_" NUMBER(3) DEFAULT 0
  815. )
  816. INITRANS 1
  817. TABLESPACE "USERS"
  818. STORAGE (INITIAL 65536) ;
  819. -- ----------------------------
  820. -- Records of ACT_EVT_LOG
  821. -- ----------------------------
  822. COMMIT;
  823. -- ----------------------------
  824. -- Table structure for ACT_FO_DATABASECHANGELOG
  825. -- ----------------------------
  826. -- DROP TABLE "ACT_FO_DATABASECHANGELOG";
  827. CREATE TABLE "ACT_FO_DATABASECHANGELOG" (
  828. "ID" VARCHAR(255) NOT NULL,
  829. "AUTHOR" VARCHAR(255) NOT NULL,
  830. "FILENAME" VARCHAR(255) NOT NULL,
  831. "DATEEXECUTED" TIMESTAMP NOT NULL,
  832. "ORDEREXECUTED" NUMBER NOT NULL,
  833. "EXECTYPE" VARCHAR(10) NOT NULL,
  834. "MD5SUM" VARCHAR(35),
  835. "DESCRIPTION" VARCHAR(255),
  836. "COMMENTS" VARCHAR(255),
  837. "TAG" VARCHAR(255),
  838. "LIQUIBASE" VARCHAR(20),
  839. "CONTEXTS" VARCHAR(255),
  840. "LABELS" VARCHAR(255),
  841. "DEPLOYMENT_ID" VARCHAR(10)
  842. )
  843. INITRANS 1
  844. TABLESPACE "USERS"
  845. STORAGE (INITIAL 65536) ;
  846. -- ----------------------------
  847. -- Records of ACT_FO_DATABASECHANGELOG
  848. -- ----------------------------
  849. INSERT INTO "ACT_FO_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('1', 'activiti', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:10.875144', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '1', 'EXECUTED', '8:033ebf9380889aed7c453927ecc3250d', 'createTable tableName=ACT_FO_FORM_DEPLOYMENT; createTable tableName=ACT_FO_FORM_RESOURCE; createTable tableName=ACT_FO_FORM_DEFINITION; createTable tableName=ACT_FO_FORM_INSTANCE', NULL, NULL, '3.5.3', NULL, NULL, '9500491442');
  850. INSERT INTO "ACT_FO_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('2', 'flowable', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:11.176570', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '2', 'EXECUTED', '8:986365ceb40445ce3b27a8e6b40f159b', 'addColumn tableName=ACT_FO_FORM_INSTANCE', NULL, NULL, '3.5.3', NULL, NULL, '9500491442');
  851. INSERT INTO "ACT_FO_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('3', 'flowable', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:13.571387', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '3', 'EXECUTED', '8:abf482518ceb09830ef674e52c06bf15', 'dropColumn columnName=PARENT_DEPLOYMENT_ID_, tableName=ACT_FO_FORM_DEFINITION', NULL, NULL, '3.5.3', NULL, NULL, '9500491442');
  852. INSERT INTO "ACT_FO_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('5', 'flowable', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', TO_TIMESTAMP('2019-08-01 01:36:13.675232', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '4', 'EXECUTED', '8:b4be732b89e5ca028bdd520c6ad4d446', 'createIndex indexName=ACT_IDX_FORM_DEF_UNIQ, tableName=ACT_FO_FORM_DEFINITION', NULL, NULL, '3.5.3', NULL, NULL, '9500491442');
  853. COMMIT;
  854. -- ----------------------------
  855. -- Table structure for ACT_FO_DATABASECHANGELOGLOCK
  856. -- ----------------------------
  857. -- DROP TABLE "ACT_FO_DATABASECHANGELOGLOCK";
  858. CREATE TABLE "ACT_FO_DATABASECHANGELOGLOCK" (
  859. "ID" NUMBER NOT NULL,
  860. "LOCKED" NUMBER(1) NOT NULL,
  861. "LOCKGRANTED" TIMESTAMP,
  862. "LOCKEDBY" VARCHAR(255)
  863. )
  864. INITRANS 1
  865. TABLESPACE "USERS"
  866. STORAGE (INITIAL 65536) ;
  867. -- ----------------------------
  868. -- Records of ACT_FO_DATABASECHANGELOGLOCK
  869. -- ----------------------------
  870. INSERT INTO "ACT_FO_DATABASECHANGELOGLOCK" ("ID", "LOCKED", "LOCKGRANTED", "LOCKEDBY") VALUES ('1', '0', NULL, NULL);
  871. COMMIT;
  872. -- ----------------------------
  873. -- Table structure for ACT_FO_FORM_DEFINITION
  874. -- ----------------------------
  875. -- DROP TABLE "ACT_FO_FORM_DEFINITION";
  876. CREATE TABLE "ACT_FO_FORM_DEFINITION" (
  877. "ID_" VARCHAR(255) NOT NULL,
  878. "NAME_" VARCHAR(255),
  879. "VERSION_" NUMBER,
  880. "KEY_" VARCHAR(255),
  881. "CATEGORY_" VARCHAR(255),
  882. "DEPLOYMENT_ID_" VARCHAR(255),
  883. "TENANT_ID_" VARCHAR(255),
  884. "RESOURCE_NAME_" VARCHAR(255),
  885. "DESCRIPTION_" VARCHAR(255)
  886. )
  887. INITRANS 1
  888. TABLESPACE "USERS"
  889. STORAGE (INITIAL 65536) ;
  890. -- ----------------------------
  891. -- Records of ACT_FO_FORM_DEFINITION
  892. -- ----------------------------
  893. COMMIT;
  894. -- ----------------------------
  895. -- Table structure for ACT_FO_FORM_DEPLOYMENT
  896. -- ----------------------------
  897. -- DROP TABLE "ACT_FO_FORM_DEPLOYMENT";
  898. CREATE TABLE "ACT_FO_FORM_DEPLOYMENT" (
  899. "ID_" VARCHAR(255) NOT NULL,
  900. "NAME_" VARCHAR(255),
  901. "CATEGORY_" VARCHAR(255),
  902. "DEPLOY_TIME_" TIMESTAMP,
  903. "TENANT_ID_" VARCHAR(255),
  904. "PARENT_DEPLOYMENT_ID_" VARCHAR(255)
  905. )
  906. INITRANS 1
  907. TABLESPACE "USERS"
  908. STORAGE (INITIAL 65536) ;
  909. -- ----------------------------
  910. -- Records of ACT_FO_FORM_DEPLOYMENT
  911. -- ----------------------------
  912. COMMIT;
  913. -- ----------------------------
  914. -- Table structure for ACT_FO_FORM_INSTANCE
  915. -- ----------------------------
  916. -- DROP TABLE "ACT_FO_FORM_INSTANCE";
  917. CREATE TABLE "ACT_FO_FORM_INSTANCE" (
  918. "ID_" VARCHAR(255) NOT NULL,
  919. "FORM_DEFINITION_ID_" VARCHAR(255) NOT NULL,
  920. "TASK_ID_" VARCHAR(255),
  921. "PROC_INST_ID_" VARCHAR(255),
  922. "PROC_DEF_ID_" VARCHAR(255),
  923. "SUBMITTED_DATE_" TIMESTAMP,
  924. "SUBMITTED_BY_" VARCHAR(255),
  925. "FORM_VALUES_ID_" VARCHAR(255),
  926. "TENANT_ID_" VARCHAR(255),
  927. "SCOPE_ID_" VARCHAR(255),
  928. "SCOPE_TYPE_" VARCHAR(255),
  929. "SCOPE_DEFINITION_ID_" VARCHAR(255)
  930. )
  931. INITRANS 1
  932. TABLESPACE "USERS"
  933. STORAGE (INITIAL 65536) ;
  934. -- ----------------------------
  935. -- Records of ACT_FO_FORM_INSTANCE
  936. -- ----------------------------
  937. COMMIT;
  938. -- ----------------------------
  939. -- Table structure for ACT_FO_FORM_RESOURCE
  940. -- ----------------------------
  941. -- DROP TABLE "ACT_FO_FORM_RESOURCE";
  942. CREATE TABLE "ACT_FO_FORM_RESOURCE" (
  943. "ID_" VARCHAR(255) NOT NULL,
  944. "NAME_" VARCHAR(255),
  945. "DEPLOYMENT_ID_" VARCHAR(255),
  946. "RESOURCE_BYTES_" BLOB
  947. )
  948. INITRANS 1
  949. TABLESPACE "USERS"
  950. STORAGE (INITIAL 65536) ;
  951. -- ----------------------------
  952. -- Records of ACT_FO_FORM_RESOURCE
  953. -- ----------------------------
  954. COMMIT;
  955. -- ----------------------------
  956. -- Table structure for ACT_GE_BYTEARRAY
  957. -- ----------------------------
  958. -- DROP TABLE "ACT_GE_BYTEARRAY";
  959. CREATE TABLE "ACT_GE_BYTEARRAY" (
  960. "ID_" VARCHAR(64) NOT NULL,
  961. "REV_" NUMBER,
  962. "NAME_" VARCHAR(255),
  963. "DEPLOYMENT_ID_" VARCHAR(64),
  964. "BYTES_" BLOB,
  965. "GENERATED_" NUMBER(1)
  966. )
  967. INITRANS 1
  968. TABLESPACE "USERS"
  969. STORAGE (INITIAL 65536) ;
  970. -- ----------------------------
  971. -- Records of ACT_GE_BYTEARRAY
  972. -- ----------------------------
  973. COMMIT;
  974. -- ----------------------------
  975. -- Table structure for ACT_GE_PROPERTY
  976. -- ----------------------------
  977. -- DROP TABLE "ACT_GE_PROPERTY";
  978. CREATE TABLE "ACT_GE_PROPERTY" (
  979. "NAME_" VARCHAR(64) NOT NULL,
  980. "VALUE_" VARCHAR(300),
  981. "REV_" NUMBER
  982. )
  983. INITRANS 1
  984. TABLESPACE "USERS"
  985. STORAGE (INITIAL 65536) ;
  986. -- ----------------------------
  987. -- Records of ACT_GE_PROPERTY
  988. -- ----------------------------
  989. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('batch.schema.version', '7.0.1.1', '1');
  990. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('common.schema.version', '7.0.1.1', '1');
  991. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('next.dbid', '1', '1');
  992. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('entitylink.schema.version', '7.0.1.1', '1');
  993. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('identitylink.schema.version', '7.0.1.1', '1');
  994. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('job.schema.version', '7.0.1.1', '1');
  995. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('task.schema.version', '7.0.1.1', '1');
  996. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('variable.schema.version', '7.0.1.1', '1');
  997. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('eventsubscription.schema.version', '7.0.1.1', '1');
  998. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('schema.version', '7.0.1.1', '2');
  999. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('schema.history', 'upgrade(6.5.0.1->7.0.1.1)', '2');
  1000. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('cfg.execution-related-entities-count', 'true', '1');
  1001. INSERT INTO "ACT_GE_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('cfg.task-related-entities-count', 'true', '1');
  1002. COMMIT;
  1003. -- ----------------------------
  1004. -- Table structure for ACT_HI_ACTINST
  1005. -- ----------------------------
  1006. -- DROP TABLE "ACT_HI_ACTINST";
  1007. CREATE TABLE "ACT_HI_ACTINST" (
  1008. "ID_" VARCHAR(64) NOT NULL,
  1009. "REV_" NUMBER DEFAULT 1,
  1010. "PROC_DEF_ID_" VARCHAR(64) NOT NULL,
  1011. "PROC_INST_ID_" VARCHAR(64) NOT NULL,
  1012. "EXECUTION_ID_" VARCHAR(64) NOT NULL,
  1013. "ACT_ID_" VARCHAR(255) NOT NULL,
  1014. "TASK_ID_" VARCHAR(64),
  1015. "CALL_PROC_INST_ID_" VARCHAR(64),
  1016. "ACT_NAME_" VARCHAR(255),
  1017. "ACT_TYPE_" VARCHAR(255) NOT NULL,
  1018. "ASSIGNEE_" VARCHAR(255),
  1019. "START_TIME_" TIMESTAMP NOT NULL,
  1020. "END_TIME_" TIMESTAMP,
  1021. "DURATION_" NUMBER(19),
  1022. "DELETE_REASON_" VARCHAR(2000),
  1023. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1024. "TRANSACTION_ORDER_" NUMBER
  1025. )
  1026. INITRANS 1
  1027. TABLESPACE "USERS"
  1028. STORAGE (INITIAL 65536) ;
  1029. -- ----------------------------
  1030. -- Records of ACT_HI_ACTINST
  1031. -- ----------------------------
  1032. COMMIT;
  1033. -- ----------------------------
  1034. -- Table structure for ACT_HI_ATTACHMENT
  1035. -- ----------------------------
  1036. -- DROP TABLE "ACT_HI_ATTACHMENT";
  1037. CREATE TABLE "ACT_HI_ATTACHMENT" (
  1038. "ID_" VARCHAR(64) NOT NULL,
  1039. "REV_" NUMBER,
  1040. "USER_ID_" VARCHAR(255),
  1041. "NAME_" VARCHAR(255),
  1042. "DESCRIPTION_" VARCHAR(2000),
  1043. "TYPE_" VARCHAR(255),
  1044. "TASK_ID_" VARCHAR(64),
  1045. "PROC_INST_ID_" VARCHAR(64),
  1046. "URL_" VARCHAR(2000),
  1047. "CONTENT_ID_" VARCHAR(64),
  1048. "TIME_" TIMESTAMP
  1049. )
  1050. INITRANS 1
  1051. TABLESPACE "USERS"
  1052. STORAGE (INITIAL 65536) ;
  1053. -- ----------------------------
  1054. -- Records of ACT_HI_ATTACHMENT
  1055. -- ----------------------------
  1056. COMMIT;
  1057. -- ----------------------------
  1058. -- Table structure for ACT_HI_COMMENT
  1059. -- ----------------------------
  1060. -- DROP TABLE "ACT_HI_COMMENT";
  1061. CREATE TABLE "ACT_HI_COMMENT" (
  1062. "ID_" VARCHAR(64) NOT NULL,
  1063. "TYPE_" VARCHAR(255),
  1064. "TIME_" TIMESTAMP NOT NULL,
  1065. "USER_ID_" VARCHAR(255),
  1066. "TASK_ID_" VARCHAR(64),
  1067. "PROC_INST_ID_" VARCHAR(64),
  1068. "ACTION_" VARCHAR(255),
  1069. "MESSAGE_" VARCHAR(2000),
  1070. "FULL_MSG_" BLOB
  1071. )
  1072. INITRANS 1
  1073. TABLESPACE "USERS"
  1074. STORAGE (INITIAL 65536) ;
  1075. -- ----------------------------
  1076. -- Records of ACT_HI_COMMENT
  1077. -- ----------------------------
  1078. COMMIT;
  1079. -- ----------------------------
  1080. -- Table structure for ACT_HI_DETAIL
  1081. -- ----------------------------
  1082. -- DROP TABLE "ACT_HI_DETAIL";
  1083. CREATE TABLE "ACT_HI_DETAIL" (
  1084. "ID_" VARCHAR(64) NOT NULL,
  1085. "TYPE_" VARCHAR(255) NOT NULL,
  1086. "PROC_INST_ID_" VARCHAR(64),
  1087. "EXECUTION_ID_" VARCHAR(64),
  1088. "TASK_ID_" VARCHAR(64),
  1089. "ACT_INST_ID_" VARCHAR(64),
  1090. "NAME_" VARCHAR(255) NOT NULL,
  1091. "VAR_TYPE_" VARCHAR(64),
  1092. "REV_" NUMBER,
  1093. "TIME_" TIMESTAMP NOT NULL,
  1094. "BYTEARRAY_ID_" VARCHAR(64),
  1095. "DOUBLE_" NUMBER,
  1096. "LONG_" NUMBER(19),
  1097. "TEXT_" VARCHAR(2000),
  1098. "TEXT2_" VARCHAR(2000)
  1099. )
  1100. INITRANS 1
  1101. TABLESPACE "USERS"
  1102. STORAGE (INITIAL 65536) ;
  1103. -- ----------------------------
  1104. -- Records of ACT_HI_DETAIL
  1105. -- ----------------------------
  1106. COMMIT;
  1107. -- ----------------------------
  1108. -- Table structure for ACT_HI_ENTITYLINK
  1109. -- ----------------------------
  1110. -- DROP TABLE "ACT_HI_ENTITYLINK";
  1111. CREATE TABLE "ACT_HI_ENTITYLINK" (
  1112. "ID_" VARCHAR(64) NOT NULL,
  1113. "LINK_TYPE_" VARCHAR(255),
  1114. "CREATE_TIME_" TIMESTAMP,
  1115. "SCOPE_ID_" VARCHAR(255),
  1116. "SCOPE_TYPE_" VARCHAR(255),
  1117. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1118. "REF_SCOPE_ID_" VARCHAR(255),
  1119. "REF_SCOPE_TYPE_" VARCHAR(255),
  1120. "REF_SCOPE_DEFINITION_ID_" VARCHAR(255),
  1121. "HIERARCHY_TYPE_" VARCHAR(255),
  1122. "ROOT_SCOPE_ID_" VARCHAR(255),
  1123. "ROOT_SCOPE_TYPE_" VARCHAR(255),
  1124. "SUB_SCOPE_ID_" VARCHAR(255),
  1125. "PARENT_ELEMENT_ID_" VARCHAR(255)
  1126. )
  1127. INITRANS 1
  1128. TABLESPACE "USERS"
  1129. STORAGE (INITIAL 65536) ;
  1130. -- ----------------------------
  1131. -- Records of ACT_HI_ENTITYLINK
  1132. -- ----------------------------
  1133. COMMIT;
  1134. -- ----------------------------
  1135. -- Table structure for ACT_HI_IDENTITYLINK
  1136. -- ----------------------------
  1137. -- DROP TABLE "ACT_HI_IDENTITYLINK";
  1138. CREATE TABLE "ACT_HI_IDENTITYLINK" (
  1139. "ID_" VARCHAR(64) NOT NULL,
  1140. "GROUP_ID_" VARCHAR(255),
  1141. "TYPE_" VARCHAR(255),
  1142. "USER_ID_" VARCHAR(255),
  1143. "TASK_ID_" VARCHAR(64),
  1144. "CREATE_TIME_" TIMESTAMP,
  1145. "PROC_INST_ID_" VARCHAR(64),
  1146. "SCOPE_ID_" VARCHAR(255),
  1147. "SCOPE_TYPE_" VARCHAR(255),
  1148. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1149. "SUB_SCOPE_ID_" VARCHAR(255)
  1150. )
  1151. INITRANS 1
  1152. TABLESPACE "USERS"
  1153. STORAGE (INITIAL 65536) ;
  1154. -- ----------------------------
  1155. -- Records of ACT_HI_IDENTITYLINK
  1156. -- ----------------------------
  1157. COMMIT;
  1158. -- ----------------------------
  1159. -- Table structure for ACT_HI_PROCINST
  1160. -- ----------------------------
  1161. -- DROP TABLE "ACT_HI_PROCINST";
  1162. CREATE TABLE "ACT_HI_PROCINST" (
  1163. "ID_" VARCHAR(64) NOT NULL,
  1164. "REV_" NUMBER DEFAULT 1,
  1165. "PROC_INST_ID_" VARCHAR(64) NOT NULL,
  1166. "BUSINESS_KEY_" VARCHAR(255),
  1167. "PROC_DEF_ID_" VARCHAR(64) NOT NULL,
  1168. "START_TIME_" TIMESTAMP NOT NULL,
  1169. "END_TIME_" TIMESTAMP,
  1170. "DURATION_" NUMBER(19),
  1171. "START_USER_ID_" VARCHAR(255),
  1172. "START_ACT_ID_" VARCHAR(255),
  1173. "END_ACT_ID_" VARCHAR(255),
  1174. "SUPER_PROCESS_INSTANCE_ID_" VARCHAR(64),
  1175. "DELETE_REASON_" VARCHAR(2000),
  1176. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1177. "NAME_" VARCHAR(255),
  1178. "CALLBACK_ID_" VARCHAR(255),
  1179. "CALLBACK_TYPE_" VARCHAR(255),
  1180. "REFERENCE_ID_" VARCHAR(255),
  1181. "REFERENCE_TYPE_" VARCHAR(255),
  1182. "PROPAGATED_STAGE_INST_ID_" VARCHAR(255),
  1183. "BUSINESS_STATUS_" VARCHAR(255)
  1184. )
  1185. INITRANS 1
  1186. TABLESPACE "USERS"
  1187. STORAGE (INITIAL 65536) ;
  1188. -- ----------------------------
  1189. -- Records of ACT_HI_PROCINST
  1190. -- ----------------------------
  1191. COMMIT;
  1192. -- ----------------------------
  1193. -- Table structure for ACT_HI_TASKINST
  1194. -- ----------------------------
  1195. -- DROP TABLE "ACT_HI_TASKINST";
  1196. CREATE TABLE "ACT_HI_TASKINST" (
  1197. "ID_" VARCHAR(64) NOT NULL,
  1198. "REV_" NUMBER DEFAULT 1,
  1199. "PROC_DEF_ID_" VARCHAR(64),
  1200. "TASK_DEF_ID_" VARCHAR(64),
  1201. "TASK_DEF_KEY_" VARCHAR(255),
  1202. "PROC_INST_ID_" VARCHAR(64),
  1203. "EXECUTION_ID_" VARCHAR(64),
  1204. "SCOPE_ID_" VARCHAR(255),
  1205. "SUB_SCOPE_ID_" VARCHAR(255),
  1206. "SCOPE_TYPE_" VARCHAR(255),
  1207. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1208. "PARENT_TASK_ID_" VARCHAR(64),
  1209. "NAME_" VARCHAR(255),
  1210. "DESCRIPTION_" VARCHAR(2000),
  1211. "OWNER_" VARCHAR(255),
  1212. "ASSIGNEE_" VARCHAR(255),
  1213. "START_TIME_" TIMESTAMP NOT NULL,
  1214. "CLAIM_TIME_" TIMESTAMP,
  1215. "END_TIME_" TIMESTAMP,
  1216. "DURATION_" NUMBER(19),
  1217. "DELETE_REASON_" VARCHAR(2000),
  1218. "PRIORITY_" NUMBER,
  1219. "DUE_DATE_" TIMESTAMP,
  1220. "FORM_KEY_" VARCHAR(255),
  1221. "CATEGORY_" VARCHAR(255),
  1222. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1223. "LAST_UPDATED_TIME_" TIMESTAMP,
  1224. "PROPAGATED_STAGE_INST_ID_" VARCHAR(255),
  1225. "STATE_" VARCHAR(255),
  1226. "IN_PROGRESS_TIME_" TIMESTAMP,
  1227. "IN_PROGRESS_STARTED_BY_" VARCHAR(255),
  1228. "CLAIMED_BY_" VARCHAR(255),
  1229. "SUSPENDED_TIME_" TIMESTAMP,
  1230. "SUSPENDED_BY_" VARCHAR(255),
  1231. "COMPLETED_BY_" VARCHAR(255),
  1232. "IN_PROGRESS_DUE_DATE_" TIMESTAMP
  1233. )
  1234. INITRANS 1
  1235. TABLESPACE "USERS"
  1236. STORAGE (INITIAL 65536) ;
  1237. -- ----------------------------
  1238. -- Records of ACT_HI_TASKINST
  1239. -- ----------------------------
  1240. COMMIT;
  1241. -- ----------------------------
  1242. -- Table structure for ACT_HI_TSK_LOG
  1243. -- ----------------------------
  1244. -- DROP TABLE "ACT_HI_TSK_LOG";
  1245. CREATE TABLE "ACT_HI_TSK_LOG" (
  1246. "ID_" NUMBER(19) NOT NULL,
  1247. "TYPE_" VARCHAR(64),
  1248. "TASK_ID_" VARCHAR(64) NOT NULL,
  1249. "TIME_STAMP_" TIMESTAMP NOT NULL,
  1250. "USER_ID_" VARCHAR(255),
  1251. "DATA_" VARCHAR(2000),
  1252. "EXECUTION_ID_" VARCHAR(64),
  1253. "PROC_INST_ID_" VARCHAR(64),
  1254. "PROC_DEF_ID_" VARCHAR(64),
  1255. "SCOPE_ID_" VARCHAR(255),
  1256. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1257. "SUB_SCOPE_ID_" VARCHAR(255),
  1258. "SCOPE_TYPE_" VARCHAR(255),
  1259. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  1260. )
  1261. INITRANS 1
  1262. TABLESPACE "USERS"
  1263. STORAGE (INITIAL 65536) ;
  1264. -- ----------------------------
  1265. -- Records of ACT_HI_TSK_LOG
  1266. -- ----------------------------
  1267. COMMIT;
  1268. -- ----------------------------
  1269. -- Table structure for ACT_HI_VARINST
  1270. -- ----------------------------
  1271. -- DROP TABLE "ACT_HI_VARINST";
  1272. CREATE TABLE "ACT_HI_VARINST" (
  1273. "ID_" VARCHAR(64) NOT NULL,
  1274. "REV_" NUMBER DEFAULT 1,
  1275. "PROC_INST_ID_" VARCHAR(64),
  1276. "EXECUTION_ID_" VARCHAR(64),
  1277. "TASK_ID_" VARCHAR(64),
  1278. "NAME_" VARCHAR(255) NOT NULL,
  1279. "VAR_TYPE_" VARCHAR(100),
  1280. "SCOPE_ID_" VARCHAR(255),
  1281. "SUB_SCOPE_ID_" VARCHAR(255),
  1282. "SCOPE_TYPE_" VARCHAR(255),
  1283. "BYTEARRAY_ID_" VARCHAR(64),
  1284. "DOUBLE_" NUMBER,
  1285. "LONG_" NUMBER(19),
  1286. "TEXT_" VARCHAR(2000),
  1287. "TEXT2_" VARCHAR(2000),
  1288. "CREATE_TIME_" TIMESTAMP,
  1289. "LAST_UPDATED_TIME_" TIMESTAMP,
  1290. "META_INFO_" VARCHAR(2000)
  1291. )
  1292. INITRANS 1
  1293. TABLESPACE "USERS"
  1294. STORAGE (INITIAL 65536) ;
  1295. -- ----------------------------
  1296. -- Records of ACT_HI_VARINST
  1297. -- ----------------------------
  1298. COMMIT;
  1299. -- ----------------------------
  1300. -- Table structure for ACT_ID_BYTEARRAY
  1301. -- ----------------------------
  1302. -- DROP TABLE "ACT_ID_BYTEARRAY";
  1303. CREATE TABLE "ACT_ID_BYTEARRAY" (
  1304. "ID_" VARCHAR(64) NOT NULL,
  1305. "REV_" NUMBER,
  1306. "NAME_" VARCHAR(255),
  1307. "BYTES_" BLOB
  1308. )
  1309. INITRANS 1
  1310. TABLESPACE "USERS"
  1311. STORAGE (INITIAL 65536) ;
  1312. -- ----------------------------
  1313. -- Records of ACT_ID_BYTEARRAY
  1314. -- ----------------------------
  1315. COMMIT;
  1316. -- ----------------------------
  1317. -- Table structure for ACT_ID_GROUP
  1318. -- ----------------------------
  1319. -- DROP TABLE "ACT_ID_GROUP";
  1320. CREATE TABLE "ACT_ID_GROUP" (
  1321. "ID_" VARCHAR(64) NOT NULL,
  1322. "REV_" NUMBER,
  1323. "NAME_" VARCHAR(255),
  1324. "TYPE_" VARCHAR(255)
  1325. )
  1326. INITRANS 1
  1327. TABLESPACE "USERS"
  1328. STORAGE (INITIAL 65536) ;
  1329. -- ----------------------------
  1330. -- Records of ACT_ID_GROUP
  1331. -- ----------------------------
  1332. COMMIT;
  1333. -- ----------------------------
  1334. -- Table structure for ACT_ID_INFO
  1335. -- ----------------------------
  1336. -- DROP TABLE "ACT_ID_INFO";
  1337. CREATE TABLE "ACT_ID_INFO" (
  1338. "ID_" VARCHAR(64) NOT NULL,
  1339. "REV_" NUMBER,
  1340. "USER_ID_" VARCHAR(64),
  1341. "TYPE_" VARCHAR(64),
  1342. "KEY_" VARCHAR(255),
  1343. "VALUE_" VARCHAR(255),
  1344. "PASSWORD_" BLOB,
  1345. "PARENT_ID_" VARCHAR(255)
  1346. )
  1347. INITRANS 1
  1348. TABLESPACE "USERS"
  1349. STORAGE (INITIAL 65536) ;
  1350. -- ----------------------------
  1351. -- Records of ACT_ID_INFO
  1352. -- ----------------------------
  1353. COMMIT;
  1354. -- ----------------------------
  1355. -- Table structure for ACT_ID_MEMBERSHIP
  1356. -- ----------------------------
  1357. -- DROP TABLE "ACT_ID_MEMBERSHIP";
  1358. CREATE TABLE "ACT_ID_MEMBERSHIP" (
  1359. "USER_ID_" VARCHAR(64) NOT NULL,
  1360. "GROUP_ID_" VARCHAR(64) NOT NULL
  1361. )
  1362. INITRANS 1
  1363. TABLESPACE "USERS"
  1364. STORAGE (INITIAL 65536) ;
  1365. -- ----------------------------
  1366. -- Records of ACT_ID_MEMBERSHIP
  1367. -- ----------------------------
  1368. COMMIT;
  1369. -- ----------------------------
  1370. -- Table structure for ACT_ID_PRIV
  1371. -- ----------------------------
  1372. -- DROP TABLE "ACT_ID_PRIV";
  1373. CREATE TABLE "ACT_ID_PRIV" (
  1374. "ID_" VARCHAR(64) NOT NULL,
  1375. "NAME_" VARCHAR(255) NOT NULL
  1376. )
  1377. INITRANS 1
  1378. TABLESPACE "USERS"
  1379. STORAGE (INITIAL 65536) ;
  1380. -- ----------------------------
  1381. -- Records of ACT_ID_PRIV
  1382. -- ----------------------------
  1383. COMMIT;
  1384. -- ----------------------------
  1385. -- Table structure for ACT_ID_PRIV_MAPPING
  1386. -- ----------------------------
  1387. -- DROP TABLE "ACT_ID_PRIV_MAPPING";
  1388. CREATE TABLE "ACT_ID_PRIV_MAPPING" (
  1389. "ID_" VARCHAR(64) NOT NULL,
  1390. "PRIV_ID_" VARCHAR(64) NOT NULL,
  1391. "USER_ID_" VARCHAR(255),
  1392. "GROUP_ID_" VARCHAR(255)
  1393. )
  1394. INITRANS 1
  1395. TABLESPACE "USERS"
  1396. STORAGE (INITIAL 65536) ;
  1397. -- ----------------------------
  1398. -- Records of ACT_ID_PRIV_MAPPING
  1399. -- ----------------------------
  1400. COMMIT;
  1401. -- ----------------------------
  1402. -- Table structure for ACT_ID_PROPERTY
  1403. -- ----------------------------
  1404. -- DROP TABLE "ACT_ID_PROPERTY";
  1405. CREATE TABLE "ACT_ID_PROPERTY" (
  1406. "NAME_" VARCHAR(64) NOT NULL,
  1407. "VALUE_" VARCHAR(300),
  1408. "REV_" NUMBER
  1409. )
  1410. INITRANS 1
  1411. TABLESPACE "USERS"
  1412. STORAGE (INITIAL 65536) ;
  1413. -- ----------------------------
  1414. -- Records of ACT_ID_PROPERTY
  1415. -- ----------------------------
  1416. INSERT INTO "ACT_ID_PROPERTY" ("NAME_", "VALUE_", "REV_") VALUES ('schema.version', '7.0.1.1', '1');
  1417. COMMIT;
  1418. -- ----------------------------
  1419. -- Table structure for ACT_ID_TOKEN
  1420. -- ----------------------------
  1421. -- DROP TABLE "ACT_ID_TOKEN";
  1422. CREATE TABLE "ACT_ID_TOKEN" (
  1423. "ID_" VARCHAR(64) NOT NULL,
  1424. "REV_" NUMBER,
  1425. "TOKEN_VALUE_" VARCHAR(255),
  1426. "TOKEN_DATE_" TIMESTAMP,
  1427. "IP_ADDRESS_" VARCHAR(255),
  1428. "USER_AGENT_" VARCHAR(255),
  1429. "USER_ID_" VARCHAR(255),
  1430. "TOKEN_DATA_" VARCHAR(2000)
  1431. )
  1432. INITRANS 1
  1433. TABLESPACE "USERS"
  1434. STORAGE (INITIAL 65536) ;
  1435. -- ----------------------------
  1436. -- Records of ACT_ID_TOKEN
  1437. -- ----------------------------
  1438. COMMIT;
  1439. -- ----------------------------
  1440. -- Table structure for ACT_ID_USER
  1441. -- ----------------------------
  1442. -- DROP TABLE "ACT_ID_USER";
  1443. CREATE TABLE "ACT_ID_USER" (
  1444. "ID_" VARCHAR(64) NOT NULL,
  1445. "REV_" NUMBER,
  1446. "FIRST_" VARCHAR(255),
  1447. "LAST_" VARCHAR(255),
  1448. "DISPLAY_NAME_" VARCHAR(255),
  1449. "EMAIL_" VARCHAR(255),
  1450. "PWD_" VARCHAR(255),
  1451. "PICTURE_ID_" VARCHAR(64),
  1452. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  1453. )
  1454. INITRANS 1
  1455. TABLESPACE "USERS"
  1456. STORAGE (INITIAL 65536) ;
  1457. -- ----------------------------
  1458. -- Records of ACT_ID_USER
  1459. -- ----------------------------
  1460. COMMIT;
  1461. -- ----------------------------
  1462. -- Table structure for ACT_PROCDEF_INFO
  1463. -- ----------------------------
  1464. -- DROP TABLE "ACT_PROCDEF_INFO";
  1465. CREATE TABLE "ACT_PROCDEF_INFO" (
  1466. "ID_" VARCHAR(64) NOT NULL,
  1467. "PROC_DEF_ID_" VARCHAR(64) NOT NULL,
  1468. "REV_" NUMBER,
  1469. "INFO_JSON_ID_" VARCHAR(64)
  1470. )
  1471. INITRANS 1
  1472. TABLESPACE "USERS"
  1473. STORAGE (INITIAL 65536) ;
  1474. -- ----------------------------
  1475. -- Records of ACT_PROCDEF_INFO
  1476. -- ----------------------------
  1477. COMMIT;
  1478. -- ----------------------------
  1479. -- Table structure for ACT_RE_DEPLOYMENT
  1480. -- ----------------------------
  1481. -- DROP TABLE "ACT_RE_DEPLOYMENT";
  1482. CREATE TABLE "ACT_RE_DEPLOYMENT" (
  1483. "ID_" VARCHAR(64) NOT NULL,
  1484. "NAME_" VARCHAR(255),
  1485. "CATEGORY_" VARCHAR(255),
  1486. "KEY_" VARCHAR(255),
  1487. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1488. "DEPLOY_TIME_" TIMESTAMP,
  1489. "DERIVED_FROM_" VARCHAR(64),
  1490. "DERIVED_FROM_ROOT_" VARCHAR(64),
  1491. "PARENT_DEPLOYMENT_ID_" VARCHAR(255),
  1492. "ENGINE_VERSION_" VARCHAR(255)
  1493. )
  1494. INITRANS 1
  1495. TABLESPACE "USERS"
  1496. STORAGE (INITIAL 65536) ;
  1497. -- ----------------------------
  1498. -- Records of ACT_RE_DEPLOYMENT
  1499. -- ----------------------------
  1500. COMMIT;
  1501. -- ----------------------------
  1502. -- Table structure for ACT_RE_MODEL
  1503. -- ----------------------------
  1504. -- DROP TABLE "ACT_RE_MODEL";
  1505. CREATE TABLE "ACT_RE_MODEL" (
  1506. "ID_" VARCHAR(64) NOT NULL,
  1507. "REV_" NUMBER,
  1508. "NAME_" VARCHAR(255),
  1509. "KEY_" VARCHAR(255),
  1510. "CATEGORY_" VARCHAR(255),
  1511. "CREATE_TIME_" TIMESTAMP,
  1512. "LAST_UPDATE_TIME_" TIMESTAMP,
  1513. "VERSION_" NUMBER,
  1514. "META_INFO_" VARCHAR(2000),
  1515. "DEPLOYMENT_ID_" VARCHAR(64),
  1516. "EDITOR_SOURCE_VALUE_ID_" VARCHAR(64),
  1517. "EDITOR_SOURCE_EXTRA_VALUE_ID_" VARCHAR(64),
  1518. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  1519. )
  1520. INITRANS 1
  1521. TABLESPACE "USERS"
  1522. STORAGE (INITIAL 65536) ;
  1523. -- ----------------------------
  1524. -- Records of ACT_RE_MODEL
  1525. -- ----------------------------
  1526. COMMIT;
  1527. -- ----------------------------
  1528. -- Table structure for ACT_RE_PROCDEF
  1529. -- ----------------------------
  1530. -- DROP TABLE "ACT_RE_PROCDEF";
  1531. CREATE TABLE "ACT_RE_PROCDEF" (
  1532. "ID_" VARCHAR(64) NOT NULL,
  1533. "REV_" NUMBER,
  1534. "CATEGORY_" VARCHAR(255),
  1535. "NAME_" VARCHAR(255),
  1536. "KEY_" VARCHAR(255) NOT NULL,
  1537. "VERSION_" NUMBER NOT NULL,
  1538. "DEPLOYMENT_ID_" VARCHAR(64),
  1539. "RESOURCE_NAME_" VARCHAR(2000),
  1540. "DGRM_RESOURCE_NAME_" VARCHAR(4000),
  1541. "DESCRIPTION_" VARCHAR(2000),
  1542. "HAS_START_FORM_KEY_" NUMBER(1),
  1543. "HAS_GRAPHICAL_NOTATION_" NUMBER(1),
  1544. "SUSPENSION_STATE_" NUMBER,
  1545. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1546. "DERIVED_FROM_" VARCHAR(64),
  1547. "DERIVED_FROM_ROOT_" VARCHAR(64),
  1548. "DERIVED_VERSION_" NUMBER DEFAULT 0 NOT NULL,
  1549. "ENGINE_VERSION_" VARCHAR(255)
  1550. )
  1551. INITRANS 1
  1552. TABLESPACE "USERS"
  1553. STORAGE (INITIAL 65536) ;
  1554. -- ----------------------------
  1555. -- Records of ACT_RE_PROCDEF
  1556. -- ----------------------------
  1557. COMMIT;
  1558. -- ----------------------------
  1559. -- Table structure for ACT_RU_ACTINST
  1560. -- ----------------------------
  1561. -- DROP TABLE "ACT_RU_ACTINST";
  1562. CREATE TABLE "ACT_RU_ACTINST" (
  1563. "ID_" VARCHAR(64) NOT NULL,
  1564. "REV_" NUMBER DEFAULT 1,
  1565. "PROC_DEF_ID_" VARCHAR(64) NOT NULL,
  1566. "PROC_INST_ID_" VARCHAR(64) NOT NULL,
  1567. "EXECUTION_ID_" VARCHAR(64) NOT NULL,
  1568. "ACT_ID_" VARCHAR(255) NOT NULL,
  1569. "TASK_ID_" VARCHAR(64),
  1570. "CALL_PROC_INST_ID_" VARCHAR(64),
  1571. "ACT_NAME_" VARCHAR(255),
  1572. "ACT_TYPE_" VARCHAR(255) NOT NULL,
  1573. "ASSIGNEE_" VARCHAR(255),
  1574. "START_TIME_" TIMESTAMP NOT NULL,
  1575. "END_TIME_" TIMESTAMP,
  1576. "DURATION_" NUMBER(19),
  1577. "DELETE_REASON_" VARCHAR(2000),
  1578. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1579. "TRANSACTION_ORDER_" NUMBER
  1580. )
  1581. INITRANS 1
  1582. TABLESPACE "USERS"
  1583. STORAGE (INITIAL 65536) ;
  1584. -- ----------------------------
  1585. -- Records of ACT_RU_ACTINST
  1586. -- ----------------------------
  1587. COMMIT;
  1588. -- ----------------------------
  1589. -- Table structure for ACT_RU_DEADLETTER_JOB
  1590. -- ----------------------------
  1591. -- DROP TABLE "ACT_RU_DEADLETTER_JOB";
  1592. CREATE TABLE "ACT_RU_DEADLETTER_JOB" (
  1593. "ID_" VARCHAR(64) NOT NULL,
  1594. "REV_" NUMBER,
  1595. "TYPE_" VARCHAR(255) NOT NULL,
  1596. "EXCLUSIVE_" NUMBER(1),
  1597. "EXECUTION_ID_" VARCHAR(64),
  1598. "PROCESS_INSTANCE_ID_" VARCHAR(64),
  1599. "PROC_DEF_ID_" VARCHAR(64),
  1600. "ELEMENT_ID_" VARCHAR(255),
  1601. "ELEMENT_NAME_" VARCHAR(255),
  1602. "SCOPE_ID_" VARCHAR(255),
  1603. "SUB_SCOPE_ID_" VARCHAR(255),
  1604. "SCOPE_TYPE_" VARCHAR(255),
  1605. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1606. "EXCEPTION_STACK_ID_" VARCHAR(64),
  1607. "EXCEPTION_MSG_" VARCHAR(2000),
  1608. "DUEDATE_" TIMESTAMP,
  1609. "REPEAT_" VARCHAR(255),
  1610. "HANDLER_TYPE_" VARCHAR(255),
  1611. "HANDLER_CFG_" VARCHAR(2000),
  1612. "CUSTOM_VALUES_ID_" VARCHAR(64),
  1613. "CREATE_TIME_" TIMESTAMP,
  1614. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1615. "CATEGORY_" VARCHAR(255),
  1616. "CORRELATION_ID_" VARCHAR(255)
  1617. )
  1618. INITRANS 1
  1619. TABLESPACE "USERS"
  1620. STORAGE (INITIAL 65536) ;
  1621. -- ----------------------------
  1622. -- Records of ACT_RU_DEADLETTER_JOB
  1623. -- ----------------------------
  1624. COMMIT;
  1625. -- ----------------------------
  1626. -- Table structure for ACT_RU_ENTITYLINK
  1627. -- ----------------------------
  1628. -- DROP TABLE "ACT_RU_ENTITYLINK";
  1629. CREATE TABLE "ACT_RU_ENTITYLINK" (
  1630. "ID_" VARCHAR(64) NOT NULL,
  1631. "REV_" NUMBER,
  1632. "CREATE_TIME_" TIMESTAMP,
  1633. "LINK_TYPE_" VARCHAR(255),
  1634. "SCOPE_ID_" VARCHAR(255),
  1635. "SCOPE_TYPE_" VARCHAR(255),
  1636. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1637. "REF_SCOPE_ID_" VARCHAR(255),
  1638. "REF_SCOPE_TYPE_" VARCHAR(255),
  1639. "REF_SCOPE_DEFINITION_ID_" VARCHAR(255),
  1640. "HIERARCHY_TYPE_" VARCHAR(255),
  1641. "ROOT_SCOPE_ID_" VARCHAR(255),
  1642. "ROOT_SCOPE_TYPE_" VARCHAR(255),
  1643. "SUB_SCOPE_ID_" VARCHAR(255),
  1644. "PARENT_ELEMENT_ID_" VARCHAR(255)
  1645. )
  1646. INITRANS 1
  1647. TABLESPACE "USERS"
  1648. STORAGE (INITIAL 65536) ;
  1649. -- ----------------------------
  1650. -- Records of ACT_RU_ENTITYLINK
  1651. -- ----------------------------
  1652. COMMIT;
  1653. -- ----------------------------
  1654. -- Table structure for ACT_RU_EVENT_SUBSCR
  1655. -- ----------------------------
  1656. -- DROP TABLE "ACT_RU_EVENT_SUBSCR";
  1657. CREATE TABLE "ACT_RU_EVENT_SUBSCR" (
  1658. "ID_" VARCHAR(64) NOT NULL,
  1659. "REV_" NUMBER,
  1660. "EVENT_TYPE_" VARCHAR(255) NOT NULL,
  1661. "EVENT_NAME_" VARCHAR(255),
  1662. "EXECUTION_ID_" VARCHAR(64),
  1663. "PROC_INST_ID_" VARCHAR(64),
  1664. "ACTIVITY_ID_" VARCHAR(64),
  1665. "CONFIGURATION_" VARCHAR(255),
  1666. "CREATED_" TIMESTAMP NOT NULL,
  1667. "PROC_DEF_ID_" VARCHAR(64),
  1668. "SUB_SCOPE_ID_" VARCHAR(64),
  1669. "SCOPE_ID_" VARCHAR(64),
  1670. "SCOPE_DEFINITION_ID_" VARCHAR(64),
  1671. "SCOPE_TYPE_" VARCHAR(64),
  1672. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1673. "LOCK_TIME_" TIMESTAMP,
  1674. "LOCK_OWNER_" VARCHAR(255),
  1675. "SCOPE_DEFINITION_KEY_" VARCHAR(255)
  1676. )
  1677. INITRANS 1
  1678. TABLESPACE "USERS"
  1679. STORAGE (INITIAL 65536) ;
  1680. -- ----------------------------
  1681. -- Records of ACT_RU_EVENT_SUBSCR
  1682. -- ----------------------------
  1683. COMMIT;
  1684. -- ----------------------------
  1685. -- Table structure for ACT_RU_EXECUTION
  1686. -- ----------------------------
  1687. -- DROP TABLE "ACT_RU_EXECUTION";
  1688. CREATE TABLE "ACT_RU_EXECUTION" (
  1689. "ID_" VARCHAR(64) NOT NULL,
  1690. "REV_" NUMBER,
  1691. "PROC_INST_ID_" VARCHAR(64),
  1692. "BUSINESS_KEY_" VARCHAR(255),
  1693. "PARENT_ID_" VARCHAR(64),
  1694. "PROC_DEF_ID_" VARCHAR(64),
  1695. "SUPER_EXEC_" VARCHAR(64),
  1696. "ROOT_PROC_INST_ID_" VARCHAR(64),
  1697. "ACT_ID_" VARCHAR(255),
  1698. "IS_ACTIVE_" NUMBER(1),
  1699. "IS_CONCURRENT_" NUMBER(1),
  1700. "IS_SCOPE_" NUMBER(1),
  1701. "IS_EVENT_SCOPE_" NUMBER(1),
  1702. "IS_MI_ROOT_" NUMBER(1),
  1703. "SUSPENSION_STATE_" NUMBER,
  1704. "CACHED_ENT_STATE_" NUMBER,
  1705. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1706. "NAME_" VARCHAR(255),
  1707. "START_ACT_ID_" VARCHAR(255),
  1708. "START_TIME_" TIMESTAMP,
  1709. "START_USER_ID_" VARCHAR(255),
  1710. "LOCK_TIME_" TIMESTAMP,
  1711. "IS_COUNT_ENABLED_" NUMBER(1),
  1712. "EVT_SUBSCR_COUNT_" NUMBER,
  1713. "TASK_COUNT_" NUMBER,
  1714. "JOB_COUNT_" NUMBER,
  1715. "TIMER_JOB_COUNT_" NUMBER,
  1716. "SUSP_JOB_COUNT_" NUMBER,
  1717. "DEADLETTER_JOB_COUNT_" NUMBER,
  1718. "VAR_COUNT_" NUMBER,
  1719. "ID_LINK_COUNT_" NUMBER,
  1720. "CALLBACK_ID_" VARCHAR(255),
  1721. "CALLBACK_TYPE_" VARCHAR(255),
  1722. "REFERENCE_ID_" VARCHAR(255),
  1723. "REFERENCE_TYPE_" VARCHAR(255),
  1724. "PROPAGATED_STAGE_INST_ID_" VARCHAR(255),
  1725. "LOCK_OWNER_" VARCHAR(255),
  1726. "EXTERNAL_WORKER_JOB_COUNT_" NUMBER,
  1727. "BUSINESS_STATUS_" VARCHAR(255)
  1728. )
  1729. INITRANS 1
  1730. TABLESPACE "USERS"
  1731. STORAGE (INITIAL 65536) ;
  1732. -- ----------------------------
  1733. -- Records of ACT_RU_EXECUTION
  1734. -- ----------------------------
  1735. COMMIT;
  1736. -- ----------------------------
  1737. -- Table structure for ACT_RU_EXTERNAL_JOB
  1738. -- ----------------------------
  1739. -- DROP TABLE "ACT_RU_EXTERNAL_JOB";
  1740. CREATE TABLE "ACT_RU_EXTERNAL_JOB" (
  1741. "ID_" VARCHAR(64) NOT NULL,
  1742. "REV_" NUMBER,
  1743. "CATEGORY_" VARCHAR(255),
  1744. "TYPE_" VARCHAR(255) NOT NULL,
  1745. "LOCK_EXP_TIME_" TIMESTAMP,
  1746. "LOCK_OWNER_" VARCHAR(255),
  1747. "EXCLUSIVE_" NUMBER(1),
  1748. "EXECUTION_ID_" VARCHAR(64),
  1749. "PROCESS_INSTANCE_ID_" VARCHAR(64),
  1750. "PROC_DEF_ID_" VARCHAR(64),
  1751. "ELEMENT_ID_" VARCHAR(255),
  1752. "ELEMENT_NAME_" VARCHAR(255),
  1753. "SCOPE_ID_" VARCHAR(255),
  1754. "SUB_SCOPE_ID_" VARCHAR(255),
  1755. "SCOPE_TYPE_" VARCHAR(255),
  1756. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1757. "RETRIES_" NUMBER,
  1758. "EXCEPTION_STACK_ID_" VARCHAR(64),
  1759. "EXCEPTION_MSG_" VARCHAR(2000),
  1760. "DUEDATE_" TIMESTAMP,
  1761. "REPEAT_" VARCHAR(255),
  1762. "HANDLER_TYPE_" VARCHAR(255),
  1763. "HANDLER_CFG_" VARCHAR(2000),
  1764. "CUSTOM_VALUES_ID_" VARCHAR(64),
  1765. "CREATE_TIME_" TIMESTAMP,
  1766. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1767. "CORRELATION_ID_" VARCHAR(255)
  1768. )
  1769. LOGGING
  1770. NOCOMPRESS
  1771. PCTFREE 10
  1772. INITRANS 1
  1773. STORAGE (
  1774. BUFFER_POOL DEFAULT
  1775. )
  1776. PARALLEL 1
  1777. NOCACHE
  1778. DISABLE ROW MOVEMENT
  1779. ;
  1780. -- ----------------------------
  1781. -- Records of ACT_RU_EXTERNAL_JOB
  1782. -- ----------------------------
  1783. COMMIT;
  1784. -- ----------------------------
  1785. -- Table structure for ACT_RU_HISTORY_JOB
  1786. -- ----------------------------
  1787. -- DROP TABLE "ACT_RU_HISTORY_JOB";
  1788. CREATE TABLE "ACT_RU_HISTORY_JOB" (
  1789. "ID_" VARCHAR(64) NOT NULL,
  1790. "REV_" NUMBER,
  1791. "LOCK_EXP_TIME_" TIMESTAMP,
  1792. "LOCK_OWNER_" VARCHAR(255),
  1793. "RETRIES_" NUMBER,
  1794. "EXCEPTION_STACK_ID_" VARCHAR(64),
  1795. "EXCEPTION_MSG_" VARCHAR(2000),
  1796. "HANDLER_TYPE_" VARCHAR(255),
  1797. "HANDLER_CFG_" VARCHAR(2000),
  1798. "CUSTOM_VALUES_ID_" VARCHAR(64),
  1799. "ADV_HANDLER_CFG_ID_" VARCHAR(64),
  1800. "CREATE_TIME_" TIMESTAMP,
  1801. "SCOPE_TYPE_" VARCHAR(255),
  1802. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  1803. )
  1804. INITRANS 1
  1805. TABLESPACE "USERS"
  1806. STORAGE (INITIAL 65536) ;
  1807. -- ----------------------------
  1808. -- Records of ACT_RU_HISTORY_JOB
  1809. -- ----------------------------
  1810. COMMIT;
  1811. -- ----------------------------
  1812. -- Table structure for ACT_RU_IDENTITYLINK
  1813. -- ----------------------------
  1814. -- DROP TABLE "ACT_RU_IDENTITYLINK";
  1815. CREATE TABLE "ACT_RU_IDENTITYLINK" (
  1816. "ID_" VARCHAR(64) NOT NULL,
  1817. "REV_" NUMBER,
  1818. "GROUP_ID_" VARCHAR(255),
  1819. "TYPE_" VARCHAR(255),
  1820. "USER_ID_" VARCHAR(255),
  1821. "TASK_ID_" VARCHAR(64),
  1822. "PROC_INST_ID_" VARCHAR(64),
  1823. "PROC_DEF_ID_" VARCHAR(64),
  1824. "SCOPE_ID_" VARCHAR(255),
  1825. "SCOPE_TYPE_" VARCHAR(255),
  1826. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1827. "SUB_SCOPE_ID_" VARCHAR(255)
  1828. )
  1829. INITRANS 1
  1830. TABLESPACE "USERS"
  1831. STORAGE (INITIAL 65536) ;
  1832. -- ----------------------------
  1833. -- Records of ACT_RU_IDENTITYLINK
  1834. -- ----------------------------
  1835. COMMIT;
  1836. -- ----------------------------
  1837. -- Table structure for ACT_RU_JOB
  1838. -- ----------------------------
  1839. -- DROP TABLE "ACT_RU_JOB";
  1840. CREATE TABLE "ACT_RU_JOB" (
  1841. "ID_" VARCHAR(64) NOT NULL,
  1842. "REV_" NUMBER,
  1843. "TYPE_" VARCHAR(255) NOT NULL,
  1844. "LOCK_EXP_TIME_" TIMESTAMP,
  1845. "LOCK_OWNER_" VARCHAR(255),
  1846. "EXCLUSIVE_" NUMBER(1),
  1847. "EXECUTION_ID_" VARCHAR(64),
  1848. "PROCESS_INSTANCE_ID_" VARCHAR(64),
  1849. "PROC_DEF_ID_" VARCHAR(64),
  1850. "ELEMENT_ID_" VARCHAR(255),
  1851. "ELEMENT_NAME_" VARCHAR(255),
  1852. "SCOPE_ID_" VARCHAR(255),
  1853. "SUB_SCOPE_ID_" VARCHAR(255),
  1854. "SCOPE_TYPE_" VARCHAR(255),
  1855. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1856. "RETRIES_" NUMBER,
  1857. "EXCEPTION_STACK_ID_" VARCHAR(64),
  1858. "EXCEPTION_MSG_" VARCHAR(2000),
  1859. "DUEDATE_" TIMESTAMP,
  1860. "REPEAT_" VARCHAR(255),
  1861. "HANDLER_TYPE_" VARCHAR(255),
  1862. "HANDLER_CFG_" VARCHAR(2000),
  1863. "CUSTOM_VALUES_ID_" VARCHAR(64),
  1864. "CREATE_TIME_" TIMESTAMP,
  1865. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1866. "CATEGORY_" VARCHAR(255),
  1867. "CORRELATION_ID_" VARCHAR(255)
  1868. )
  1869. INITRANS 1
  1870. TABLESPACE "USERS"
  1871. STORAGE (INITIAL 65536) ;
  1872. -- ----------------------------
  1873. -- Records of ACT_RU_JOB
  1874. -- ----------------------------
  1875. COMMIT;
  1876. -- ----------------------------
  1877. -- Table structure for ACT_RU_SUSPENDED_JOB
  1878. -- ----------------------------
  1879. -- DROP TABLE "ACT_RU_SUSPENDED_JOB";
  1880. CREATE TABLE "ACT_RU_SUSPENDED_JOB" (
  1881. "ID_" VARCHAR(64) NOT NULL,
  1882. "REV_" NUMBER,
  1883. "TYPE_" VARCHAR(255) NOT NULL,
  1884. "EXCLUSIVE_" NUMBER(1),
  1885. "EXECUTION_ID_" VARCHAR(64),
  1886. "PROCESS_INSTANCE_ID_" VARCHAR(64),
  1887. "PROC_DEF_ID_" VARCHAR(64),
  1888. "ELEMENT_ID_" VARCHAR(255),
  1889. "ELEMENT_NAME_" VARCHAR(255),
  1890. "SCOPE_ID_" VARCHAR(255),
  1891. "SUB_SCOPE_ID_" VARCHAR(255),
  1892. "SCOPE_TYPE_" VARCHAR(255),
  1893. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1894. "RETRIES_" NUMBER,
  1895. "EXCEPTION_STACK_ID_" VARCHAR(64),
  1896. "EXCEPTION_MSG_" VARCHAR(2000),
  1897. "DUEDATE_" TIMESTAMP,
  1898. "REPEAT_" VARCHAR(255),
  1899. "HANDLER_TYPE_" VARCHAR(255),
  1900. "HANDLER_CFG_" VARCHAR(2000),
  1901. "CUSTOM_VALUES_ID_" VARCHAR(64),
  1902. "CREATE_TIME_" TIMESTAMP,
  1903. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1904. "CATEGORY_" VARCHAR(255),
  1905. "CORRELATION_ID_" VARCHAR(255)
  1906. )
  1907. INITRANS 1
  1908. TABLESPACE "USERS"
  1909. STORAGE (INITIAL 65536) ;
  1910. -- ----------------------------
  1911. -- Records of ACT_RU_SUSPENDED_JOB
  1912. -- ----------------------------
  1913. COMMIT;
  1914. -- ----------------------------
  1915. -- Table structure for ACT_RU_TASK
  1916. -- ----------------------------
  1917. -- DROP TABLE "ACT_RU_TASK";
  1918. CREATE TABLE "ACT_RU_TASK" (
  1919. "ID_" VARCHAR(64) NOT NULL,
  1920. "REV_" NUMBER,
  1921. "EXECUTION_ID_" VARCHAR(64),
  1922. "PROC_INST_ID_" VARCHAR(64),
  1923. "PROC_DEF_ID_" VARCHAR(64),
  1924. "TASK_DEF_ID_" VARCHAR(64),
  1925. "SCOPE_ID_" VARCHAR(255),
  1926. "SUB_SCOPE_ID_" VARCHAR(255),
  1927. "SCOPE_TYPE_" VARCHAR(255),
  1928. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1929. "NAME_" VARCHAR(255),
  1930. "PARENT_TASK_ID_" VARCHAR(64),
  1931. "DESCRIPTION_" VARCHAR(2000),
  1932. "TASK_DEF_KEY_" VARCHAR(255),
  1933. "OWNER_" VARCHAR(255),
  1934. "ASSIGNEE_" VARCHAR(255),
  1935. "DELEGATION_" VARCHAR(64),
  1936. "PRIORITY_" NUMBER,
  1937. "CREATE_TIME_" TIMESTAMP,
  1938. "DUE_DATE_" TIMESTAMP,
  1939. "CATEGORY_" VARCHAR(255),
  1940. "SUSPENSION_STATE_" NUMBER,
  1941. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1942. "FORM_KEY_" VARCHAR(255),
  1943. "CLAIM_TIME_" TIMESTAMP,
  1944. "IS_COUNT_ENABLED_" NUMBER(1),
  1945. "VAR_COUNT_" NUMBER,
  1946. "ID_LINK_COUNT_" NUMBER,
  1947. "SUB_TASK_COUNT_" NUMBER,
  1948. "PROPAGATED_STAGE_INST_ID_" VARCHAR(255),
  1949. "STATE_" VARCHAR(255),
  1950. "IN_PROGRESS_TIME_" TIMESTAMP,
  1951. "IN_PROGRESS_STARTED_BY_" VARCHAR(255),
  1952. "CLAIMED_BY_" VARCHAR(255),
  1953. "SUSPENDED_TIME_" TIMESTAMP,
  1954. "SUSPENDED_BY_" VARCHAR(255),
  1955. "IN_PROGRESS_DUE_DATE_" TIMESTAMP
  1956. )
  1957. INITRANS 1
  1958. TABLESPACE "USERS"
  1959. STORAGE (INITIAL 65536) ;
  1960. -- ----------------------------
  1961. -- Records of ACT_RU_TASK
  1962. -- ----------------------------
  1963. COMMIT;
  1964. -- ----------------------------
  1965. -- Table structure for ACT_RU_TIMER_JOB
  1966. -- ----------------------------
  1967. -- DROP TABLE "ACT_RU_TIMER_JOB";
  1968. CREATE TABLE "ACT_RU_TIMER_JOB" (
  1969. "ID_" VARCHAR(64) NOT NULL,
  1970. "REV_" NUMBER,
  1971. "TYPE_" VARCHAR(255) NOT NULL,
  1972. "LOCK_EXP_TIME_" TIMESTAMP,
  1973. "LOCK_OWNER_" VARCHAR(255),
  1974. "EXCLUSIVE_" NUMBER(1),
  1975. "EXECUTION_ID_" VARCHAR(64),
  1976. "PROCESS_INSTANCE_ID_" VARCHAR(64),
  1977. "PROC_DEF_ID_" VARCHAR(64),
  1978. "ELEMENT_ID_" VARCHAR(255),
  1979. "ELEMENT_NAME_" VARCHAR(255),
  1980. "SCOPE_ID_" VARCHAR(255),
  1981. "SUB_SCOPE_ID_" VARCHAR(255),
  1982. "SCOPE_TYPE_" VARCHAR(255),
  1983. "SCOPE_DEFINITION_ID_" VARCHAR(255),
  1984. "RETRIES_" NUMBER,
  1985. "EXCEPTION_STACK_ID_" VARCHAR(64),
  1986. "EXCEPTION_MSG_" VARCHAR(2000),
  1987. "DUEDATE_" TIMESTAMP,
  1988. "REPEAT_" VARCHAR(255),
  1989. "HANDLER_TYPE_" VARCHAR(255),
  1990. "HANDLER_CFG_" VARCHAR(2000),
  1991. "CUSTOM_VALUES_ID_" VARCHAR(64),
  1992. "CREATE_TIME_" TIMESTAMP,
  1993. "TENANT_ID_" VARCHAR(255) DEFAULT '',
  1994. "CATEGORY_" VARCHAR(255),
  1995. "CORRELATION_ID_" VARCHAR(255)
  1996. )
  1997. INITRANS 1
  1998. TABLESPACE "USERS"
  1999. STORAGE (INITIAL 65536) ;
  2000. -- ----------------------------
  2001. -- Records of ACT_RU_TIMER_JOB
  2002. -- ----------------------------
  2003. COMMIT;
  2004. -- ----------------------------
  2005. -- Table structure for ACT_RU_VARIABLE
  2006. -- ----------------------------
  2007. -- DROP TABLE "ACT_RU_VARIABLE";
  2008. CREATE TABLE "ACT_RU_VARIABLE" (
  2009. "ID_" VARCHAR(64) NOT NULL,
  2010. "REV_" NUMBER,
  2011. "TYPE_" VARCHAR(255) NOT NULL,
  2012. "NAME_" VARCHAR(255) NOT NULL,
  2013. "EXECUTION_ID_" VARCHAR(64),
  2014. "PROC_INST_ID_" VARCHAR(64),
  2015. "TASK_ID_" VARCHAR(64),
  2016. "SCOPE_ID_" VARCHAR(255),
  2017. "SUB_SCOPE_ID_" VARCHAR(255),
  2018. "SCOPE_TYPE_" VARCHAR(255),
  2019. "BYTEARRAY_ID_" VARCHAR(64),
  2020. "DOUBLE_" NUMBER,
  2021. "LONG_" NUMBER(19),
  2022. "TEXT_" VARCHAR(2000),
  2023. "TEXT2_" VARCHAR(2000),
  2024. "META_INFO_" VARCHAR(2000)
  2025. )
  2026. INITRANS 1
  2027. TABLESPACE "USERS"
  2028. STORAGE (INITIAL 65536) ;
  2029. -- ----------------------------
  2030. -- Records of ACT_RU_VARIABLE
  2031. -- ----------------------------
  2032. COMMIT;
  2033. -- ----------------------------
  2034. -- Table structure for FLW_CHANNEL_DEFINITION
  2035. -- ----------------------------
  2036. -- DROP TABLE "FLW_CHANNEL_DEFINITION";
  2037. CREATE TABLE "FLW_CHANNEL_DEFINITION" (
  2038. "ID_" VARCHAR(255) NOT NULL,
  2039. "NAME_" VARCHAR(255),
  2040. "VERSION_" NUMBER,
  2041. "KEY_" VARCHAR(255),
  2042. "CATEGORY_" VARCHAR(255),
  2043. "DEPLOYMENT_ID_" VARCHAR(255),
  2044. "CREATE_TIME_" TIMESTAMP,
  2045. "TENANT_ID_" VARCHAR(255),
  2046. "RESOURCE_NAME_" VARCHAR(255),
  2047. "DESCRIPTION_" VARCHAR(255),
  2048. "TYPE_" VARCHAR(255),
  2049. "IMPLEMENTATION_" VARCHAR(255)
  2050. )
  2051. LOGGING
  2052. NOCOMPRESS
  2053. PCTFREE 10
  2054. INITRANS 1
  2055. STORAGE (
  2056. BUFFER_POOL DEFAULT
  2057. )
  2058. PARALLEL 1
  2059. NOCACHE
  2060. DISABLE ROW MOVEMENT
  2061. ;
  2062. -- ----------------------------
  2063. -- Records of FLW_CHANNEL_DEFINITION
  2064. -- ----------------------------
  2065. COMMIT;
  2066. -- ----------------------------
  2067. -- Table structure for FLW_EVENT_DEFINITION
  2068. -- ----------------------------
  2069. -- DROP TABLE "FLW_EVENT_DEFINITION";
  2070. CREATE TABLE "FLW_EVENT_DEFINITION" (
  2071. "ID_" VARCHAR(255) NOT NULL,
  2072. "NAME_" VARCHAR(255),
  2073. "VERSION_" NUMBER,
  2074. "KEY_" VARCHAR(255),
  2075. "CATEGORY_" VARCHAR(255),
  2076. "DEPLOYMENT_ID_" VARCHAR(255),
  2077. "TENANT_ID_" VARCHAR(255),
  2078. "RESOURCE_NAME_" VARCHAR(255),
  2079. "DESCRIPTION_" VARCHAR(255)
  2080. )
  2081. LOGGING
  2082. NOCOMPRESS
  2083. PCTFREE 10
  2084. INITRANS 1
  2085. STORAGE (
  2086. BUFFER_POOL DEFAULT
  2087. )
  2088. PARALLEL 1
  2089. NOCACHE
  2090. DISABLE ROW MOVEMENT
  2091. ;
  2092. -- ----------------------------
  2093. -- Records of FLW_EVENT_DEFINITION
  2094. -- ----------------------------
  2095. COMMIT;
  2096. -- ----------------------------
  2097. -- Table structure for FLW_EVENT_DEPLOYMENT
  2098. -- ----------------------------
  2099. -- DROP TABLE "FLW_EVENT_DEPLOYMENT";
  2100. CREATE TABLE "FLW_EVENT_DEPLOYMENT" (
  2101. "ID_" VARCHAR(255) NOT NULL,
  2102. "NAME_" VARCHAR(255),
  2103. "CATEGORY_" VARCHAR(255),
  2104. "DEPLOY_TIME_" TIMESTAMP,
  2105. "TENANT_ID_" VARCHAR(255),
  2106. "PARENT_DEPLOYMENT_ID_" VARCHAR(255)
  2107. )
  2108. LOGGING
  2109. NOCOMPRESS
  2110. PCTFREE 10
  2111. INITRANS 1
  2112. STORAGE (
  2113. BUFFER_POOL DEFAULT
  2114. )
  2115. PARALLEL 1
  2116. NOCACHE
  2117. DISABLE ROW MOVEMENT
  2118. ;
  2119. -- ----------------------------
  2120. -- Records of FLW_EVENT_DEPLOYMENT
  2121. -- ----------------------------
  2122. COMMIT;
  2123. -- ----------------------------
  2124. -- Table structure for FLW_EVENT_RESOURCE
  2125. -- ----------------------------
  2126. -- DROP TABLE "FLW_EVENT_RESOURCE";
  2127. CREATE TABLE "FLW_EVENT_RESOURCE" (
  2128. "ID_" VARCHAR(255) NOT NULL,
  2129. "NAME_" VARCHAR(255),
  2130. "DEPLOYMENT_ID_" VARCHAR(255),
  2131. "RESOURCE_BYTES_" BLOB
  2132. )
  2133. LOGGING
  2134. NOCOMPRESS
  2135. PCTFREE 10
  2136. INITRANS 1
  2137. STORAGE (
  2138. BUFFER_POOL DEFAULT
  2139. )
  2140. PARALLEL 1
  2141. NOCACHE
  2142. DISABLE ROW MOVEMENT
  2143. ;
  2144. -- ----------------------------
  2145. -- Records of FLW_EVENT_RESOURCE
  2146. -- ----------------------------
  2147. COMMIT;
  2148. -- ----------------------------
  2149. -- Table structure for FLW_EV_DATABASECHANGELOG
  2150. -- ----------------------------
  2151. -- DROP TABLE "FLW_EV_DATABASECHANGELOG";
  2152. CREATE TABLE "FLW_EV_DATABASECHANGELOG" (
  2153. "ID" VARCHAR(255) NOT NULL,
  2154. "AUTHOR" VARCHAR(255) NOT NULL,
  2155. "FILENAME" VARCHAR(255) NOT NULL,
  2156. "DATEEXECUTED" TIMESTAMP NOT NULL,
  2157. "ORDEREXECUTED" NUMBER NOT NULL,
  2158. "EXECTYPE" VARCHAR(10) NOT NULL,
  2159. "MD5SUM" VARCHAR(35),
  2160. "DESCRIPTION" VARCHAR(255),
  2161. "COMMENTS" VARCHAR(255),
  2162. "TAG" VARCHAR(255),
  2163. "LIQUIBASE" VARCHAR(20),
  2164. "CONTEXTS" VARCHAR(255),
  2165. "LABELS" VARCHAR(255),
  2166. "DEPLOYMENT_ID" VARCHAR(10)
  2167. )
  2168. INITRANS 1
  2169. TABLESPACE "USERS"
  2170. STORAGE (INITIAL 65536) ;
  2171. -- ----------------------------
  2172. -- Records of FLW_EV_DATABASECHANGELOG
  2173. -- ----------------------------
  2174. INSERT INTO "FLW_EV_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('1', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:30.559500', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '1', 'EXECUTED', '9:63268f536c469325acef35970312551b', 'createTable tableName=FLW_EVENT_DEPLOYMENT; createTable tableName=FLW_EVENT_RESOURCE; createTable tableName=FLW_EVENT_DEFINITION; createIndex indexName=ACT_IDX_EVENT_DEF_UNIQ, tableName=FLW_EVENT_DEFINITION; createTable tableName=FLW_CHANNEL_DEFIN...', NULL, NULL, '4.24.0', NULL, NULL, '0436530407');
  2175. INSERT INTO "FLW_EV_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('2', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:30.597357', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '2', 'EXECUTED', '9:dcb58b7dfd6dbda66939123a96985536', 'addColumn tableName=FLW_CHANNEL_DEFINITION; addColumn tableName=FLW_CHANNEL_DEFINITION', NULL, NULL, '4.24.0', NULL, NULL, '0436530407');
  2176. INSERT INTO "FLW_EV_DATABASECHANGELOG" ("ID", "AUTHOR", "FILENAME", "DATEEXECUTED", "ORDEREXECUTED", "EXECTYPE", "MD5SUM", "DESCRIPTION", "COMMENTS", "TAG", "LIQUIBASE", "CONTEXTS", "LABELS", "DEPLOYMENT_ID") VALUES ('3', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', TO_TIMESTAMP('2024-03-15 01:15:30.614363', 'SYYYY-MM-DD HH24:MI:SS:FF6'), '3', 'EXECUTED', '9:d0c05678d57af23ad93699991e3bf4f6', 'customChange', NULL, NULL, '4.24.0', NULL, NULL, '0436530407');
  2177. COMMIT;
  2178. -- ----------------------------
  2179. -- Table structure for FLW_EV_DATABASECHANGELOGLOCK
  2180. -- ----------------------------
  2181. -- DROP TABLE "FLW_EV_DATABASECHANGELOGLOCK";
  2182. CREATE TABLE "FLW_EV_DATABASECHANGELOGLOCK" (
  2183. "ID" NUMBER NOT NULL,
  2184. "LOCKED" NUMBER(1) NOT NULL,
  2185. "LOCKGRANTED" TIMESTAMP,
  2186. "LOCKEDBY" VARCHAR(255)
  2187. )
  2188. INITRANS 1
  2189. TABLESPACE "USERS"
  2190. STORAGE (INITIAL 65536) ;
  2191. -- ----------------------------
  2192. -- Records of FLW_EV_DATABASECHANGELOGLOCK
  2193. -- ----------------------------
  2194. INSERT INTO "FLW_EV_DATABASECHANGELOGLOCK" ("ID", "LOCKED", "LOCKGRANTED", "LOCKEDBY") VALUES ('1', '0', NULL, NULL);
  2195. COMMIT;
  2196. -- ----------------------------
  2197. -- Table structure for FLW_RU_BATCH
  2198. -- ----------------------------
  2199. -- DROP TABLE "FLW_RU_BATCH";
  2200. CREATE TABLE "FLW_RU_BATCH" (
  2201. "ID_" VARCHAR(64) NOT NULL,
  2202. "REV_" NUMBER,
  2203. "TYPE_" VARCHAR(64) NOT NULL,
  2204. "SEARCH_KEY_" VARCHAR(255),
  2205. "SEARCH_KEY2_" VARCHAR(255),
  2206. "CREATE_TIME_" TIMESTAMP NOT NULL,
  2207. "COMPLETE_TIME_" TIMESTAMP,
  2208. "STATUS_" VARCHAR(255),
  2209. "BATCH_DOC_ID_" VARCHAR(64),
  2210. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  2211. )
  2212. LOGGING
  2213. NOCOMPRESS
  2214. PCTFREE 10
  2215. INITRANS 1
  2216. STORAGE (
  2217. BUFFER_POOL DEFAULT
  2218. )
  2219. PARALLEL 1
  2220. NOCACHE
  2221. DISABLE ROW MOVEMENT
  2222. ;
  2223. -- ----------------------------
  2224. -- Records of FLW_RU_BATCH
  2225. -- ----------------------------
  2226. COMMIT;
  2227. -- ----------------------------
  2228. -- Table structure for FLW_RU_BATCH_PART
  2229. -- ----------------------------
  2230. -- DROP TABLE "FLW_RU_BATCH_PART";
  2231. CREATE TABLE "FLW_RU_BATCH_PART" (
  2232. "ID_" VARCHAR(64) NOT NULL,
  2233. "REV_" NUMBER,
  2234. "BATCH_ID_" VARCHAR(64),
  2235. "TYPE_" VARCHAR(64) NOT NULL,
  2236. "SCOPE_ID_" VARCHAR(64),
  2237. "SUB_SCOPE_ID_" VARCHAR(64),
  2238. "SCOPE_TYPE_" VARCHAR(64),
  2239. "SEARCH_KEY_" VARCHAR(255),
  2240. "SEARCH_KEY2_" VARCHAR(255),
  2241. "CREATE_TIME_" TIMESTAMP NOT NULL,
  2242. "COMPLETE_TIME_" TIMESTAMP,
  2243. "STATUS_" VARCHAR(255),
  2244. "RESULT_DOC_ID_" VARCHAR(64),
  2245. "TENANT_ID_" VARCHAR(255) DEFAULT ''
  2246. )
  2247. LOGGING
  2248. NOCOMPRESS
  2249. PCTFREE 10
  2250. INITRANS 1
  2251. STORAGE (
  2252. BUFFER_POOL DEFAULT
  2253. )
  2254. PARALLEL 1
  2255. NOCACHE
  2256. DISABLE ROW MOVEMENT
  2257. ;
  2258. -- ----------------------------
  2259. -- Records of FLW_RU_BATCH_PART
  2260. -- ----------------------------
  2261. COMMIT;
  2262. -- ----------------------------
  2263. -- Sequence structure for ACT_EVT_LOG_SEQ
  2264. -- ----------------------------
  2265. -- DROP SEQUENCE "ACT_EVT_LOG_SEQ";
  2266. CREATE SEQUENCE "ACT_EVT_LOG_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 CACHE 20;
  2267. -- ----------------------------
  2268. -- Sequence structure for ACT_HI_TASK_EVT_LOG_SEQ
  2269. -- ----------------------------
  2270. -- DROP SEQUENCE "ACT_HI_TASK_EVT_LOG_SEQ";
  2271. CREATE SEQUENCE "ACT_HI_TASK_EVT_LOG_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 CACHE 20;
  2272. -- ----------------------------
  2273. -- Primary Key structure for table ACT_APP_APPDEF
  2274. -- ----------------------------
  2275. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "PK_ACT_APP_APPDEF" PRIMARY KEY ("ID_");
  2276. -- ----------------------------
  2277. -- Checks structure for table ACT_APP_APPDEF
  2278. -- ----------------------------
  2279. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0013782" CHECK ("ID_" IS NOT NULL) ;
  2280. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0013783" CHECK ("REV_" IS NOT NULL) ;
  2281. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0013784" CHECK ("KEY_" IS NOT NULL) ;
  2282. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0013785" CHECK ("VERSION_" IS NOT NULL) ;
  2283. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0015409" CHECK ("ID_" IS NOT NULL) ;
  2284. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0015410" CHECK ("REV_" IS NOT NULL) ;
  2285. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0015411" CHECK ("KEY_" IS NOT NULL) ;
  2286. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0015412" CHECK ("VERSION_" IS NOT NULL) ;
  2287. -- ----------------------------
  2288. -- Indexes structure for table ACT_APP_APPDEF
  2289. -- ----------------------------
  2290. CREATE INDEX "ACT_IDX_APP_DEF_DPLY"
  2291. ON "ACT_APP_APPDEF" ("DEPLOYMENT_ID_")
  2292. TABLESPACE "USERS" ONLINE ;
  2293. CREATE UNIQUE INDEX "ACT_IDX_APP_DEF_UNIQ"
  2294. ON "ACT_APP_APPDEF" ("VERSION_" , "TENANT_ID_" , "KEY_")
  2295. TABLESPACE "USERS" ONLINE ;
  2296. -- ----------------------------
  2297. -- Checks structure for table ACT_APP_DATABASECHANGELOG
  2298. -- ----------------------------
  2299. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013786" CHECK ("ID" IS NOT NULL) ;
  2300. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013787" CHECK ("AUTHOR" IS NOT NULL) ;
  2301. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013788" CHECK ("FILENAME" IS NOT NULL) ;
  2302. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013789" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2303. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013790" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2304. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013791" CHECK ("EXECTYPE" IS NOT NULL) ;
  2305. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015398" CHECK ("ID" IS NOT NULL) ;
  2306. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015399" CHECK ("AUTHOR" IS NOT NULL) ;
  2307. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015400" CHECK ("FILENAME" IS NOT NULL) ;
  2308. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015401" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2309. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015402" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2310. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015403" CHECK ("EXECTYPE" IS NOT NULL) ;
  2311. -- ----------------------------
  2312. -- Primary Key structure for table ACT_APP_DATABASECHANGELOGLOCK
  2313. -- ----------------------------
  2314. ALTER TABLE "ACT_APP_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_APP_DATABASECHANGELOGLO" PRIMARY KEY ("ID");
  2315. -- ----------------------------
  2316. -- Checks structure for table ACT_APP_DATABASECHANGELOGLOCK
  2317. -- ----------------------------
  2318. ALTER TABLE "ACT_APP_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013792" CHECK ("ID" IS NOT NULL) ;
  2319. ALTER TABLE "ACT_APP_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013793" CHECK ("LOCKED" IS NOT NULL) ;
  2320. ALTER TABLE "ACT_APP_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015395" CHECK ("ID" IS NOT NULL) ;
  2321. ALTER TABLE "ACT_APP_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015396" CHECK ("LOCKED" IS NOT NULL) ;
  2322. -- ----------------------------
  2323. -- Primary Key structure for table ACT_APP_DEPLOYMENT
  2324. -- ----------------------------
  2325. ALTER TABLE "ACT_APP_DEPLOYMENT" ADD CONSTRAINT "PK_ACT_APP_DEPLOYMENT" PRIMARY KEY ("ID_");
  2326. -- ----------------------------
  2327. -- Checks structure for table ACT_APP_DEPLOYMENT
  2328. -- ----------------------------
  2329. ALTER TABLE "ACT_APP_DEPLOYMENT" ADD CONSTRAINT "SYS_C0013794" CHECK ("ID_" IS NOT NULL) ;
  2330. ALTER TABLE "ACT_APP_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015404" CHECK ("ID_" IS NOT NULL) ;
  2331. -- ----------------------------
  2332. -- Primary Key structure for table ACT_APP_DEPLOYMENT_RESOURCE
  2333. -- ----------------------------
  2334. ALTER TABLE "ACT_APP_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "PK_APP_DEPLOYMENT_RESOURCE" PRIMARY KEY ("ID_");
  2335. -- ----------------------------
  2336. -- Checks structure for table ACT_APP_DEPLOYMENT_RESOURCE
  2337. -- ----------------------------
  2338. ALTER TABLE "ACT_APP_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0013795" CHECK ("ID_" IS NOT NULL) ;
  2339. ALTER TABLE "ACT_APP_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0015406" CHECK ("ID_" IS NOT NULL) ;
  2340. -- ----------------------------
  2341. -- Indexes structure for table ACT_APP_DEPLOYMENT_RESOURCE
  2342. -- ----------------------------
  2343. CREATE INDEX "ACT_IDX_APP_RSRC_DPL"
  2344. ON "ACT_APP_DEPLOYMENT_RESOURCE" ("DEPLOYMENT_ID_")
  2345. TABLESPACE "USERS" ONLINE ;
  2346. -- ----------------------------
  2347. -- Primary Key structure for table ACT_CMMN_CASEDEF
  2348. -- ----------------------------
  2349. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "PK_ACT_CMMN_CASEDEF" PRIMARY KEY ("ID_");
  2350. -- ----------------------------
  2351. -- Checks structure for table ACT_CMMN_CASEDEF
  2352. -- ----------------------------
  2353. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0013796" CHECK ("ID_" IS NOT NULL) ;
  2354. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0013797" CHECK ("REV_" IS NOT NULL) ;
  2355. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0013798" CHECK ("KEY_" IS NOT NULL) ;
  2356. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0013799" CHECK ("VERSION_" IS NOT NULL) ;
  2357. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0015429" CHECK ("ID_" IS NOT NULL) ;
  2358. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0015430" CHECK ("REV_" IS NOT NULL) ;
  2359. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0015431" CHECK ("KEY_" IS NOT NULL) ;
  2360. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0015432" CHECK ("VERSION_" IS NOT NULL) ;
  2361. -- ----------------------------
  2362. -- Indexes structure for table ACT_CMMN_CASEDEF
  2363. -- ----------------------------
  2364. CREATE INDEX "ACT_IDX_CASE_DEF_DPLY"
  2365. ON "ACT_CMMN_CASEDEF" ("DEPLOYMENT_ID_")
  2366. TABLESPACE "USERS" ONLINE ;
  2367. CREATE UNIQUE INDEX "ACT_IDX_CASE_DEF_UNIQ"
  2368. ON "ACT_CMMN_CASEDEF" ("TENANT_ID_" , "KEY_" , "VERSION_")
  2369. TABLESPACE "USERS" ONLINE ;
  2370. -- ----------------------------
  2371. -- Checks structure for table ACT_CMMN_DATABASECHANGELOG
  2372. -- ----------------------------
  2373. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013800" CHECK ("ID" IS NOT NULL) ;
  2374. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013801" CHECK ("AUTHOR" IS NOT NULL) ;
  2375. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013802" CHECK ("FILENAME" IS NOT NULL) ;
  2376. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013803" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2377. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013804" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2378. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013805" CHECK ("EXECTYPE" IS NOT NULL) ;
  2379. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015418" CHECK ("ID" IS NOT NULL) ;
  2380. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015419" CHECK ("AUTHOR" IS NOT NULL) ;
  2381. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015420" CHECK ("FILENAME" IS NOT NULL) ;
  2382. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015421" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2383. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015422" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2384. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015423" CHECK ("EXECTYPE" IS NOT NULL) ;
  2385. -- ----------------------------
  2386. -- Primary Key structure for table ACT_CMMN_DATABASECHANGELOGLOCK
  2387. -- ----------------------------
  2388. ALTER TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_CMMN_DATABASECHANGELOGL" PRIMARY KEY ("ID");
  2389. -- ----------------------------
  2390. -- Checks structure for table ACT_CMMN_DATABASECHANGELOGLOCK
  2391. -- ----------------------------
  2392. ALTER TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013806" CHECK ("ID" IS NOT NULL) ;
  2393. ALTER TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013807" CHECK ("LOCKED" IS NOT NULL) ;
  2394. ALTER TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015415" CHECK ("ID" IS NOT NULL) ;
  2395. ALTER TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015416" CHECK ("LOCKED" IS NOT NULL) ;
  2396. -- ----------------------------
  2397. -- Primary Key structure for table ACT_CMMN_DEPLOYMENT
  2398. -- ----------------------------
  2399. ALTER TABLE "ACT_CMMN_DEPLOYMENT" ADD CONSTRAINT "PK_ACT_CMMN_DEPLOYMENT" PRIMARY KEY ("ID_");
  2400. -- ----------------------------
  2401. -- Checks structure for table ACT_CMMN_DEPLOYMENT
  2402. -- ----------------------------
  2403. ALTER TABLE "ACT_CMMN_DEPLOYMENT" ADD CONSTRAINT "SYS_C0013808" CHECK ("ID_" IS NOT NULL) ;
  2404. ALTER TABLE "ACT_CMMN_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015424" CHECK ("ID_" IS NOT NULL) ;
  2405. -- ----------------------------
  2406. -- Primary Key structure for table ACT_CMMN_DEPLOYMENT_RESOURCE
  2407. -- ----------------------------
  2408. ALTER TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "PK_CMMN_DEPLOYMENT_RESOURCE" PRIMARY KEY ("ID_");
  2409. -- ----------------------------
  2410. -- Checks structure for table ACT_CMMN_DEPLOYMENT_RESOURCE
  2411. -- ----------------------------
  2412. ALTER TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0013809" CHECK ("ID_" IS NOT NULL) ;
  2413. ALTER TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0015426" CHECK ("ID_" IS NOT NULL) ;
  2414. -- ----------------------------
  2415. -- Indexes structure for table ACT_CMMN_DEPLOYMENT_RESOURCE
  2416. -- ----------------------------
  2417. CREATE INDEX "ACT_IDX_CMMN_RSRC_DPL"
  2418. ON "ACT_CMMN_DEPLOYMENT_RESOURCE" ("DEPLOYMENT_ID_")
  2419. TABLESPACE "USERS" ONLINE ;
  2420. -- ----------------------------
  2421. -- Primary Key structure for table ACT_CMMN_HI_CASE_INST
  2422. -- ----------------------------
  2423. ALTER TABLE "ACT_CMMN_HI_CASE_INST" ADD CONSTRAINT "PK_ACT_CMMN_HI_CASE_INST" PRIMARY KEY ("ID_");
  2424. -- ----------------------------
  2425. -- Checks structure for table ACT_CMMN_HI_CASE_INST
  2426. -- ----------------------------
  2427. ALTER TABLE "ACT_CMMN_HI_CASE_INST" ADD CONSTRAINT "SYS_C0013810" CHECK ("ID_" IS NOT NULL) ;
  2428. ALTER TABLE "ACT_CMMN_HI_CASE_INST" ADD CONSTRAINT "SYS_C0013811" CHECK ("REV_" IS NOT NULL) ;
  2429. ALTER TABLE "ACT_CMMN_HI_CASE_INST" ADD CONSTRAINT "SYS_C0015459" CHECK ("ID_" IS NOT NULL) ;
  2430. ALTER TABLE "ACT_CMMN_HI_CASE_INST" ADD CONSTRAINT "SYS_C0015460" CHECK ("REV_" IS NOT NULL) ;
  2431. -- ----------------------------
  2432. -- Indexes structure for table ACT_CMMN_HI_CASE_INST
  2433. -- ----------------------------
  2434. CREATE INDEX "ACT_IDX_HI_CASE_INST_END"
  2435. ON "ACT_CMMN_HI_CASE_INST" ("END_TIME_")
  2436. TABLESPACE "USERS" ONLINE;
  2437. -- ----------------------------
  2438. -- Primary Key structure for table ACT_CMMN_HI_MIL_INST
  2439. -- ----------------------------
  2440. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "PK_ACT_CMMN_HI_MIL_INST" PRIMARY KEY ("ID_");
  2441. -- ----------------------------
  2442. -- Checks structure for table ACT_CMMN_HI_MIL_INST
  2443. -- ----------------------------
  2444. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0013812" CHECK ("ID_" IS NOT NULL) ;
  2445. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0013813" CHECK ("REV_" IS NOT NULL) ;
  2446. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0013814" CHECK ("NAME_" IS NOT NULL) ;
  2447. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0013815" CHECK ("TIME_STAMP_" IS NOT NULL) ;
  2448. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0013816" CHECK ("CASE_INST_ID_" IS NOT NULL) ;
  2449. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0013817" CHECK ("CASE_DEF_ID_" IS NOT NULL) ;
  2450. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0013818" CHECK ("ELEMENT_ID_" IS NOT NULL) ;
  2451. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015462" CHECK ("ID_" IS NOT NULL) ;
  2452. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015463" CHECK ("REV_" IS NOT NULL) ;
  2453. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015464" CHECK ("NAME_" IS NOT NULL) ;
  2454. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015465" CHECK ("TIME_STAMP_" IS NOT NULL) ;
  2455. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015466" CHECK ("CASE_INST_ID_" IS NOT NULL) ;
  2456. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015467" CHECK ("CASE_DEF_ID_" IS NOT NULL) ;
  2457. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015468" CHECK ("ELEMENT_ID_" IS NOT NULL) ;
  2458. -- ----------------------------
  2459. -- Primary Key structure for table ACT_CMMN_HI_PLAN_ITEM_INST
  2460. -- ----------------------------
  2461. ALTER TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" ADD CONSTRAINT "PK_ACT_CMMN_HI_PLAN_ITEM_INST" PRIMARY KEY ("ID_");
  2462. -- ----------------------------
  2463. -- Checks structure for table ACT_CMMN_HI_PLAN_ITEM_INST
  2464. -- ----------------------------
  2465. ALTER TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0013819" CHECK ("ID_" IS NOT NULL) ;
  2466. ALTER TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0013820" CHECK ("REV_" IS NOT NULL) ;
  2467. ALTER TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0015470" CHECK ("ID_" IS NOT NULL) ;
  2468. ALTER TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0015471" CHECK ("REV_" IS NOT NULL) ;
  2469. -- ----------------------------
  2470. -- Indexes structure for table ACT_CMMN_HI_PLAN_ITEM_INST
  2471. -- ----------------------------
  2472. CREATE INDEX "ACT_IDX_HI_PLAN_ITEM_INST_CASE"
  2473. ON "ACT_CMMN_HI_PLAN_ITEM_INST" ("CASE_INST_ID_")
  2474. TABLESPACE "USERS" ONLINE;
  2475. -- ----------------------------
  2476. -- Primary Key structure for table ACT_CMMN_RU_CASE_INST
  2477. -- ----------------------------
  2478. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "PK_ACT_CMMN_RU_CASE_INST" PRIMARY KEY ("ID_");
  2479. -- ----------------------------
  2480. -- Checks structure for table ACT_CMMN_RU_CASE_INST
  2481. -- ----------------------------
  2482. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "SYS_C0013821" CHECK ("ID_" IS NOT NULL) ;
  2483. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "SYS_C0013822" CHECK ("REV_" IS NOT NULL) ;
  2484. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "SYS_C0015435" CHECK ("ID_" IS NOT NULL) ;
  2485. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "SYS_C0015436" CHECK ("REV_" IS NOT NULL) ;
  2486. -- ----------------------------
  2487. -- Indexes structure for table ACT_CMMN_RU_CASE_INST
  2488. -- ----------------------------
  2489. CREATE INDEX "ACT_IDX_CASE_INST_CASE_DEF"
  2490. ON "ACT_CMMN_RU_CASE_INST" ("CASE_DEF_ID_")
  2491. TABLESPACE "USERS" ONLINE ;
  2492. CREATE INDEX "ACT_IDX_CASE_INST_PARENT"
  2493. ON "ACT_CMMN_RU_CASE_INST" ("PARENT_ID_")
  2494. TABLESPACE "USERS" ONLINE ;
  2495. CREATE INDEX "ACT_IDX_CASE_INST_REF_ID_"
  2496. ON "ACT_CMMN_RU_CASE_INST" ("REFERENCE_ID_")
  2497. TABLESPACE "USERS" ONLINE;
  2498. -- ----------------------------
  2499. -- Primary Key structure for table ACT_CMMN_RU_MIL_INST
  2500. -- ----------------------------
  2501. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "PK_ACT_CMMN_RU_MIL_INST" PRIMARY KEY ("ID_");
  2502. -- ----------------------------
  2503. -- Checks structure for table ACT_CMMN_RU_MIL_INST
  2504. -- ----------------------------
  2505. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0013823" CHECK ("ID_" IS NOT NULL) ;
  2506. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0013824" CHECK ("NAME_" IS NOT NULL) ;
  2507. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0013825" CHECK ("TIME_STAMP_" IS NOT NULL) ;
  2508. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0013826" CHECK ("CASE_INST_ID_" IS NOT NULL) ;
  2509. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0013827" CHECK ("CASE_DEF_ID_" IS NOT NULL) ;
  2510. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0013828" CHECK ("ELEMENT_ID_" IS NOT NULL) ;
  2511. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015450" CHECK ("ID_" IS NOT NULL) ;
  2512. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015451" CHECK ("NAME_" IS NOT NULL) ;
  2513. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015452" CHECK ("TIME_STAMP_" IS NOT NULL) ;
  2514. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015453" CHECK ("CASE_INST_ID_" IS NOT NULL) ;
  2515. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015454" CHECK ("CASE_DEF_ID_" IS NOT NULL) ;
  2516. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015455" CHECK ("ELEMENT_ID_" IS NOT NULL) ;
  2517. -- ----------------------------
  2518. -- Indexes structure for table ACT_CMMN_RU_MIL_INST
  2519. -- ----------------------------
  2520. CREATE INDEX "ACT_IDX_MIL_CASE_DEF"
  2521. ON "ACT_CMMN_RU_MIL_INST" ("CASE_DEF_ID_")
  2522. TABLESPACE "USERS" ONLINE ;
  2523. CREATE INDEX "ACT_IDX_MIL_CASE_INST"
  2524. ON "ACT_CMMN_RU_MIL_INST" ("CASE_INST_ID_")
  2525. TABLESPACE "USERS" ONLINE ;
  2526. -- ----------------------------
  2527. -- Primary Key structure for table ACT_CMMN_RU_PLAN_ITEM_INST
  2528. -- ----------------------------
  2529. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "PK_CMMN_PLAN_ITEM_INST" PRIMARY KEY ("ID_");
  2530. -- ----------------------------
  2531. -- Checks structure for table ACT_CMMN_RU_PLAN_ITEM_INST
  2532. -- ----------------------------
  2533. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0013829" CHECK ("ID_" IS NOT NULL) ;
  2534. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0013830" CHECK ("REV_" IS NOT NULL) ;
  2535. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0015439" CHECK ("ID_" IS NOT NULL) ;
  2536. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0015440" CHECK ("REV_" IS NOT NULL) ;
  2537. -- ----------------------------
  2538. -- Indexes structure for table ACT_CMMN_RU_PLAN_ITEM_INST
  2539. -- ----------------------------
  2540. CREATE INDEX "ACT_IDX_PLAN_ITEM_CASE_DEF"
  2541. ON "ACT_CMMN_RU_PLAN_ITEM_INST" ("CASE_DEF_ID_")
  2542. TABLESPACE "USERS" ONLINE ;
  2543. CREATE INDEX "ACT_IDX_PLAN_ITEM_CASE_INST"
  2544. ON "ACT_CMMN_RU_PLAN_ITEM_INST" ("CASE_INST_ID_")
  2545. TABLESPACE "USERS" ONLINE ;
  2546. CREATE INDEX "ACT_IDX_PLAN_ITEM_STAGE_INST"
  2547. ON "ACT_CMMN_RU_PLAN_ITEM_INST" ("STAGE_INST_ID_")
  2548. TABLESPACE "USERS" ONLINE ;
  2549. -- ----------------------------
  2550. -- Primary Key structure for table ACT_CMMN_RU_SENTRY_PART_INST
  2551. -- ----------------------------
  2552. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "PK_CMMN_SENTRY_PART_INST" PRIMARY KEY ("ID_");
  2553. -- ----------------------------
  2554. -- Checks structure for table ACT_CMMN_RU_SENTRY_PART_INST
  2555. -- ----------------------------
  2556. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "SYS_C0013831" CHECK ("ID_" IS NOT NULL) ;
  2557. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "SYS_C0013832" CHECK ("REV_" IS NOT NULL) ;
  2558. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "SYS_C0015444" CHECK ("ID_" IS NOT NULL) ;
  2559. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "SYS_C0015445" CHECK ("REV_" IS NOT NULL) ;
  2560. -- ----------------------------
  2561. -- Indexes structure for table ACT_CMMN_RU_SENTRY_PART_INST
  2562. -- ----------------------------
  2563. CREATE INDEX "ACT_IDX_SENTRY_CASE_DEF"
  2564. ON "ACT_CMMN_RU_SENTRY_PART_INST" ("CASE_DEF_ID_")
  2565. TABLESPACE "USERS" ONLINE ;
  2566. CREATE INDEX "ACT_IDX_SENTRY_CASE_INST"
  2567. ON "ACT_CMMN_RU_SENTRY_PART_INST" ("CASE_INST_ID_")
  2568. TABLESPACE "USERS" ONLINE ;
  2569. CREATE INDEX "ACT_IDX_SENTRY_PLAN_ITEM"
  2570. ON "ACT_CMMN_RU_SENTRY_PART_INST" ("PLAN_ITEM_INST_ID_")
  2571. TABLESPACE "USERS" ONLINE ;
  2572. -- ----------------------------
  2573. -- Primary Key structure for table ACT_CO_CONTENT_ITEM
  2574. -- ----------------------------
  2575. ALTER TABLE "ACT_CO_CONTENT_ITEM" ADD CONSTRAINT "PK_ACT_CO_CONTENT_ITEM" PRIMARY KEY ("ID_");
  2576. -- ----------------------------
  2577. -- Checks structure for table ACT_CO_CONTENT_ITEM
  2578. -- ----------------------------
  2579. ALTER TABLE "ACT_CO_CONTENT_ITEM" ADD CONSTRAINT "SYS_C0013833" CHECK ("ID_" IS NOT NULL) ;
  2580. ALTER TABLE "ACT_CO_CONTENT_ITEM" ADD CONSTRAINT "SYS_C0013834" CHECK ("NAME_" IS NOT NULL) ;
  2581. ALTER TABLE "ACT_CO_CONTENT_ITEM" ADD CONSTRAINT "SYS_C0015517" CHECK ("ID_" IS NOT NULL) ;
  2582. ALTER TABLE "ACT_CO_CONTENT_ITEM" ADD CONSTRAINT "SYS_C0015518" CHECK ("NAME_" IS NOT NULL) ;
  2583. -- ----------------------------
  2584. -- Indexes structure for table ACT_CO_CONTENT_ITEM
  2585. -- ----------------------------
  2586. CREATE INDEX "IDX_CONTITEM_PROCID"
  2587. ON "ACT_CO_CONTENT_ITEM" ("PROC_INST_ID_")
  2588. TABLESPACE "USERS" ONLINE ;
  2589. CREATE INDEX "IDX_CONTITEM_SCOPE"
  2590. ON "ACT_CO_CONTENT_ITEM" ("SCOPE_TYPE_" , "SCOPE_ID_")
  2591. TABLESPACE "USERS" ONLINE ;
  2592. CREATE INDEX "IDX_CONTITEM_TASKID"
  2593. ON "ACT_CO_CONTENT_ITEM" ("TASK_ID_")
  2594. TABLESPACE "USERS" ONLINE ;
  2595. -- ----------------------------
  2596. -- Checks structure for table ACT_CO_DATABASECHANGELOG
  2597. -- ----------------------------
  2598. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013835" CHECK ("ID" IS NOT NULL) ;
  2599. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013836" CHECK ("AUTHOR" IS NOT NULL) ;
  2600. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013837" CHECK ("FILENAME" IS NOT NULL) ;
  2601. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013838" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2602. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013839" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2603. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013840" CHECK ("EXECTYPE" IS NOT NULL) ;
  2604. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015511" CHECK ("ID" IS NOT NULL) ;
  2605. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015512" CHECK ("AUTHOR" IS NOT NULL) ;
  2606. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015513" CHECK ("FILENAME" IS NOT NULL) ;
  2607. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015514" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2608. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015515" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2609. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015516" CHECK ("EXECTYPE" IS NOT NULL) ;
  2610. -- ----------------------------
  2611. -- Primary Key structure for table ACT_CO_DATABASECHANGELOGLOCK
  2612. -- ----------------------------
  2613. ALTER TABLE "ACT_CO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_CO_DATABASECHANGELOGLOC" PRIMARY KEY ("ID");
  2614. -- ----------------------------
  2615. -- Checks structure for table ACT_CO_DATABASECHANGELOGLOCK
  2616. -- ----------------------------
  2617. ALTER TABLE "ACT_CO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013841" CHECK ("ID" IS NOT NULL) ;
  2618. ALTER TABLE "ACT_CO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013842" CHECK ("LOCKED" IS NOT NULL) ;
  2619. ALTER TABLE "ACT_CO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015508" CHECK ("ID" IS NOT NULL) ;
  2620. ALTER TABLE "ACT_CO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015509" CHECK ("LOCKED" IS NOT NULL) ;
  2621. -- ----------------------------
  2622. -- Checks structure for table ACT_DE_DATABASECHANGELOG
  2623. -- ----------------------------
  2624. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013843" CHECK ("ID" IS NOT NULL) ;
  2625. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013844" CHECK ("AUTHOR" IS NOT NULL) ;
  2626. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013845" CHECK ("FILENAME" IS NOT NULL) ;
  2627. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013846" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2628. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013847" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2629. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013848" CHECK ("EXECTYPE" IS NOT NULL) ;
  2630. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015523" CHECK ("ID" IS NOT NULL) ;
  2631. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015524" CHECK ("AUTHOR" IS NOT NULL) ;
  2632. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015525" CHECK ("FILENAME" IS NOT NULL) ;
  2633. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015526" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2634. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015527" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2635. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015528" CHECK ("EXECTYPE" IS NOT NULL) ;
  2636. -- ----------------------------
  2637. -- Primary Key structure for table ACT_DE_DATABASECHANGELOGLOCK
  2638. -- ----------------------------
  2639. ALTER TABLE "ACT_DE_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_DE_DATABASECHANGELOGLOC" PRIMARY KEY ("ID");
  2640. -- ----------------------------
  2641. -- Checks structure for table ACT_DE_DATABASECHANGELOGLOCK
  2642. -- ----------------------------
  2643. ALTER TABLE "ACT_DE_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013849" CHECK ("ID" IS NOT NULL) ;
  2644. ALTER TABLE "ACT_DE_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013850" CHECK ("LOCKED" IS NOT NULL) ;
  2645. ALTER TABLE "ACT_DE_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015520" CHECK ("ID" IS NOT NULL) ;
  2646. ALTER TABLE "ACT_DE_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015521" CHECK ("LOCKED" IS NOT NULL) ;
  2647. -- ----------------------------
  2648. -- Primary Key structure for table ACT_DE_MODEL
  2649. -- ----------------------------
  2650. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "PK_ACT_DE_MODEL" PRIMARY KEY ("ID");
  2651. -- ----------------------------
  2652. -- Checks structure for table ACT_DE_MODEL
  2653. -- ----------------------------
  2654. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0013851" CHECK ("ID" IS NOT NULL) ;
  2655. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0013852" CHECK ("NAME" IS NOT NULL) ;
  2656. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0013853" CHECK ("MODEL_KEY" IS NOT NULL) ;
  2657. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0015529" CHECK ("ID" IS NOT NULL) ;
  2658. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0015530" CHECK ("NAME" IS NOT NULL) ;
  2659. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0015531" CHECK ("MODEL_KEY" IS NOT NULL) ;
  2660. -- ----------------------------
  2661. -- Indexes structure for table ACT_DE_MODEL
  2662. -- ----------------------------
  2663. CREATE INDEX "IDX_PROC_MOD_CREATED"
  2664. ON "ACT_DE_MODEL" ("CREATED_BY")
  2665. TABLESPACE "USERS" ONLINE ;
  2666. -- ----------------------------
  2667. -- Primary Key structure for table ACT_DE_MODEL_HISTORY
  2668. -- ----------------------------
  2669. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "PK_ACT_DE_MODEL_HISTORY" PRIMARY KEY ("ID");
  2670. -- ----------------------------
  2671. -- Checks structure for table ACT_DE_MODEL_HISTORY
  2672. -- ----------------------------
  2673. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0013854" CHECK ("ID" IS NOT NULL) ;
  2674. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0013855" CHECK ("NAME" IS NOT NULL) ;
  2675. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0013856" CHECK ("MODEL_KEY" IS NOT NULL) ;
  2676. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0013857" CHECK ("MODEL_ID" IS NOT NULL) ;
  2677. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0015533" CHECK ("ID" IS NOT NULL) ;
  2678. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0015534" CHECK ("NAME" IS NOT NULL) ;
  2679. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0015535" CHECK ("MODEL_KEY" IS NOT NULL) ;
  2680. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0015536" CHECK ("MODEL_ID" IS NOT NULL) ;
  2681. -- ----------------------------
  2682. -- Indexes structure for table ACT_DE_MODEL_HISTORY
  2683. -- ----------------------------
  2684. CREATE INDEX "IDX_PROC_MOD_HISTORY_PROC"
  2685. ON "ACT_DE_MODEL_HISTORY" ("MODEL_ID")
  2686. TABLESPACE "USERS" ONLINE ;
  2687. -- ----------------------------
  2688. -- Primary Key structure for table ACT_DE_MODEL_RELATION
  2689. -- ----------------------------
  2690. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "PK_ACT_DE_MODEL_RELATION" PRIMARY KEY ("ID");
  2691. -- ----------------------------
  2692. -- Checks structure for table ACT_DE_MODEL_RELATION
  2693. -- ----------------------------
  2694. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "SYS_C0013858" CHECK ("ID" IS NOT NULL) ;
  2695. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "SYS_C0015538" CHECK ("ID" IS NOT NULL) ;
  2696. -- ----------------------------
  2697. -- Checks structure for table ACT_DMN_DATABASECHANGELOG
  2698. -- ----------------------------
  2699. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013859" CHECK ("ID" IS NOT NULL) ;
  2700. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013860" CHECK ("AUTHOR" IS NOT NULL) ;
  2701. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013861" CHECK ("FILENAME" IS NOT NULL) ;
  2702. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013862" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2703. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013863" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2704. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013864" CHECK ("EXECTYPE" IS NOT NULL) ;
  2705. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015476" CHECK ("ID" IS NOT NULL) ;
  2706. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015477" CHECK ("AUTHOR" IS NOT NULL) ;
  2707. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015478" CHECK ("FILENAME" IS NOT NULL) ;
  2708. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015479" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2709. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015480" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2710. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015481" CHECK ("EXECTYPE" IS NOT NULL) ;
  2711. -- ----------------------------
  2712. -- Primary Key structure for table ACT_DMN_DATABASECHANGELOGLOCK
  2713. -- ----------------------------
  2714. ALTER TABLE "ACT_DMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_DMN_DATABASECHANGELOGLO" PRIMARY KEY ("ID");
  2715. -- ----------------------------
  2716. -- Checks structure for table ACT_DMN_DATABASECHANGELOGLOCK
  2717. -- ----------------------------
  2718. ALTER TABLE "ACT_DMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013865" CHECK ("ID" IS NOT NULL) ;
  2719. ALTER TABLE "ACT_DMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013866" CHECK ("LOCKED" IS NOT NULL) ;
  2720. ALTER TABLE "ACT_DMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015473" CHECK ("ID" IS NOT NULL) ;
  2721. ALTER TABLE "ACT_DMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015474" CHECK ("LOCKED" IS NOT NULL) ;
  2722. -- ----------------------------
  2723. -- Primary Key structure for table ACT_DMN_DECISION
  2724. -- ----------------------------
  2725. ALTER TABLE "ACT_DMN_DECISION" ADD CONSTRAINT "PK_ACT_DMN_DECISION_TABLE" PRIMARY KEY ("ID_");
  2726. -- ----------------------------
  2727. -- Checks structure for table ACT_DMN_DECISION
  2728. -- ----------------------------
  2729. ALTER TABLE "ACT_DMN_DECISION" ADD CONSTRAINT "SYS_C0013867" CHECK ("ID_" IS NOT NULL) ;
  2730. ALTER TABLE "ACT_DMN_DECISION" ADD CONSTRAINT "SYS_C0015486" CHECK ("ID_" IS NOT NULL) ;
  2731. -- ----------------------------
  2732. -- Indexes structure for table ACT_DMN_DECISION
  2733. -- ----------------------------
  2734. CREATE UNIQUE INDEX "ACT_IDX_DMN_DEC_UNIQ"
  2735. ON "ACT_DMN_DECISION" ("KEY_" , "VERSION_" , "TENANT_ID_")
  2736. TABLESPACE "USERS" ONLINE;
  2737. -- ----------------------------
  2738. -- Primary Key structure for table ACT_DMN_DEPLOYMENT
  2739. -- ----------------------------
  2740. ALTER TABLE "ACT_DMN_DEPLOYMENT" ADD CONSTRAINT "PK_ACT_DMN_DEPLOYMENT" PRIMARY KEY ("ID_");
  2741. -- ----------------------------
  2742. -- Checks structure for table ACT_DMN_DEPLOYMENT
  2743. -- ----------------------------
  2744. ALTER TABLE "ACT_DMN_DEPLOYMENT" ADD CONSTRAINT "SYS_C0013868" CHECK ("ID_" IS NOT NULL) ;
  2745. ALTER TABLE "ACT_DMN_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015482" CHECK ("ID_" IS NOT NULL) ;
  2746. -- ----------------------------
  2747. -- Primary Key structure for table ACT_DMN_DEPLOYMENT_RESOURCE
  2748. -- ----------------------------
  2749. ALTER TABLE "ACT_DMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "PK_ACT_DMN_DEPLOYMENT_RESOURCE" PRIMARY KEY ("ID_");
  2750. -- ----------------------------
  2751. -- Checks structure for table ACT_DMN_DEPLOYMENT_RESOURCE
  2752. -- ----------------------------
  2753. ALTER TABLE "ACT_DMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0013869" CHECK ("ID_" IS NOT NULL) ;
  2754. ALTER TABLE "ACT_DMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0015484" CHECK ("ID_" IS NOT NULL) ;
  2755. -- ----------------------------
  2756. -- Primary Key structure for table ACT_DMN_HI_DECISION_EXECUTION
  2757. -- ----------------------------
  2758. ALTER TABLE "ACT_DMN_HI_DECISION_EXECUTION" ADD CONSTRAINT "PK_ACT_DMN_HI_DECISION_EXECUTI" PRIMARY KEY ("ID_");
  2759. -- ----------------------------
  2760. -- Checks structure for table ACT_DMN_HI_DECISION_EXECUTION
  2761. -- ----------------------------
  2762. ALTER TABLE "ACT_DMN_HI_DECISION_EXECUTION" ADD CONSTRAINT "SYS_C0013870" CHECK ("ID_" IS NOT NULL) ;
  2763. ALTER TABLE "ACT_DMN_HI_DECISION_EXECUTION" ADD CONSTRAINT "SYS_C0015488" CHECK ("ID_" IS NOT NULL) ;
  2764. -- ----------------------------
  2765. -- Indexes structure for table ACT_DMN_HI_DECISION_EXECUTION
  2766. -- ----------------------------
  2767. CREATE INDEX "ACT_IDX_DMN_INSTANCE_ID"
  2768. ON "ACT_DMN_HI_DECISION_EXECUTION" ("INSTANCE_ID_")
  2769. TABLESPACE "USERS" ONLINE;
  2770. -- ----------------------------
  2771. -- Primary Key structure for table ACT_EVT_LOG
  2772. -- ----------------------------
  2773. ALTER TABLE "ACT_EVT_LOG" ADD CONSTRAINT "SYS_C0015308" PRIMARY KEY ("LOG_NR_");
  2774. -- ----------------------------
  2775. -- Checks structure for table ACT_EVT_LOG
  2776. -- ----------------------------
  2777. ALTER TABLE "ACT_EVT_LOG" ADD CONSTRAINT "SYS_C0013871" CHECK ("LOG_NR_" IS NOT NULL) ;
  2778. ALTER TABLE "ACT_EVT_LOG" ADD CONSTRAINT "SYS_C0013872" CHECK ("TIME_STAMP_" IS NOT NULL) ;
  2779. ALTER TABLE "ACT_EVT_LOG" ADD CONSTRAINT "SYS_C0015307" CHECK ("TIME_STAMP_" IS NOT NULL) ;
  2780. -- ----------------------------
  2781. -- Checks structure for table ACT_FO_DATABASECHANGELOG
  2782. -- ----------------------------
  2783. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013873" CHECK ("ID" IS NOT NULL) ;
  2784. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013874" CHECK ("AUTHOR" IS NOT NULL) ;
  2785. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013875" CHECK ("FILENAME" IS NOT NULL) ;
  2786. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013876" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2787. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013877" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2788. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0013878" CHECK ("EXECTYPE" IS NOT NULL) ;
  2789. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015493" CHECK ("ID" IS NOT NULL) ;
  2790. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015494" CHECK ("AUTHOR" IS NOT NULL) ;
  2791. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015495" CHECK ("FILENAME" IS NOT NULL) ;
  2792. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015496" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  2793. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015497" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  2794. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015498" CHECK ("EXECTYPE" IS NOT NULL) ;
  2795. -- ----------------------------
  2796. -- Primary Key structure for table ACT_FO_DATABASECHANGELOGLOCK
  2797. -- ----------------------------
  2798. ALTER TABLE "ACT_FO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_FO_DATABASECHANGELOGLOC" PRIMARY KEY ("ID");
  2799. -- ----------------------------
  2800. -- Checks structure for table ACT_FO_DATABASECHANGELOGLOCK
  2801. -- ----------------------------
  2802. ALTER TABLE "ACT_FO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013879" CHECK ("ID" IS NOT NULL) ;
  2803. ALTER TABLE "ACT_FO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0013880" CHECK ("LOCKED" IS NOT NULL) ;
  2804. ALTER TABLE "ACT_FO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015490" CHECK ("ID" IS NOT NULL) ;
  2805. ALTER TABLE "ACT_FO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015491" CHECK ("LOCKED" IS NOT NULL) ;
  2806. -- ----------------------------
  2807. -- Primary Key structure for table ACT_FO_FORM_DEFINITION
  2808. -- ----------------------------
  2809. ALTER TABLE "ACT_FO_FORM_DEFINITION" ADD CONSTRAINT "PK_ACT_FO_FORM_DEFINITION" PRIMARY KEY ("ID_");
  2810. -- ----------------------------
  2811. -- Checks structure for table ACT_FO_FORM_DEFINITION
  2812. -- ----------------------------
  2813. ALTER TABLE "ACT_FO_FORM_DEFINITION" ADD CONSTRAINT "SYS_C0013881" CHECK ("ID_" IS NOT NULL) ;
  2814. ALTER TABLE "ACT_FO_FORM_DEFINITION" ADD CONSTRAINT "SYS_C0015503" CHECK ("ID_" IS NOT NULL) ;
  2815. -- ----------------------------
  2816. -- Indexes structure for table ACT_FO_FORM_DEFINITION
  2817. -- ----------------------------
  2818. CREATE UNIQUE INDEX "ACT_IDX_FORM_DEF_UNIQ"
  2819. ON "ACT_FO_FORM_DEFINITION" ("KEY_" , "TENANT_ID_" , "VERSION_")
  2820. TABLESPACE "USERS" ONLINE ;
  2821. -- ----------------------------
  2822. -- Primary Key structure for table ACT_FO_FORM_DEPLOYMENT
  2823. -- ----------------------------
  2824. ALTER TABLE "ACT_FO_FORM_DEPLOYMENT" ADD CONSTRAINT "PK_ACT_FO_FORM_DEPLOYMENT" PRIMARY KEY ("ID_");
  2825. -- ----------------------------
  2826. -- Checks structure for table ACT_FO_FORM_DEPLOYMENT
  2827. -- ----------------------------
  2828. ALTER TABLE "ACT_FO_FORM_DEPLOYMENT" ADD CONSTRAINT "SYS_C0013882" CHECK ("ID_" IS NOT NULL) ;
  2829. ALTER TABLE "ACT_FO_FORM_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015499" CHECK ("ID_" IS NOT NULL) ;
  2830. -- ----------------------------
  2831. -- Primary Key structure for table ACT_FO_FORM_INSTANCE
  2832. -- ----------------------------
  2833. ALTER TABLE "ACT_FO_FORM_INSTANCE" ADD CONSTRAINT "PK_ACT_FO_FORM_INSTANCE" PRIMARY KEY ("ID_");
  2834. -- ----------------------------
  2835. -- Checks structure for table ACT_FO_FORM_INSTANCE
  2836. -- ----------------------------
  2837. ALTER TABLE "ACT_FO_FORM_INSTANCE" ADD CONSTRAINT "SYS_C0013883" CHECK ("ID_" IS NOT NULL) ;
  2838. ALTER TABLE "ACT_FO_FORM_INSTANCE" ADD CONSTRAINT "SYS_C0013884" CHECK ("FORM_DEFINITION_ID_" IS NOT NULL) ;
  2839. ALTER TABLE "ACT_FO_FORM_INSTANCE" ADD CONSTRAINT "SYS_C0015505" CHECK ("ID_" IS NOT NULL) ;
  2840. ALTER TABLE "ACT_FO_FORM_INSTANCE" ADD CONSTRAINT "SYS_C0015506" CHECK ("FORM_DEFINITION_ID_" IS NOT NULL) ;
  2841. -- ----------------------------
  2842. -- Primary Key structure for table ACT_FO_FORM_RESOURCE
  2843. -- ----------------------------
  2844. ALTER TABLE "ACT_FO_FORM_RESOURCE" ADD CONSTRAINT "PK_ACT_FO_FORM_RESOURCE" PRIMARY KEY ("ID_");
  2845. -- ----------------------------
  2846. -- Checks structure for table ACT_FO_FORM_RESOURCE
  2847. -- ----------------------------
  2848. ALTER TABLE "ACT_FO_FORM_RESOURCE" ADD CONSTRAINT "SYS_C0013885" CHECK ("ID_" IS NOT NULL) ;
  2849. ALTER TABLE "ACT_FO_FORM_RESOURCE" ADD CONSTRAINT "SYS_C0015501" CHECK ("ID_" IS NOT NULL) ;
  2850. -- ----------------------------
  2851. -- Primary Key structure for table ACT_GE_BYTEARRAY
  2852. -- ----------------------------
  2853. ALTER TABLE "ACT_GE_BYTEARRAY" ADD CONSTRAINT "SYS_C0015239" PRIMARY KEY ("ID_");
  2854. -- ----------------------------
  2855. -- Checks structure for table ACT_GE_BYTEARRAY
  2856. -- ----------------------------
  2857. ALTER TABLE "ACT_GE_BYTEARRAY" ADD CONSTRAINT "SYS_C0013886" CHECK ("ID_" IS NOT NULL) ;
  2858. ALTER TABLE "ACT_GE_BYTEARRAY" ADD CONSTRAINT "SYS_C0015238" CHECK (GENERATED_ IN (1,0)) ;
  2859. -- ----------------------------
  2860. -- Indexes structure for table ACT_GE_BYTEARRAY
  2861. -- ----------------------------
  2862. CREATE INDEX "ACT_IDX_BYTEAR_DEPL"
  2863. ON "ACT_GE_BYTEARRAY" ("DEPLOYMENT_ID_")
  2864. TABLESPACE "USERS" ONLINE ;
  2865. -- ----------------------------
  2866. -- Primary Key structure for table ACT_GE_PROPERTY
  2867. -- ----------------------------
  2868. ALTER TABLE "ACT_GE_PROPERTY" ADD CONSTRAINT "SYS_C0015237" PRIMARY KEY ("NAME_");
  2869. -- ----------------------------
  2870. -- Checks structure for table ACT_GE_PROPERTY
  2871. -- ----------------------------
  2872. ALTER TABLE "ACT_GE_PROPERTY" ADD CONSTRAINT "SYS_C0013887" CHECK ("NAME_" IS NOT NULL) ;
  2873. -- ----------------------------
  2874. -- Primary Key structure for table ACT_HI_ACTINST
  2875. -- ----------------------------
  2876. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015366" PRIMARY KEY ("ID_");
  2877. -- ----------------------------
  2878. -- Checks structure for table ACT_HI_ACTINST
  2879. -- ----------------------------
  2880. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0013888" CHECK ("ID_" IS NOT NULL) ;
  2881. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0013889" CHECK ("PROC_DEF_ID_" IS NOT NULL) ;
  2882. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0013890" CHECK ("PROC_INST_ID_" IS NOT NULL) ;
  2883. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0013891" CHECK ("EXECUTION_ID_" IS NOT NULL) ;
  2884. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0013892" CHECK ("ACT_ID_" IS NOT NULL) ;
  2885. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0013893" CHECK ("ACT_TYPE_" IS NOT NULL) ;
  2886. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0013894" CHECK ("START_TIME_" IS NOT NULL) ;
  2887. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015359" CHECK ("ID_" IS NOT NULL) ;
  2888. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015360" CHECK ("PROC_DEF_ID_" IS NOT NULL) ;
  2889. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015361" CHECK ("PROC_INST_ID_" IS NOT NULL) ;
  2890. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015362" CHECK ("EXECUTION_ID_" IS NOT NULL) ;
  2891. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015363" CHECK ("ACT_ID_" IS NOT NULL) ;
  2892. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015364" CHECK ("ACT_TYPE_" IS NOT NULL) ;
  2893. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015365" CHECK ("START_TIME_" IS NOT NULL) ;
  2894. -- ----------------------------
  2895. -- Indexes structure for table ACT_HI_ACTINST
  2896. -- ----------------------------
  2897. CREATE INDEX "ACT_IDX_HI_ACT_INST_END"
  2898. ON "ACT_HI_ACTINST" ("END_TIME_")
  2899. TABLESPACE "USERS" ONLINE ;
  2900. CREATE INDEX "ACT_IDX_HI_ACT_INST_EXEC"
  2901. ON "ACT_HI_ACTINST" ("EXECUTION_ID_" , "ACT_ID_")
  2902. TABLESPACE "USERS" ONLINE ;
  2903. CREATE INDEX "ACT_IDX_HI_ACT_INST_PROCINST"
  2904. ON "ACT_HI_ACTINST" ("PROC_INST_ID_" , "ACT_ID_")
  2905. TABLESPACE "USERS" ONLINE ;
  2906. CREATE INDEX "ACT_IDX_HI_ACT_INST_START"
  2907. ON "ACT_HI_ACTINST" ("START_TIME_")
  2908. TABLESPACE "USERS" ONLINE ;
  2909. -- ----------------------------
  2910. -- Primary Key structure for table ACT_HI_ATTACHMENT
  2911. -- ----------------------------
  2912. ALTER TABLE "ACT_HI_ATTACHMENT" ADD CONSTRAINT "SYS_C0015376" PRIMARY KEY ("ID_");
  2913. -- ----------------------------
  2914. -- Checks structure for table ACT_HI_ATTACHMENT
  2915. -- ----------------------------
  2916. ALTER TABLE "ACT_HI_ATTACHMENT" ADD CONSTRAINT "SYS_C0013895" CHECK ("ID_" IS NOT NULL) ;
  2917. ALTER TABLE "ACT_HI_ATTACHMENT" ADD CONSTRAINT "SYS_C0015375" CHECK ("ID_" IS NOT NULL) ;
  2918. -- ----------------------------
  2919. -- Primary Key structure for table ACT_HI_COMMENT
  2920. -- ----------------------------
  2921. ALTER TABLE "ACT_HI_COMMENT" ADD CONSTRAINT "SYS_C0015374" PRIMARY KEY ("ID_");
  2922. -- ----------------------------
  2923. -- Checks structure for table ACT_HI_COMMENT
  2924. -- ----------------------------
  2925. ALTER TABLE "ACT_HI_COMMENT" ADD CONSTRAINT "SYS_C0013896" CHECK ("ID_" IS NOT NULL) ;
  2926. ALTER TABLE "ACT_HI_COMMENT" ADD CONSTRAINT "SYS_C0013897" CHECK ("TIME_" IS NOT NULL) ;
  2927. ALTER TABLE "ACT_HI_COMMENT" ADD CONSTRAINT "SYS_C0015372" CHECK ("ID_" IS NOT NULL) ;
  2928. ALTER TABLE "ACT_HI_COMMENT" ADD CONSTRAINT "SYS_C0015373" CHECK ("TIME_" IS NOT NULL) ;
  2929. -- ----------------------------
  2930. -- Primary Key structure for table ACT_HI_DETAIL
  2931. -- ----------------------------
  2932. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015371" PRIMARY KEY ("ID_");
  2933. -- ----------------------------
  2934. -- Checks structure for table ACT_HI_DETAIL
  2935. -- ----------------------------
  2936. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0013898" CHECK ("ID_" IS NOT NULL) ;
  2937. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0013899" CHECK ("TYPE_" IS NOT NULL) ;
  2938. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0013900" CHECK ("NAME_" IS NOT NULL) ;
  2939. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0013901" CHECK ("TIME_" IS NOT NULL) ;
  2940. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015367" CHECK ("ID_" IS NOT NULL) ;
  2941. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015368" CHECK ("TYPE_" IS NOT NULL) ;
  2942. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015369" CHECK ("NAME_" IS NOT NULL) ;
  2943. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015370" CHECK ("TIME_" IS NOT NULL) ;
  2944. -- ----------------------------
  2945. -- Indexes structure for table ACT_HI_DETAIL
  2946. -- ----------------------------
  2947. CREATE INDEX "ACT_IDX_HI_DETAIL_ACT_INST"
  2948. ON "ACT_HI_DETAIL" ("ACT_INST_ID_")
  2949. TABLESPACE "USERS" ONLINE ;
  2950. CREATE INDEX "ACT_IDX_HI_DETAIL_NAME"
  2951. ON "ACT_HI_DETAIL" ("NAME_")
  2952. TABLESPACE "USERS" ONLINE ;
  2953. CREATE INDEX "ACT_IDX_HI_DETAIL_PROC_INST"
  2954. ON "ACT_HI_DETAIL" ("PROC_INST_ID_")
  2955. TABLESPACE "USERS" ONLINE ;
  2956. CREATE INDEX "ACT_IDX_HI_DETAIL_TASK_ID"
  2957. ON "ACT_HI_DETAIL" ("TASK_ID_")
  2958. TABLESPACE "USERS" ONLINE ;
  2959. CREATE INDEX "ACT_IDX_HI_DETAIL_TIME"
  2960. ON "ACT_HI_DETAIL" ("TIME_")
  2961. TABLESPACE "USERS" ONLINE ;
  2962. -- ----------------------------
  2963. -- Primary Key structure for table ACT_HI_ENTITYLINK
  2964. -- ----------------------------
  2965. ALTER TABLE "ACT_HI_ENTITYLINK" ADD CONSTRAINT "SYS_C0015241" PRIMARY KEY ("ID_");
  2966. -- ----------------------------
  2967. -- Checks structure for table ACT_HI_ENTITYLINK
  2968. -- ----------------------------
  2969. ALTER TABLE "ACT_HI_ENTITYLINK" ADD CONSTRAINT "SYS_C0013902" CHECK ("ID_" IS NOT NULL) ;
  2970. -- ----------------------------
  2971. -- Indexes structure for table ACT_HI_ENTITYLINK
  2972. -- ----------------------------
  2973. CREATE INDEX "ACT_IDX_HI_ENT_LNK_REF_SCOPE"
  2974. ON "ACT_HI_ENTITYLINK" ("REF_SCOPE_ID_" , "REF_SCOPE_TYPE_" , "LINK_TYPE_")
  2975. TABLESPACE "USERS" ONLINE;
  2976. CREATE INDEX "ACT_IDX_HI_ENT_LNK_ROOT_SCOPE"
  2977. ON "ACT_HI_ENTITYLINK" ("ROOT_SCOPE_ID_" , "ROOT_SCOPE_TYPE_" , "LINK_TYPE_")
  2978. TABLESPACE "USERS" ONLINE;
  2979. CREATE INDEX "ACT_IDX_HI_ENT_LNK_SCOPE"
  2980. ON "ACT_HI_ENTITYLINK" ("SCOPE_ID_" , "SCOPE_TYPE_" , "LINK_TYPE_")
  2981. TABLESPACE "USERS" ONLINE ;
  2982. CREATE INDEX "ACT_IDX_HI_ENT_LNK_SCOPE_DEF"
  2983. ON "ACT_HI_ENTITYLINK" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_" , "LINK_TYPE_")
  2984. TABLESPACE "USERS" ONLINE ;
  2985. -- ----------------------------
  2986. -- Primary Key structure for table ACT_HI_IDENTITYLINK
  2987. -- ----------------------------
  2988. ALTER TABLE "ACT_HI_IDENTITYLINK" ADD CONSTRAINT "SYS_C0015243" PRIMARY KEY ("ID_");
  2989. -- ----------------------------
  2990. -- Checks structure for table ACT_HI_IDENTITYLINK
  2991. -- ----------------------------
  2992. ALTER TABLE "ACT_HI_IDENTITYLINK" ADD CONSTRAINT "SYS_C0013903" CHECK ("ID_" IS NOT NULL) ;
  2993. -- ----------------------------
  2994. -- Indexes structure for table ACT_HI_IDENTITYLINK
  2995. -- ----------------------------
  2996. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_PROCINST"
  2997. ON "ACT_HI_IDENTITYLINK" ("PROC_INST_ID_")
  2998. TABLESPACE "USERS" ONLINE ;
  2999. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_SCOPE"
  3000. ON "ACT_HI_IDENTITYLINK" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3001. TABLESPACE "USERS" ONLINE ;
  3002. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_SCOPE_DEF"
  3003. ON "ACT_HI_IDENTITYLINK" ("SCOPE_TYPE_" , "SCOPE_DEFINITION_ID_")
  3004. TABLESPACE "USERS" ONLINE ;
  3005. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_SUB_SCOPE"
  3006. ON "ACT_HI_IDENTITYLINK" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3007. TABLESPACE "USERS" ONLINE;
  3008. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_TASK"
  3009. ON "ACT_HI_IDENTITYLINK" ("TASK_ID_")
  3010. TABLESPACE "USERS" ONLINE ;
  3011. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_USER"
  3012. ON "ACT_HI_IDENTITYLINK" ("USER_ID_")
  3013. TABLESPACE "USERS" ONLINE ;
  3014. -- ----------------------------
  3015. -- Primary Key structure for table ACT_HI_PROCINST
  3016. -- ----------------------------
  3017. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015357" PRIMARY KEY ("ID_");
  3018. -- ----------------------------
  3019. -- Uniques structure for table ACT_HI_PROCINST
  3020. -- ----------------------------
  3021. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015358" UNIQUE ("PROC_INST_ID_") ;
  3022. -- ----------------------------
  3023. -- Checks structure for table ACT_HI_PROCINST
  3024. -- ----------------------------
  3025. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0013904" CHECK ("ID_" IS NOT NULL) ;
  3026. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0013905" CHECK ("PROC_INST_ID_" IS NOT NULL) ;
  3027. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0013906" CHECK ("PROC_DEF_ID_" IS NOT NULL) ;
  3028. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0013907" CHECK ("START_TIME_" IS NOT NULL) ;
  3029. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015353" CHECK ("ID_" IS NOT NULL) ;
  3030. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015354" CHECK ("PROC_INST_ID_" IS NOT NULL) ;
  3031. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015355" CHECK ("PROC_DEF_ID_" IS NOT NULL) ;
  3032. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015356" CHECK ("START_TIME_" IS NOT NULL) ;
  3033. -- ----------------------------
  3034. -- Indexes structure for table ACT_HI_PROCINST
  3035. -- ----------------------------
  3036. CREATE INDEX "ACT_IDX_HI_PRO_INST_END"
  3037. ON "ACT_HI_PROCINST" ("END_TIME_")
  3038. TABLESPACE "USERS" ONLINE ;
  3039. CREATE INDEX "ACT_IDX_HI_PRO_I_BUSKEY"
  3040. ON "ACT_HI_PROCINST" ("BUSINESS_KEY_")
  3041. TABLESPACE "USERS" ONLINE ;
  3042. CREATE INDEX "ACT_IDX_HI_PRO_SUPER_PROCINST"
  3043. ON "ACT_HI_PROCINST" ("SUPER_PROCESS_INSTANCE_ID_")
  3044. TABLESPACE "USERS" ONLINE;
  3045. -- ----------------------------
  3046. -- Primary Key structure for table ACT_HI_TASKINST
  3047. -- ----------------------------
  3048. ALTER TABLE "ACT_HI_TASKINST" ADD CONSTRAINT "SYS_C0015274" PRIMARY KEY ("ID_");
  3049. -- ----------------------------
  3050. -- Checks structure for table ACT_HI_TASKINST
  3051. -- ----------------------------
  3052. ALTER TABLE "ACT_HI_TASKINST" ADD CONSTRAINT "SYS_C0013908" CHECK ("ID_" IS NOT NULL) ;
  3053. ALTER TABLE "ACT_HI_TASKINST" ADD CONSTRAINT "SYS_C0013909" CHECK ("START_TIME_" IS NOT NULL) ;
  3054. ALTER TABLE "ACT_HI_TASKINST" ADD CONSTRAINT "SYS_C0015272" CHECK ("ID_" IS NOT NULL) ;
  3055. ALTER TABLE "ACT_HI_TASKINST" ADD CONSTRAINT "SYS_C0015273" CHECK ("START_TIME_" IS NOT NULL) ;
  3056. -- ----------------------------
  3057. -- Indexes structure for table ACT_HI_TASKINST
  3058. -- ----------------------------
  3059. CREATE INDEX "ACT_IDX_HI_TASK_INST_PROCINST"
  3060. ON "ACT_HI_TASKINST" ("PROC_INST_ID_")
  3061. TABLESPACE "USERS" ONLINE ;
  3062. CREATE INDEX "ACT_IDX_HI_TASK_SCOPE"
  3063. ON "ACT_HI_TASKINST" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3064. TABLESPACE "USERS" ONLINE ;
  3065. CREATE INDEX "ACT_IDX_HI_TASK_SCOPE_DEF"
  3066. ON "ACT_HI_TASKINST" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_")
  3067. TABLESPACE "USERS" ONLINE ;
  3068. CREATE INDEX "ACT_IDX_HI_TASK_SUB_SCOPE"
  3069. ON "ACT_HI_TASKINST" ("SCOPE_TYPE_" , "SUB_SCOPE_ID_")
  3070. TABLESPACE "USERS" ONLINE ;
  3071. -- ----------------------------
  3072. -- Primary Key structure for table ACT_HI_TSK_LOG
  3073. -- ----------------------------
  3074. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0015277" PRIMARY KEY ("ID_");
  3075. -- ----------------------------
  3076. -- Checks structure for table ACT_HI_TSK_LOG
  3077. -- ----------------------------
  3078. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0013910" CHECK ("ID_" IS NOT NULL) ;
  3079. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0013911" CHECK ("TASK_ID_" IS NOT NULL) ;
  3080. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0013912" CHECK ("TIME_STAMP_" IS NOT NULL) ;
  3081. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0015275" CHECK ("TASK_ID_" IS NOT NULL) ;
  3082. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0015276" CHECK ("TIME_STAMP_" IS NOT NULL) ;
  3083. -- ----------------------------
  3084. -- Primary Key structure for table ACT_HI_VARINST
  3085. -- ----------------------------
  3086. ALTER TABLE "ACT_HI_VARINST" ADD CONSTRAINT "SYS_C0015285" PRIMARY KEY ("ID_");
  3087. -- ----------------------------
  3088. -- Checks structure for table ACT_HI_VARINST
  3089. -- ----------------------------
  3090. ALTER TABLE "ACT_HI_VARINST" ADD CONSTRAINT "SYS_C0013913" CHECK ("ID_" IS NOT NULL) ;
  3091. ALTER TABLE "ACT_HI_VARINST" ADD CONSTRAINT "SYS_C0013914" CHECK ("NAME_" IS NOT NULL) ;
  3092. ALTER TABLE "ACT_HI_VARINST" ADD CONSTRAINT "SYS_C0015283" CHECK ("ID_" IS NOT NULL) ;
  3093. ALTER TABLE "ACT_HI_VARINST" ADD CONSTRAINT "SYS_C0015284" CHECK ("NAME_" IS NOT NULL) ;
  3094. -- ----------------------------
  3095. -- Indexes structure for table ACT_HI_VARINST
  3096. -- ----------------------------
  3097. CREATE INDEX "ACT_IDX_HI_PROCVAR_EXE"
  3098. ON "ACT_HI_VARINST" ("EXECUTION_ID_")
  3099. TABLESPACE "USERS" ONLINE ;
  3100. CREATE INDEX "ACT_IDX_HI_PROCVAR_NAME_TYPE"
  3101. ON "ACT_HI_VARINST" ("VAR_TYPE_" , "NAME_")
  3102. TABLESPACE "USERS" ONLINE ;
  3103. CREATE INDEX "ACT_IDX_HI_PROCVAR_PROC_INST"
  3104. ON "ACT_HI_VARINST" ("PROC_INST_ID_")
  3105. TABLESPACE "USERS" ONLINE ;
  3106. CREATE INDEX "ACT_IDX_HI_PROCVAR_TASK_ID"
  3107. ON "ACT_HI_VARINST" ("TASK_ID_")
  3108. TABLESPACE "USERS" ONLINE ;
  3109. CREATE INDEX "ACT_IDX_HI_VAR_SCOPE_ID_TYPE"
  3110. ON "ACT_HI_VARINST" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3111. TABLESPACE "USERS" ONLINE ;
  3112. CREATE INDEX "ACT_IDX_HI_VAR_SUB_ID_TYPE"
  3113. ON "ACT_HI_VARINST" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3114. TABLESPACE "USERS" ONLINE ;
  3115. -- ----------------------------
  3116. -- Primary Key structure for table ACT_ID_BYTEARRAY
  3117. -- ----------------------------
  3118. ALTER TABLE "ACT_ID_BYTEARRAY" ADD CONSTRAINT "SYS_C0015378" PRIMARY KEY ("ID_");
  3119. -- ----------------------------
  3120. -- Checks structure for table ACT_ID_BYTEARRAY
  3121. -- ----------------------------
  3122. ALTER TABLE "ACT_ID_BYTEARRAY" ADD CONSTRAINT "SYS_C0013915" CHECK ("ID_" IS NOT NULL) ;
  3123. -- ----------------------------
  3124. -- Primary Key structure for table ACT_ID_GROUP
  3125. -- ----------------------------
  3126. ALTER TABLE "ACT_ID_GROUP" ADD CONSTRAINT "SYS_C0015379" PRIMARY KEY ("ID_");
  3127. -- ----------------------------
  3128. -- Checks structure for table ACT_ID_GROUP
  3129. -- ----------------------------
  3130. ALTER TABLE "ACT_ID_GROUP" ADD CONSTRAINT "SYS_C0013916" CHECK ("ID_" IS NOT NULL) ;
  3131. -- ----------------------------
  3132. -- Primary Key structure for table ACT_ID_INFO
  3133. -- ----------------------------
  3134. ALTER TABLE "ACT_ID_INFO" ADD CONSTRAINT "SYS_C0015382" PRIMARY KEY ("ID_");
  3135. -- ----------------------------
  3136. -- Checks structure for table ACT_ID_INFO
  3137. -- ----------------------------
  3138. ALTER TABLE "ACT_ID_INFO" ADD CONSTRAINT "SYS_C0013917" CHECK ("ID_" IS NOT NULL) ;
  3139. -- ----------------------------
  3140. -- Primary Key structure for table ACT_ID_MEMBERSHIP
  3141. -- ----------------------------
  3142. ALTER TABLE "ACT_ID_MEMBERSHIP" ADD CONSTRAINT "SYS_C0015380" PRIMARY KEY ("USER_ID_", "GROUP_ID_");
  3143. -- ----------------------------
  3144. -- Checks structure for table ACT_ID_MEMBERSHIP
  3145. -- ----------------------------
  3146. ALTER TABLE "ACT_ID_MEMBERSHIP" ADD CONSTRAINT "SYS_C0013918" CHECK ("USER_ID_" IS NOT NULL) ;
  3147. ALTER TABLE "ACT_ID_MEMBERSHIP" ADD CONSTRAINT "SYS_C0013919" CHECK ("GROUP_ID_" IS NOT NULL) ;
  3148. -- ----------------------------
  3149. -- Indexes structure for table ACT_ID_MEMBERSHIP
  3150. -- ----------------------------
  3151. CREATE INDEX "ACT_IDX_MEMB_GROUP"
  3152. ON "ACT_ID_MEMBERSHIP" ("GROUP_ID_")
  3153. TABLESPACE "USERS" ONLINE ;
  3154. CREATE INDEX "ACT_IDX_MEMB_USER"
  3155. ON "ACT_ID_MEMBERSHIP" ("USER_ID_")
  3156. TABLESPACE "USERS" ONLINE ;
  3157. -- ----------------------------
  3158. -- Primary Key structure for table ACT_ID_PRIV
  3159. -- ----------------------------
  3160. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "SYS_C0015387" PRIMARY KEY ("ID_");
  3161. -- ----------------------------
  3162. -- Uniques structure for table ACT_ID_PRIV
  3163. -- ----------------------------
  3164. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "ACT_UNIQ_PRIV_NAME" UNIQUE ("NAME_") ;
  3165. -- ----------------------------
  3166. -- Checks structure for table ACT_ID_PRIV
  3167. -- ----------------------------
  3168. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "SYS_C0013920" CHECK ("ID_" IS NOT NULL) ;
  3169. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "SYS_C0013921" CHECK ("NAME_" IS NOT NULL) ;
  3170. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "SYS_C0015385" CHECK ("ID_" IS NOT NULL) ;
  3171. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "SYS_C0015386" CHECK ("NAME_" IS NOT NULL) ;
  3172. -- ----------------------------
  3173. -- Primary Key structure for table ACT_ID_PRIV_MAPPING
  3174. -- ----------------------------
  3175. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "SYS_C0015390" PRIMARY KEY ("ID_");
  3176. -- ----------------------------
  3177. -- Checks structure for table ACT_ID_PRIV_MAPPING
  3178. -- ----------------------------
  3179. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "SYS_C0013922" CHECK ("ID_" IS NOT NULL) ;
  3180. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "SYS_C0013923" CHECK ("PRIV_ID_" IS NOT NULL) ;
  3181. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "SYS_C0015388" CHECK ("ID_" IS NOT NULL) ;
  3182. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "SYS_C0015389" CHECK ("PRIV_ID_" IS NOT NULL) ;
  3183. -- ----------------------------
  3184. -- Indexes structure for table ACT_ID_PRIV_MAPPING
  3185. -- ----------------------------
  3186. CREATE INDEX "ACT_IDX_PRIV_GROUP"
  3187. ON "ACT_ID_PRIV_MAPPING" ("GROUP_ID_")
  3188. TABLESPACE "USERS" ONLINE ;
  3189. CREATE INDEX "ACT_IDX_PRIV_MAPPING"
  3190. ON "ACT_ID_PRIV_MAPPING" ("PRIV_ID_")
  3191. TABLESPACE "USERS" ONLINE ;
  3192. CREATE INDEX "ACT_IDX_PRIV_USER"
  3193. ON "ACT_ID_PRIV_MAPPING" ("USER_ID_")
  3194. -- ----------------------------
  3195. -- Primary Key structure for table ACT_ID_PROPERTY
  3196. -- ----------------------------
  3197. ALTER TABLE "ACT_ID_PROPERTY" ADD CONSTRAINT "SYS_C0015377" PRIMARY KEY ("NAME_");
  3198. -- ----------------------------
  3199. -- Checks structure for table ACT_ID_PROPERTY
  3200. -- ----------------------------
  3201. ALTER TABLE "ACT_ID_PROPERTY" ADD CONSTRAINT "SYS_C0013924" CHECK ("NAME_" IS NOT NULL) ;
  3202. -- ----------------------------
  3203. -- Primary Key structure for table ACT_ID_TOKEN
  3204. -- ----------------------------
  3205. ALTER TABLE "ACT_ID_TOKEN" ADD CONSTRAINT "SYS_C0015384" PRIMARY KEY ("ID_");
  3206. -- ----------------------------
  3207. -- Checks structure for table ACT_ID_TOKEN
  3208. -- ----------------------------
  3209. ALTER TABLE "ACT_ID_TOKEN" ADD CONSTRAINT "SYS_C0013925" CHECK ("ID_" IS NOT NULL) ;
  3210. ALTER TABLE "ACT_ID_TOKEN" ADD CONSTRAINT "SYS_C0015383" CHECK ("ID_" IS NOT NULL) ;
  3211. -- ----------------------------
  3212. -- Primary Key structure for table ACT_ID_USER
  3213. -- ----------------------------
  3214. ALTER TABLE "ACT_ID_USER" ADD CONSTRAINT "SYS_C0015381" PRIMARY KEY ("ID_");
  3215. -- ----------------------------
  3216. -- Checks structure for table ACT_ID_USER
  3217. -- ----------------------------
  3218. ALTER TABLE "ACT_ID_USER" ADD CONSTRAINT "SYS_C0013926" CHECK ("ID_" IS NOT NULL) ;
  3219. -- ----------------------------
  3220. -- Primary Key structure for table ACT_PROCDEF_INFO
  3221. -- ----------------------------
  3222. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "SYS_C0015311" PRIMARY KEY ("ID_");
  3223. -- ----------------------------
  3224. -- Uniques structure for table ACT_PROCDEF_INFO
  3225. -- ----------------------------
  3226. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "ACT_UNIQ_INFO_PROCDEF" UNIQUE ("PROC_DEF_ID_") ;
  3227. -- ----------------------------
  3228. -- Checks structure for table ACT_PROCDEF_INFO
  3229. -- ----------------------------
  3230. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "SYS_C0013927" CHECK ("ID_" IS NOT NULL) ;
  3231. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "SYS_C0013928" CHECK ("PROC_DEF_ID_" IS NOT NULL) ;
  3232. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "SYS_C0015309" CHECK ("ID_" IS NOT NULL) ;
  3233. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "SYS_C0015310" CHECK ("PROC_DEF_ID_" IS NOT NULL) ;
  3234. -- ----------------------------
  3235. -- Indexes structure for table ACT_PROCDEF_INFO
  3236. -- ----------------------------
  3237. CREATE INDEX "ACT_IDX_PROCDEF_INFO_JSON"
  3238. ON "ACT_PROCDEF_INFO" ("INFO_JSON_ID_")
  3239. -- ----------------------------
  3240. -- Primary Key structure for table ACT_RE_DEPLOYMENT
  3241. -- ----------------------------
  3242. ALTER TABLE "ACT_RE_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015290" PRIMARY KEY ("ID_");
  3243. -- ----------------------------
  3244. -- Checks structure for table ACT_RE_DEPLOYMENT
  3245. -- ----------------------------
  3246. ALTER TABLE "ACT_RE_DEPLOYMENT" ADD CONSTRAINT "SYS_C0013929" CHECK ("ID_" IS NOT NULL) ;
  3247. -- ----------------------------
  3248. -- Primary Key structure for table ACT_RE_MODEL
  3249. -- ----------------------------
  3250. ALTER TABLE "ACT_RE_MODEL" ADD CONSTRAINT "SYS_C0015292" PRIMARY KEY ("ID_");
  3251. -- ----------------------------
  3252. -- Checks structure for table ACT_RE_MODEL
  3253. -- ----------------------------
  3254. ALTER TABLE "ACT_RE_MODEL" ADD CONSTRAINT "SYS_C0013930" CHECK ("ID_" IS NOT NULL) ;
  3255. ALTER TABLE "ACT_RE_MODEL" ADD CONSTRAINT "SYS_C0015291" CHECK ("ID_" IS NOT NULL) ;
  3256. -- ----------------------------
  3257. -- Indexes structure for table ACT_RE_MODEL
  3258. -- ----------------------------
  3259. CREATE INDEX "ACT_IDX_MODEL_DEPLOYMENT"
  3260. ON "ACT_RE_MODEL" ("DEPLOYMENT_ID_")
  3261. TABLESPACE "USERS" ONLINE ;
  3262. CREATE INDEX "ACT_IDX_MODEL_SOURCE"
  3263. ON "ACT_RE_MODEL" ("EDITOR_SOURCE_VALUE_ID_")
  3264. TABLESPACE "USERS" ONLINE ;
  3265. CREATE INDEX "ACT_IDX_MODEL_SOURCE_EXTRA"
  3266. ON "ACT_RE_MODEL" ("EDITOR_SOURCE_EXTRA_VALUE_ID_")
  3267. TABLESPACE "USERS" ONLINE ;
  3268. -- ----------------------------
  3269. -- Primary Key structure for table ACT_RE_PROCDEF
  3270. -- ----------------------------
  3271. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015306" PRIMARY KEY ("ID_");
  3272. -- ----------------------------
  3273. -- Uniques structure for table ACT_RE_PROCDEF
  3274. -- ----------------------------
  3275. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "ACT_UNIQ_PROCDEF" UNIQUE ("KEY_", "VERSION_", "DERIVED_VERSION_", "TENANT_ID_") ;
  3276. -- ----------------------------
  3277. -- Checks structure for table ACT_RE_PROCDEF
  3278. -- ----------------------------
  3279. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0013931" CHECK ("ID_" IS NOT NULL) ;
  3280. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0013932" CHECK ("KEY_" IS NOT NULL) ;
  3281. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0013933" CHECK ("VERSION_" IS NOT NULL) ;
  3282. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0013934" CHECK ("DERIVED_VERSION_" IS NOT NULL) ;
  3283. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015300" CHECK ("ID_" IS NOT NULL) ;
  3284. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015301" CHECK ("KEY_" IS NOT NULL) ;
  3285. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015302" CHECK ("VERSION_" IS NOT NULL) ;
  3286. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015303" CHECK ("DERIVED_VERSION_" IS NOT NULL) ;
  3287. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015304" CHECK (HAS_START_FORM_KEY_ IN (1,0)) ;
  3288. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015305" CHECK (HAS_GRAPHICAL_NOTATION_ IN (1,0)) ;
  3289. -- ----------------------------
  3290. -- Primary Key structure for table ACT_RU_ACTINST
  3291. -- ----------------------------
  3292. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015319" PRIMARY KEY ("ID_");
  3293. -- ----------------------------
  3294. -- Checks structure for table ACT_RU_ACTINST
  3295. -- ----------------------------
  3296. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0013935" CHECK ("ID_" IS NOT NULL) ;
  3297. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0013936" CHECK ("PROC_DEF_ID_" IS NOT NULL) ;
  3298. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0013937" CHECK ("PROC_INST_ID_" IS NOT NULL) ;
  3299. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0013938" CHECK ("EXECUTION_ID_" IS NOT NULL) ;
  3300. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0013939" CHECK ("ACT_ID_" IS NOT NULL) ;
  3301. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0013940" CHECK ("ACT_TYPE_" IS NOT NULL) ;
  3302. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0013941" CHECK ("START_TIME_" IS NOT NULL) ;
  3303. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015312" CHECK ("ID_" IS NOT NULL) ;
  3304. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015313" CHECK ("PROC_DEF_ID_" IS NOT NULL) ;
  3305. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015314" CHECK ("PROC_INST_ID_" IS NOT NULL) ;
  3306. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015315" CHECK ("EXECUTION_ID_" IS NOT NULL) ;
  3307. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015316" CHECK ("ACT_ID_" IS NOT NULL) ;
  3308. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015317" CHECK ("ACT_TYPE_" IS NOT NULL) ;
  3309. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015318" CHECK ("START_TIME_" IS NOT NULL) ;
  3310. -- ----------------------------
  3311. -- Indexes structure for table ACT_RU_ACTINST
  3312. -- ----------------------------
  3313. CREATE INDEX "ACT_IDX_RU_ACTI_END"
  3314. ON "ACT_RU_ACTINST" ("END_TIME_")
  3315. TABLESPACE "USERS" ONLINE ;
  3316. CREATE INDEX "ACT_IDX_RU_ACTI_EXEC"
  3317. ON "ACT_RU_ACTINST" ("EXECUTION_ID_")
  3318. TABLESPACE "USERS" ONLINE ;
  3319. CREATE INDEX "ACT_IDX_RU_ACTI_EXEC_ACT"
  3320. ON "ACT_RU_ACTINST" ("ACT_ID_" , "EXECUTION_ID_")
  3321. TABLESPACE "USERS" ONLINE ;
  3322. CREATE INDEX "ACT_IDX_RU_ACTI_PROC"
  3323. ON "ACT_RU_ACTINST" ("PROC_INST_ID_")
  3324. TABLESPACE "USERS" ONLINE ;
  3325. CREATE INDEX "ACT_IDX_RU_ACTI_PROC_ACT"
  3326. ON "ACT_RU_ACTINST" ("ACT_ID_" , "PROC_INST_ID_")
  3327. TABLESPACE "USERS" ONLINE ;
  3328. CREATE INDEX "ACT_IDX_RU_ACTI_START"
  3329. ON "ACT_RU_ACTINST" ("START_TIME_")
  3330. TABLESPACE "USERS" ONLINE ;
  3331. CREATE INDEX "ACT_IDX_RU_ACTI_TASK"
  3332. ON "ACT_RU_ACTINST" ("TASK_ID_")
  3333. TABLESPACE "USERS" ONLINE;
  3334. -- ----------------------------
  3335. -- Primary Key structure for table ACT_RU_DEADLETTER_JOB
  3336. -- ----------------------------
  3337. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0015259" PRIMARY KEY ("ID_");
  3338. -- ----------------------------
  3339. -- Checks structure for table ACT_RU_DEADLETTER_JOB
  3340. -- ----------------------------
  3341. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0013942" CHECK ("ID_" IS NOT NULL) ;
  3342. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0013943" CHECK ("TYPE_" IS NOT NULL) ;
  3343. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0015256" CHECK ("ID_" IS NOT NULL) ;
  3344. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0015257" CHECK ("TYPE_" IS NOT NULL) ;
  3345. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0015258" CHECK (EXCLUSIVE_ IN (1,0)) ;
  3346. -- ----------------------------
  3347. -- Indexes structure for table ACT_RU_DEADLETTER_JOB
  3348. -- ----------------------------
  3349. CREATE INDEX "ACT_IDX_DJOB_CORRELATION_ID"
  3350. ON "ACT_RU_DEADLETTER_JOB" ("CORRELATION_ID_")
  3351. TABLESPACE "USERS" ONLINE;
  3352. CREATE INDEX "ACT_IDX_DJOB_CUSTOM_VAL_ID"
  3353. ON "ACT_RU_DEADLETTER_JOB" ("CUSTOM_VALUES_ID_")
  3354. TABLESPACE "USERS" ONLINE ;
  3355. CREATE INDEX "ACT_IDX_DJOB_EXCEPTION"
  3356. ON "ACT_RU_DEADLETTER_JOB" ("EXCEPTION_STACK_ID_")
  3357. TABLESPACE "USERS" ONLINE ;
  3358. CREATE INDEX "ACT_IDX_DJOB_EXECUTION_ID"
  3359. ON "ACT_RU_DEADLETTER_JOB" ("EXECUTION_ID_")
  3360. TABLESPACE "USERS" ONLINE ;
  3361. CREATE INDEX "ACT_IDX_DJOB_PROC_DEF_ID"
  3362. ON "ACT_RU_DEADLETTER_JOB" ("PROC_DEF_ID_")
  3363. TABLESPACE "USERS" ONLINE ;
  3364. CREATE INDEX "ACT_IDX_DJOB_PROC_INST_ID"
  3365. ON "ACT_RU_DEADLETTER_JOB" ("PROCESS_INSTANCE_ID_")
  3366. TABLESPACE "USERS" ONLINE ;
  3367. CREATE INDEX "ACT_IDX_DJOB_SCOPE"
  3368. ON "ACT_RU_DEADLETTER_JOB" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3369. TABLESPACE "USERS" ONLINE ;
  3370. CREATE INDEX "ACT_IDX_DJOB_SCOPE_DEF"
  3371. ON "ACT_RU_DEADLETTER_JOB" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_")
  3372. TABLESPACE "USERS" ONLINE ;
  3373. CREATE INDEX "ACT_IDX_DJOB_SUB_SCOPE"
  3374. ON "ACT_RU_DEADLETTER_JOB" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3375. TABLESPACE "USERS" ONLINE ;
  3376. -- ----------------------------
  3377. -- Primary Key structure for table ACT_RU_ENTITYLINK
  3378. -- ----------------------------
  3379. ALTER TABLE "ACT_RU_ENTITYLINK" ADD CONSTRAINT "SYS_C0015240" PRIMARY KEY ("ID_");
  3380. -- ----------------------------
  3381. -- Checks structure for table ACT_RU_ENTITYLINK
  3382. -- ----------------------------
  3383. ALTER TABLE "ACT_RU_ENTITYLINK" ADD CONSTRAINT "SYS_C0013944" CHECK ("ID_" IS NOT NULL) ;
  3384. -- ----------------------------
  3385. -- Indexes structure for table ACT_RU_ENTITYLINK
  3386. -- ----------------------------
  3387. CREATE INDEX "ACT_IDX_ENT_LNK_REF_SCOPE"
  3388. ON "ACT_RU_ENTITYLINK" ("REF_SCOPE_ID_" , "REF_SCOPE_TYPE_" , "LINK_TYPE_")
  3389. TABLESPACE "USERS" ONLINE;
  3390. CREATE INDEX "ACT_IDX_ENT_LNK_ROOT_SCOPE"
  3391. ON "ACT_RU_ENTITYLINK" ("ROOT_SCOPE_ID_" , "ROOT_SCOPE_TYPE_" , "LINK_TYPE_")
  3392. TABLESPACE "USERS" ONLINE;
  3393. CREATE INDEX "ACT_IDX_ENT_LNK_SCOPE"
  3394. ON "ACT_RU_ENTITYLINK" ("SCOPE_ID_" , "SCOPE_TYPE_" , "LINK_TYPE_")
  3395. TABLESPACE "USERS" ONLINE ;
  3396. CREATE INDEX "ACT_IDX_ENT_LNK_SCOPE_DEF"
  3397. ON "ACT_RU_ENTITYLINK" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_" , "LINK_TYPE_")
  3398. TABLESPACE "USERS" ONLINE ;
  3399. -- ----------------------------
  3400. -- Primary Key structure for table ACT_RU_EVENT_SUBSCR
  3401. -- ----------------------------
  3402. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0015289" PRIMARY KEY ("ID_");
  3403. -- ----------------------------
  3404. -- Checks structure for table ACT_RU_EVENT_SUBSCR
  3405. -- ----------------------------
  3406. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0013945" CHECK ("ID_" IS NOT NULL) ;
  3407. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0013946" CHECK ("EVENT_TYPE_" IS NOT NULL) ;
  3408. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0013947" CHECK ("CREATED_" IS NOT NULL) ;
  3409. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0015286" CHECK ("ID_" IS NOT NULL) ;
  3410. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0015287" CHECK ("EVENT_TYPE_" IS NOT NULL) ;
  3411. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0015288" CHECK ("CREATED_" IS NOT NULL) ;
  3412. -- ----------------------------
  3413. -- Indexes structure for table ACT_RU_EVENT_SUBSCR
  3414. -- ----------------------------
  3415. CREATE INDEX "ACT_IDX_EVENT_SUBSCR"
  3416. ON "ACT_RU_EVENT_SUBSCR" ("EXECUTION_ID_")
  3417. TABLESPACE "USERS" ONLINE ;
  3418. CREATE INDEX "ACT_IDX_EVENT_SUBSCR_CONFIG_"
  3419. ON "ACT_RU_EVENT_SUBSCR" ("CONFIGURATION_")
  3420. TABLESPACE "USERS" ONLINE ;
  3421. CREATE INDEX "ACT_IDX_EVENT_SUBSCR_SCOPEREF_"
  3422. ON "ACT_RU_EVENT_SUBSCR" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3423. TABLESPACE "USERS" ONLINE;
  3424. -- ----------------------------
  3425. -- Primary Key structure for table ACT_RU_EXECUTION
  3426. -- ----------------------------
  3427. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015299" PRIMARY KEY ("ID_");
  3428. -- ----------------------------
  3429. -- Checks structure for table ACT_RU_EXECUTION
  3430. -- ----------------------------
  3431. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0013948" CHECK ("ID_" IS NOT NULL) ;
  3432. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015293" CHECK (IS_ACTIVE_ IN (1,0)) ;
  3433. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015294" CHECK (IS_CONCURRENT_ IN (1,0)) ;
  3434. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015295" CHECK (IS_SCOPE_ IN (1,0)) ;
  3435. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015296" CHECK (IS_EVENT_SCOPE_ IN (1,0)) ;
  3436. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015297" CHECK (IS_MI_ROOT_ IN (1,0)) ;
  3437. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015298" CHECK (IS_COUNT_ENABLED_ IN (1,0)) ;
  3438. -- ----------------------------
  3439. -- Indexes structure for table ACT_RU_EXECUTION
  3440. -- ----------------------------
  3441. CREATE INDEX "ACT_IDX_EXEC_BUSKEY"
  3442. ON "ACT_RU_EXECUTION" ("BUSINESS_KEY_")
  3443. TABLESPACE "USERS" ONLINE ;
  3444. CREATE INDEX "ACT_IDX_EXEC_REF_ID_"
  3445. ON "ACT_RU_EXECUTION" ("REFERENCE_ID_")
  3446. TABLESPACE "USERS" ONLINE;
  3447. CREATE INDEX "ACT_IDX_EXEC_ROOT"
  3448. ON "ACT_RU_EXECUTION" ("ROOT_PROC_INST_ID_")
  3449. TABLESPACE "USERS" ONLINE ;
  3450. CREATE INDEX "ACT_IDX_EXE_PARENT"
  3451. ON "ACT_RU_EXECUTION" ("PARENT_ID_")
  3452. TABLESPACE "USERS" ONLINE ;
  3453. CREATE INDEX "ACT_IDX_EXE_PROCDEF"
  3454. ON "ACT_RU_EXECUTION" ("PROC_DEF_ID_")
  3455. TABLESPACE "USERS" ONLINE ;
  3456. CREATE INDEX "ACT_IDX_EXE_PROCINST"
  3457. ON "ACT_RU_EXECUTION" ("PROC_INST_ID_")
  3458. TABLESPACE "USERS" ONLINE ;
  3459. CREATE INDEX "ACT_IDX_EXE_SUPER"
  3460. ON "ACT_RU_EXECUTION" ("SUPER_EXEC_")
  3461. TABLESPACE "USERS" ONLINE ;
  3462. -- ----------------------------
  3463. -- Primary Key structure for table ACT_RU_EXTERNAL_JOB
  3464. -- ----------------------------
  3465. ALTER TABLE "ACT_RU_EXTERNAL_JOB" ADD CONSTRAINT "SYS_C0014269" PRIMARY KEY ("ID_");
  3466. -- ----------------------------
  3467. -- Checks structure for table ACT_RU_EXTERNAL_JOB
  3468. -- ----------------------------
  3469. ALTER TABLE "ACT_RU_EXTERNAL_JOB" ADD CONSTRAINT "SYS_C0014266" CHECK ("ID_" IS NOT NULL) ;
  3470. ALTER TABLE "ACT_RU_EXTERNAL_JOB" ADD CONSTRAINT "SYS_C0014267" CHECK ("TYPE_" IS NOT NULL) ;
  3471. ALTER TABLE "ACT_RU_EXTERNAL_JOB" ADD CONSTRAINT "SYS_C0014268" CHECK (EXCLUSIVE_ IN (1,0)) ;
  3472. -- ----------------------------
  3473. -- Indexes structure for table ACT_RU_EXTERNAL_JOB
  3474. -- ----------------------------
  3475. CREATE INDEX "ACT_IDX_EJOB_CORRELATION_ID"
  3476. ON "ACT_RU_EXTERNAL_JOB" ("CORRELATION_ID_")
  3477. TABLESPACE "USERS" ONLINE;
  3478. CREATE INDEX "ACT_IDX_EJOB_CUSTOM_VAL_ID"
  3479. ON "ACT_RU_EXTERNAL_JOB" ("CUSTOM_VALUES_ID_")
  3480. TABLESPACE "USERS" ONLINE;
  3481. CREATE INDEX "ACT_IDX_EJOB_EXCEPTION"
  3482. ON "ACT_RU_EXTERNAL_JOB" ("EXCEPTION_STACK_ID_")
  3483. TABLESPACE "USERS" ONLINE;
  3484. CREATE INDEX "ACT_IDX_EJOB_SCOPE"
  3485. ON "ACT_RU_EXTERNAL_JOB" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3486. TABLESPACE "USERS" ONLINE;
  3487. CREATE INDEX "ACT_IDX_EJOB_SCOPE_DEF"
  3488. ON "ACT_RU_EXTERNAL_JOB" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_")
  3489. TABLESPACE "USERS" ONLINE;
  3490. CREATE INDEX "ACT_IDX_EJOB_SUB_SCOPE"
  3491. ON "ACT_RU_EXTERNAL_JOB" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3492. TABLESPACE "USERS" ONLINE;
  3493. -- ----------------------------
  3494. -- Primary Key structure for table ACT_RU_HISTORY_JOB
  3495. -- ----------------------------
  3496. ALTER TABLE "ACT_RU_HISTORY_JOB" ADD CONSTRAINT "SYS_C0015261" PRIMARY KEY ("ID_");
  3497. -- ----------------------------
  3498. -- Checks structure for table ACT_RU_HISTORY_JOB
  3499. -- ----------------------------
  3500. ALTER TABLE "ACT_RU_HISTORY_JOB" ADD CONSTRAINT "SYS_C0013949" CHECK ("ID_" IS NOT NULL) ;
  3501. ALTER TABLE "ACT_RU_HISTORY_JOB" ADD CONSTRAINT "SYS_C0015260" CHECK ("ID_" IS NOT NULL) ;
  3502. -- ----------------------------
  3503. -- Primary Key structure for table ACT_RU_IDENTITYLINK
  3504. -- ----------------------------
  3505. ALTER TABLE "ACT_RU_IDENTITYLINK" ADD CONSTRAINT "SYS_C0015242" PRIMARY KEY ("ID_");
  3506. -- ----------------------------
  3507. -- Checks structure for table ACT_RU_IDENTITYLINK
  3508. -- ----------------------------
  3509. ALTER TABLE "ACT_RU_IDENTITYLINK" ADD CONSTRAINT "SYS_C0013950" CHECK ("ID_" IS NOT NULL) ;
  3510. -- ----------------------------
  3511. -- Indexes structure for table ACT_RU_IDENTITYLINK
  3512. -- ----------------------------
  3513. CREATE INDEX "ACT_IDX_ATHRZ_PROCEDEF"
  3514. ON "ACT_RU_IDENTITYLINK" ("PROC_DEF_ID_")
  3515. TABLESPACE "USERS" ONLINE ;
  3516. CREATE INDEX "ACT_IDX_IDENT_LNK_GROUP"
  3517. ON "ACT_RU_IDENTITYLINK" ("GROUP_ID_")
  3518. TABLESPACE "USERS" ONLINE ;
  3519. CREATE INDEX "ACT_IDX_IDENT_LNK_SCOPE"
  3520. ON "ACT_RU_IDENTITYLINK" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3521. TABLESPACE "USERS" ONLINE ;
  3522. CREATE INDEX "ACT_IDX_IDENT_LNK_SCOPE_DEF"
  3523. ON "ACT_RU_IDENTITYLINK" ("SCOPE_TYPE_" , "SCOPE_DEFINITION_ID_")
  3524. TABLESPACE "USERS" ONLINE ;
  3525. CREATE INDEX "ACT_IDX_IDENT_LNK_SUB_SCOPE"
  3526. ON "ACT_RU_IDENTITYLINK" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3527. TABLESPACE "USERS" ONLINE;
  3528. CREATE INDEX "ACT_IDX_IDENT_LNK_USER"
  3529. ON "ACT_RU_IDENTITYLINK" ("USER_ID_")
  3530. TABLESPACE "USERS" ONLINE ;
  3531. CREATE INDEX "ACT_IDX_IDL_PROCINST"
  3532. ON "ACT_RU_IDENTITYLINK" ("PROC_INST_ID_")
  3533. TABLESPACE "USERS" ONLINE ;
  3534. CREATE INDEX "ACT_IDX_TSKASS_TASK"
  3535. ON "ACT_RU_IDENTITYLINK" ("TASK_ID_")
  3536. TABLESPACE "USERS" ONLINE ;
  3537. -- ----------------------------
  3538. -- Primary Key structure for table ACT_RU_JOB
  3539. -- ----------------------------
  3540. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0015247" PRIMARY KEY ("ID_");
  3541. -- ----------------------------
  3542. -- Checks structure for table ACT_RU_JOB
  3543. -- ----------------------------
  3544. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0013951" CHECK ("ID_" IS NOT NULL) ;
  3545. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0013952" CHECK ("TYPE_" IS NOT NULL) ;
  3546. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0015244" CHECK ("ID_" IS NOT NULL) ;
  3547. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0015245" CHECK ("TYPE_" IS NOT NULL) ;
  3548. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0015246" CHECK (EXCLUSIVE_ IN (1,0)) ;
  3549. -- ----------------------------
  3550. -- Indexes structure for table ACT_RU_JOB
  3551. -- ----------------------------
  3552. CREATE INDEX "ACT_IDX_JOB_CORRELATION_ID"
  3553. ON "ACT_RU_JOB" ("CORRELATION_ID_")
  3554. TABLESPACE "USERS" ONLINE;
  3555. CREATE INDEX "ACT_IDX_JOB_CUSTOM_VAL_ID"
  3556. ON "ACT_RU_JOB" ("CUSTOM_VALUES_ID_")
  3557. TABLESPACE "USERS" ONLINE ;
  3558. CREATE INDEX "ACT_IDX_JOB_EXCEPTION"
  3559. ON "ACT_RU_JOB" ("EXCEPTION_STACK_ID_")
  3560. TABLESPACE "USERS" ONLINE ;
  3561. CREATE INDEX "ACT_IDX_JOB_EXECUTION_ID"
  3562. ON "ACT_RU_JOB" ("EXECUTION_ID_")
  3563. TABLESPACE "USERS" ONLINE ;
  3564. CREATE INDEX "ACT_IDX_JOB_PROC_DEF_ID"
  3565. ON "ACT_RU_JOB" ("PROC_DEF_ID_")
  3566. TABLESPACE "USERS" ONLINE ;
  3567. CREATE INDEX "ACT_IDX_JOB_PROC_INST_ID"
  3568. ON "ACT_RU_JOB" ("PROCESS_INSTANCE_ID_")
  3569. TABLESPACE "USERS" ONLINE ;
  3570. CREATE INDEX "ACT_IDX_JOB_SCOPE"
  3571. ON "ACT_RU_JOB" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3572. TABLESPACE "USERS" ONLINE ;
  3573. CREATE INDEX "ACT_IDX_JOB_SCOPE_DEF"
  3574. ON "ACT_RU_JOB" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_")
  3575. TABLESPACE "USERS" ONLINE ;
  3576. CREATE INDEX "ACT_IDX_JOB_SUB_SCOPE"
  3577. ON "ACT_RU_JOB" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3578. TABLESPACE "USERS" ONLINE ;
  3579. -- ----------------------------
  3580. -- Primary Key structure for table ACT_RU_SUSPENDED_JOB
  3581. -- ----------------------------
  3582. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0015255" PRIMARY KEY ("ID_");
  3583. -- ----------------------------
  3584. -- Checks structure for table ACT_RU_SUSPENDED_JOB
  3585. -- ----------------------------
  3586. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0013953" CHECK ("ID_" IS NOT NULL) ;
  3587. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0013954" CHECK ("TYPE_" IS NOT NULL) ;
  3588. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0015252" CHECK ("ID_" IS NOT NULL) ;
  3589. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0015253" CHECK ("TYPE_" IS NOT NULL) ;
  3590. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0015254" CHECK (EXCLUSIVE_ IN (1,0)) ;
  3591. -- ----------------------------
  3592. -- Indexes structure for table ACT_RU_SUSPENDED_JOB
  3593. -- ----------------------------
  3594. CREATE INDEX "ACT_IDX_SJOB_CORRELATION_ID"
  3595. ON "ACT_RU_SUSPENDED_JOB" ("CORRELATION_ID_")
  3596. TABLESPACE "USERS" ONLINE;
  3597. CREATE INDEX "ACT_IDX_SJOB_CUSTOM_VAL_ID"
  3598. ON "ACT_RU_SUSPENDED_JOB" ("CUSTOM_VALUES_ID_")
  3599. TABLESPACE "USERS" ONLINE ;
  3600. CREATE INDEX "ACT_IDX_SJOB_EXCEPTION"
  3601. ON "ACT_RU_SUSPENDED_JOB" ("EXCEPTION_STACK_ID_")
  3602. TABLESPACE "USERS" ONLINE ;
  3603. CREATE INDEX "ACT_IDX_SJOB_EXECUTION_ID"
  3604. ON "ACT_RU_SUSPENDED_JOB" ("EXECUTION_ID_")
  3605. TABLESPACE "USERS" ONLINE ;
  3606. CREATE INDEX "ACT_IDX_SJOB_PROC_DEF_ID"
  3607. ON "ACT_RU_SUSPENDED_JOB" ("PROC_DEF_ID_")
  3608. TABLESPACE "USERS" ONLINE ;
  3609. CREATE INDEX "ACT_IDX_SJOB_PROC_INST_ID"
  3610. ON "ACT_RU_SUSPENDED_JOB" ("PROCESS_INSTANCE_ID_")
  3611. TABLESPACE "USERS" ONLINE ;
  3612. CREATE INDEX "ACT_IDX_SJOB_SCOPE"
  3613. ON "ACT_RU_SUSPENDED_JOB" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3614. TABLESPACE "USERS" ONLINE ;
  3615. CREATE INDEX "ACT_IDX_SJOB_SCOPE_DEF"
  3616. ON "ACT_RU_SUSPENDED_JOB" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_")
  3617. TABLESPACE "USERS" ONLINE ;
  3618. CREATE INDEX "ACT_IDX_SJOB_SUB_SCOPE"
  3619. ON "ACT_RU_SUSPENDED_JOB" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3620. TABLESPACE "USERS" ONLINE ;
  3621. -- ----------------------------
  3622. -- Primary Key structure for table ACT_RU_TASK
  3623. -- ----------------------------
  3624. ALTER TABLE "ACT_RU_TASK" ADD CONSTRAINT "SYS_C0015271" PRIMARY KEY ("ID_");
  3625. -- ----------------------------
  3626. -- Checks structure for table ACT_RU_TASK
  3627. -- ----------------------------
  3628. ALTER TABLE "ACT_RU_TASK" ADD CONSTRAINT "SYS_C0013955" CHECK ("ID_" IS NOT NULL) ;
  3629. ALTER TABLE "ACT_RU_TASK" ADD CONSTRAINT "SYS_C0015270" CHECK (IS_COUNT_ENABLED_ IN (1,0)) ;
  3630. -- ----------------------------
  3631. -- Indexes structure for table ACT_RU_TASK
  3632. -- ----------------------------
  3633. CREATE INDEX "ACT_IDX_TASK_CREATE"
  3634. ON "ACT_RU_TASK" ("CREATE_TIME_")
  3635. TABLESPACE "USERS" ONLINE ;
  3636. CREATE INDEX "ACT_IDX_TASK_EXEC"
  3637. ON "ACT_RU_TASK" ("EXECUTION_ID_")
  3638. TABLESPACE "USERS" ONLINE ;
  3639. CREATE INDEX "ACT_IDX_TASK_PROCDEF"
  3640. ON "ACT_RU_TASK" ("PROC_DEF_ID_")
  3641. TABLESPACE "USERS" ONLINE ;
  3642. CREATE INDEX "ACT_IDX_TASK_PROCINST"
  3643. ON "ACT_RU_TASK" ("PROC_INST_ID_")
  3644. TABLESPACE "USERS" ;
  3645. CREATE INDEX "ACT_IDX_TASK_SCOPE"
  3646. ON "ACT_RU_TASK" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3647. TABLESPACE "USERS" ;
  3648. CREATE INDEX "ACT_IDX_TASK_SCOPE_DEF"
  3649. ON "ACT_RU_TASK" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_")
  3650. TABLESPACE "USERS" ;
  3651. CREATE INDEX "ACT_IDX_TASK_SUB_SCOPE"
  3652. ON "ACT_RU_TASK" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3653. TABLESPACE "USERS" ONLINE ;
  3654. -- ----------------------------
  3655. -- Primary Key structure for table ACT_RU_TIMER_JOB
  3656. -- ----------------------------
  3657. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0015251" PRIMARY KEY ("ID_");
  3658. -- ----------------------------
  3659. -- Checks structure for table ACT_RU_TIMER_JOB
  3660. -- ----------------------------
  3661. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0013956" CHECK ("ID_" IS NOT NULL) ;
  3662. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0013957" CHECK ("TYPE_" IS NOT NULL) ;
  3663. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0015248" CHECK ("ID_" IS NOT NULL) ;
  3664. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0015249" CHECK ("TYPE_" IS NOT NULL) ;
  3665. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0015250" CHECK (EXCLUSIVE_ IN (1,0)) ;
  3666. -- ----------------------------
  3667. -- Indexes structure for table ACT_RU_TIMER_JOB
  3668. -- ----------------------------
  3669. CREATE INDEX "ACT_IDX_TJOB_CORRELATION_ID"
  3670. ON "ACT_RU_TIMER_JOB" ("CORRELATION_ID_")
  3671. TABLESPACE "USERS";
  3672. CREATE INDEX "ACT_IDX_TJOB_CUSTOM_VAL_ID"
  3673. ON "ACT_RU_TIMER_JOB" ("CUSTOM_VALUES_ID_")
  3674. TABLESPACE "USERS" ;
  3675. CREATE INDEX "ACT_IDX_TJOB_DUEDATE"
  3676. ON "ACT_RU_TIMER_JOB" ("DUEDATE_")
  3677. TABLESPACE "USERS";
  3678. CREATE INDEX "ACT_IDX_TJOB_EXCEPTION"
  3679. ON "ACT_RU_TIMER_JOB" ("EXCEPTION_STACK_ID_")
  3680. TABLESPACE "USERS" ;
  3681. CREATE INDEX "ACT_IDX_TJOB_EXECUTION_ID"
  3682. ON "ACT_RU_TIMER_JOB" ("EXECUTION_ID_")
  3683. TABLESPACE "USERS" ;
  3684. CREATE INDEX "ACT_IDX_TJOB_PROC_DEF_ID"
  3685. ON "ACT_RU_TIMER_JOB" ("PROC_DEF_ID_")
  3686. TABLESPACE "USERS" ;
  3687. CREATE INDEX "ACT_IDX_TJOB_PROC_INST_ID"
  3688. ON "ACT_RU_TIMER_JOB" ("PROCESS_INSTANCE_ID_")
  3689. TABLESPACE "USERS" ;
  3690. CREATE INDEX "ACT_IDX_TJOB_SCOPE"
  3691. ON "ACT_RU_TIMER_JOB" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3692. TABLESPACE "USERS" ;
  3693. CREATE INDEX "ACT_IDX_TJOB_SCOPE_DEF"
  3694. ON "ACT_RU_TIMER_JOB" ("SCOPE_DEFINITION_ID_" , "SCOPE_TYPE_")
  3695. TABLESPACE "USERS" ;
  3696. CREATE INDEX "ACT_IDX_TJOB_SUB_SCOPE"
  3697. ON "ACT_RU_TIMER_JOB" ("SUB_SCOPE_ID_" , "SCOPE_TYPE_")
  3698. TABLESPACE "USERS" ;
  3699. -- ----------------------------
  3700. -- Primary Key structure for table ACT_RU_VARIABLE
  3701. -- ----------------------------
  3702. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0015281" PRIMARY KEY ("ID_");
  3703. -- ----------------------------
  3704. -- Checks structure for table ACT_RU_VARIABLE
  3705. -- ----------------------------
  3706. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0013958" CHECK ("ID_" IS NOT NULL) ;
  3707. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0013959" CHECK ("TYPE_" IS NOT NULL) ;
  3708. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0013960" CHECK ("NAME_" IS NOT NULL) ;
  3709. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0015278" CHECK ("ID_" IS NOT NULL) ;
  3710. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0015279" CHECK ("TYPE_" IS NOT NULL) ;
  3711. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0015280" CHECK ("NAME_" IS NOT NULL) ;
  3712. -- ----------------------------
  3713. -- Indexes structure for table ACT_RU_VARIABLE
  3714. -- ----------------------------
  3715. CREATE INDEX "ACT_IDX_RU_VAR_SCOPE_ID_TYPE"
  3716. ON "ACT_RU_VARIABLE" ("SCOPE_ID_" , "SCOPE_TYPE_")
  3717. TABLESPACE "USERS" ONLINE ;
  3718. CREATE INDEX "ACT_IDX_RU_VAR_SUB_ID_TYPE"
  3719. ON "ACT_RU_VARIABLE" ("SCOPE_TYPE_" , "SUB_SCOPE_ID_")
  3720. TABLESPACE "USERS" ONLINE ;
  3721. CREATE INDEX "ACT_IDX_VARIABLE_TASK_ID"
  3722. ON "ACT_RU_VARIABLE" ("TASK_ID_")
  3723. TABLESPACE "USERS" ONLINE ;
  3724. CREATE INDEX "ACT_IDX_VAR_BYTEARRAY"
  3725. ON "ACT_RU_VARIABLE" ("BYTEARRAY_ID_")
  3726. TABLESPACE "USERS" ONLINE ;
  3727. CREATE INDEX "ACT_IDX_VAR_EXE"
  3728. ON "ACT_RU_VARIABLE" ("EXECUTION_ID_")
  3729. TABLESPACE "USERS" ONLINE ;
  3730. CREATE INDEX "ACT_IDX_VAR_PROCINST"
  3731. ON "ACT_RU_VARIABLE" ("PROC_INST_ID_")
  3732. TABLESPACE "USERS" ONLINE ;
  3733. -- ----------------------------
  3734. -- Primary Key structure for table FLW_CHANNEL_DEFINITION
  3735. -- ----------------------------
  3736. ALTER TABLE "FLW_CHANNEL_DEFINITION" ADD CONSTRAINT "PK_FLW_CHANNEL_DEFINITION" PRIMARY KEY ("ID_");
  3737. -- ----------------------------
  3738. -- Checks structure for table FLW_CHANNEL_DEFINITION
  3739. -- ----------------------------
  3740. ALTER TABLE "FLW_CHANNEL_DEFINITION" ADD CONSTRAINT "SYS_C0014296" CHECK ("ID_" IS NOT NULL) ;
  3741. -- ----------------------------
  3742. -- Indexes structure for table FLW_CHANNEL_DEFINITION
  3743. -- ----------------------------
  3744. CREATE UNIQUE INDEX "ACT_IDX_CHANNEL_DEF_UNIQ"
  3745. ON "FLW_CHANNEL_DEFINITION" ("KEY_" , "VERSION_" , "TENANT_ID_")
  3746. TABLESPACE "USERS" ONLINE;
  3747. -- ----------------------------
  3748. -- Primary Key structure for table FLW_EVENT_DEFINITION
  3749. -- ----------------------------
  3750. ALTER TABLE "FLW_EVENT_DEFINITION" ADD CONSTRAINT "PK_FLW_EVENT_DEFINITION" PRIMARY KEY ("ID_");
  3751. -- ----------------------------
  3752. -- Checks structure for table FLW_EVENT_DEFINITION
  3753. -- ----------------------------
  3754. ALTER TABLE "FLW_EVENT_DEFINITION" ADD CONSTRAINT "SYS_C0014294" CHECK ("ID_" IS NOT NULL) ;
  3755. -- ----------------------------
  3756. -- Indexes structure for table FLW_EVENT_DEFINITION
  3757. -- ----------------------------
  3758. CREATE UNIQUE INDEX "ACT_IDX_EVENT_DEF_UNIQ"
  3759. ON "FLW_EVENT_DEFINITION" ("KEY_" , "VERSION_" , "TENANT_ID_")
  3760. TABLESPACE "USERS" ONLINE;
  3761. -- ----------------------------
  3762. -- Primary Key structure for table FLW_EVENT_DEPLOYMENT
  3763. -- ----------------------------
  3764. ALTER TABLE "FLW_EVENT_DEPLOYMENT" ADD CONSTRAINT "PK_FLW_EVENT_DEPLOYMENT" PRIMARY KEY ("ID_");
  3765. -- ----------------------------
  3766. -- Checks structure for table FLW_EVENT_DEPLOYMENT
  3767. -- ----------------------------
  3768. ALTER TABLE "FLW_EVENT_DEPLOYMENT" ADD CONSTRAINT "SYS_C0014290" CHECK ("ID_" IS NOT NULL) ;
  3769. -- ----------------------------
  3770. -- Primary Key structure for table FLW_EVENT_RESOURCE
  3771. -- ----------------------------
  3772. ALTER TABLE "FLW_EVENT_RESOURCE" ADD CONSTRAINT "PK_FLW_EVENT_RESOURCE" PRIMARY KEY ("ID_");
  3773. -- ----------------------------
  3774. -- Checks structure for table FLW_EVENT_RESOURCE
  3775. -- ----------------------------
  3776. ALTER TABLE "FLW_EVENT_RESOURCE" ADD CONSTRAINT "SYS_C0014292" CHECK ("ID_" IS NOT NULL) ;
  3777. -- ----------------------------
  3778. -- Checks structure for table FLW_EV_DATABASECHANGELOG
  3779. -- ----------------------------
  3780. ALTER TABLE "FLW_EV_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0014281" CHECK ("ID" IS NOT NULL) ;
  3781. ALTER TABLE "FLW_EV_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0014282" CHECK ("AUTHOR" IS NOT NULL) ;
  3782. ALTER TABLE "FLW_EV_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0014283" CHECK ("FILENAME" IS NOT NULL) ;
  3783. ALTER TABLE "FLW_EV_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0014284" CHECK ("DATEEXECUTED" IS NOT NULL) ;
  3784. ALTER TABLE "FLW_EV_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0014285" CHECK ("ORDEREXECUTED" IS NOT NULL) ;
  3785. ALTER TABLE "FLW_EV_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0014286" CHECK ("EXECTYPE" IS NOT NULL) ;
  3786. -- ----------------------------
  3787. -- Primary Key structure for table FLW_EV_DATABASECHANGELOGLOCK
  3788. -- ----------------------------
  3789. ALTER TABLE "FLW_EV_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_FLW_EV_DATABASECHANGELOGLOC" PRIMARY KEY ("ID");
  3790. -- ----------------------------
  3791. -- Checks structure for table FLW_EV_DATABASECHANGELOGLOCK
  3792. -- ----------------------------
  3793. ALTER TABLE "FLW_EV_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0014287" CHECK ("ID" IS NOT NULL) ;
  3794. ALTER TABLE "FLW_EV_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0014288" CHECK ("LOCKED" IS NOT NULL) ;
  3795. -- ----------------------------
  3796. -- Primary Key structure for table FLW_RU_BATCH
  3797. -- ----------------------------
  3798. ALTER TABLE "FLW_RU_BATCH" ADD CONSTRAINT "SYS_C0014275" PRIMARY KEY ("ID_");
  3799. -- ----------------------------
  3800. -- Checks structure for table FLW_RU_BATCH
  3801. -- ----------------------------
  3802. ALTER TABLE "FLW_RU_BATCH" ADD CONSTRAINT "SYS_C0014272" CHECK ("ID_" IS NOT NULL) ;
  3803. ALTER TABLE "FLW_RU_BATCH" ADD CONSTRAINT "SYS_C0014273" CHECK ("TYPE_" IS NOT NULL) ;
  3804. ALTER TABLE "FLW_RU_BATCH" ADD CONSTRAINT "SYS_C0014274" CHECK ("CREATE_TIME_" IS NOT NULL) ;
  3805. -- ----------------------------
  3806. -- Primary Key structure for table FLW_RU_BATCH_PART
  3807. -- ----------------------------
  3808. ALTER TABLE "FLW_RU_BATCH_PART" ADD CONSTRAINT "SYS_C0014279" PRIMARY KEY ("ID_");
  3809. -- ----------------------------
  3810. -- Checks structure for table FLW_RU_BATCH_PART
  3811. -- ----------------------------
  3812. ALTER TABLE "FLW_RU_BATCH_PART" ADD CONSTRAINT "SYS_C0014276" CHECK ("ID_" IS NOT NULL) ;
  3813. ALTER TABLE "FLW_RU_BATCH_PART" ADD CONSTRAINT "SYS_C0014277" CHECK ("TYPE_" IS NOT NULL) ;
  3814. ALTER TABLE "FLW_RU_BATCH_PART" ADD CONSTRAINT "SYS_C0014278" CHECK ("CREATE_TIME_" IS NOT NULL) ;
  3815. -- ----------------------------
  3816. -- Indexes structure for table FLW_RU_BATCH_PART
  3817. -- ----------------------------
  3818. CREATE INDEX "FLW_IDX_BATCH_PART"
  3819. ON "FLW_RU_BATCH_PART" ("BATCH_ID_")
  3820. TABLESPACE "USERS" ONLINE;
  3821. -- ----------------------------
  3822. -- Foreign Keys structure for table ACT_APP_APPDEF
  3823. -- ----------------------------
  3824. -- ----------------------------
  3825. -- Foreign Keys structure for table ACT_APP_DEPLOYMENT_RESOURCE
  3826. -- ----------------------------
  3827. -- ----------------------------
  3828. -- Foreign Keys structure for table ACT_CMMN_CASEDEF
  3829. -- ----------------------------
  3830. -- ----------------------------
  3831. -- Foreign Keys structure for table ACT_CMMN_DEPLOYMENT_RESOURCE
  3832. -- ----------------------------
  3833. -- ----------------------------
  3834. -- Foreign Keys structure for table ACT_CMMN_RU_CASE_INST
  3835. -- ----------------------------
  3836. -- ----------------------------
  3837. -- Foreign Keys structure for table ACT_CMMN_RU_MIL_INST
  3838. -- ----------------------------
  3839. -- ----------------------------
  3840. -- Foreign Keys structure for table ACT_CMMN_RU_PLAN_ITEM_INST
  3841. -- ----------------------------
  3842. -- ----------------------------
  3843. -- Foreign Keys structure for table ACT_CMMN_RU_SENTRY_PART_INST
  3844. -- ----------------------------
  3845. -- ----------------------------
  3846. -- Foreign Keys structure for table ACT_DE_MODEL_RELATION
  3847. -- ----------------------------
  3848. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "FK_RELATION_CHILD" FOREIGN KEY ("MODEL_ID") REFERENCES "ACT_DE_MODEL" ("ID") ;
  3849. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "FK_RELATION_PARENT" FOREIGN KEY ("PARENT_MODEL_ID") REFERENCES "ACT_DE_MODEL" ("ID") ;
  3850. -- ----------------------------
  3851. -- Foreign Keys structure for table ACT_GE_BYTEARRAY
  3852. -- ----------------------------
  3853. -- ----------------------------
  3854. -- Foreign Keys structure for table ACT_ID_MEMBERSHIP
  3855. -- ----------------------------
  3856. -- ----------------------------
  3857. -- Foreign Keys structure for table ACT_ID_PRIV_MAPPING
  3858. -- ----------------------------
  3859. -- ----------------------------
  3860. -- Foreign Keys structure for table ACT_PROCDEF_INFO
  3861. -- ----------------------------
  3862. -- ----------------------------
  3863. -- Foreign Keys structure for table ACT_RE_MODEL
  3864. -- ----------------------------
  3865. -- ----------------------------
  3866. -- Foreign Keys structure for table ACT_RU_DEADLETTER_JOB
  3867. -- ----------------------------
  3868. -- ----------------------------
  3869. -- Foreign Keys structure for table ACT_RU_EVENT_SUBSCR
  3870. -- ----------------------------
  3871. -- ----------------------------
  3872. -- Foreign Keys structure for table ACT_RU_EXECUTION
  3873. -- ----------------------------
  3874. -- ----------------------------
  3875. -- Foreign Keys structure for table ACT_RU_EXTERNAL_JOB
  3876. -- ----------------------------
  3877. -- ----------------------------
  3878. -- Foreign Keys structure for table ACT_RU_IDENTITYLINK
  3879. -- ----------------------------
  3880. -- ----------------------------
  3881. -- Foreign Keys structure for table ACT_RU_JOB
  3882. -- ----------------------------
  3883. -- ----------------------------
  3884. -- Foreign Keys structure for table ACT_RU_SUSPENDED_JOB
  3885. -- ----------------------------
  3886. -- ----------------------------
  3887. -- Foreign Keys structure for table ACT_RU_TASK
  3888. -- ----------------------------
  3889. -- ----------------------------
  3890. -- Foreign Keys structure for table ACT_RU_TIMER_JOB
  3891. -- ----------------------------
  3892. -- ----------------------------
  3893. -- Foreign Keys structure for table ACT_RU_VARIABLE
  3894. -- ----------------------------
  3895. -- ----------------------------
  3896. -- Foreign Keys structure for table FLW_RU_BATCH_PART
  3897. -- ----------------------------