bladex-flowable-oracle.sql 168 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : oracle_localhost
  4. Source Server Type : Oracle
  5. Source Server Version : 110200
  6. Source Host : 127.0.0.1:1521
  7. Source Schema : BLADEX
  8. Target Server Type : Oracle
  9. Target Server Version : 110200
  10. File Encoding : 65001
  11. Date: 20/03/2022 22:00:00
  12. */
  13. -- ----------------------------
  14. -- Table structure for ACT_APP_APPDEF
  15. -- ----------------------------
  16. -- DROP TABLE "ACT_APP_APPDEF";
  17. CREATE TABLE "ACT_APP_APPDEF" (
  18. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  19. "REV_" NUMBER NOT NULL ,
  20. "NAME_" VARCHAR2(255 BYTE) ,
  21. "KEY_" VARCHAR2(255 BYTE) NOT NULL ,
  22. "VERSION_" NUMBER NOT NULL ,
  23. "CATEGORY_" VARCHAR2(255 BYTE) ,
  24. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  25. "RESOURCE_NAME_" VARCHAR2(4000 BYTE) ,
  26. "DESCRIPTION_" VARCHAR2(4000 BYTE) ,
  27. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT ''
  28. )
  29. TABLESPACE "USERS"
  30. LOGGING
  31. NOCOMPRESS
  32. PCTFREE 10
  33. INITRANS 1
  34. STORAGE (
  35. INITIAL 65536
  36. NEXT 1048576
  37. MINEXTENTS 1
  38. MAXEXTENTS 2147483645
  39. BUFFER_POOL DEFAULT
  40. )
  41. PARALLEL 1
  42. NOCACHE
  43. DISABLE ROW MOVEMENT
  44. ;
  45. -- ----------------------------
  46. -- Table structure for ACT_APP_DATABASECHANGELOG
  47. -- ----------------------------
  48. -- DROP TABLE "ACT_APP_DATABASECHANGELOG";
  49. CREATE TABLE "ACT_APP_DATABASECHANGELOG" (
  50. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  51. "AUTHOR" VARCHAR2(255 BYTE) NOT NULL ,
  52. "FILENAME" VARCHAR2(255 BYTE) NOT NULL ,
  53. "DATEEXECUTED" TIMESTAMP(6) NOT NULL ,
  54. "ORDEREXECUTED" NUMBER NOT NULL ,
  55. "EXECTYPE" VARCHAR2(10 BYTE) NOT NULL ,
  56. "MD5SUM" VARCHAR2(35 BYTE) ,
  57. "DESCRIPTION" VARCHAR2(255 BYTE) ,
  58. "COMMENTS" VARCHAR2(255 BYTE) ,
  59. "TAG" VARCHAR2(255 BYTE) ,
  60. "LIQUIBASE" VARCHAR2(20 BYTE) ,
  61. "CONTEXTS" VARCHAR2(255 BYTE) ,
  62. "LABELS" VARCHAR2(255 BYTE) ,
  63. "DEPLOYMENT_ID" VARCHAR2(10 BYTE)
  64. )
  65. TABLESPACE "USERS"
  66. LOGGING
  67. NOCOMPRESS
  68. PCTFREE 10
  69. INITRANS 1
  70. STORAGE (
  71. INITIAL 65536
  72. NEXT 1048576
  73. MINEXTENTS 1
  74. MAXEXTENTS 2147483645
  75. BUFFER_POOL DEFAULT
  76. )
  77. PARALLEL 1
  78. NOCACHE
  79. DISABLE ROW MOVEMENT
  80. ;
  81. -- ----------------------------
  82. -- Records of ACT_APP_DATABASECHANGELOG
  83. -- ----------------------------
  84. INSERT INTO "ACT_APP_DATABASECHANGELOG" 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', '8:496fc778bdf2ab13f2e1926d0e63e0a2', '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');
  85. INSERT INTO "ACT_APP_DATABASECHANGELOG" 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', '8:f1f8aff320aade831944ebad24355f3d', 'createIndex indexName=ACT_IDX_APP_DEF_UNIQ, tableName=ACT_APP_APPDEF', NULL, NULL, '3.5.3', NULL, NULL, '9500486764');
  86. COMMIT;
  87. -- ----------------------------
  88. -- Table structure for ACT_APP_DATABASECHANGELOGLOCK
  89. -- ----------------------------
  90. -- DROP TABLE "ACT_APP_DATABASECHANGELOGLOCK";
  91. CREATE TABLE "ACT_APP_DATABASECHANGELOGLOCK" (
  92. "ID" NUMBER NOT NULL ,
  93. "LOCKED" NUMBER(1) NOT NULL ,
  94. "LOCKGRANTED" TIMESTAMP(6) ,
  95. "LOCKEDBY" VARCHAR2(255 BYTE)
  96. )
  97. TABLESPACE "USERS"
  98. LOGGING
  99. NOCOMPRESS
  100. PCTFREE 10
  101. INITRANS 1
  102. STORAGE (
  103. INITIAL 65536
  104. NEXT 1048576
  105. MINEXTENTS 1
  106. MAXEXTENTS 2147483645
  107. BUFFER_POOL DEFAULT
  108. )
  109. PARALLEL 1
  110. NOCACHE
  111. DISABLE ROW MOVEMENT
  112. ;
  113. -- ----------------------------
  114. -- Records of ACT_APP_DATABASECHANGELOGLOCK
  115. -- ----------------------------
  116. INSERT INTO "ACT_APP_DATABASECHANGELOGLOCK" VALUES ('1', '0', NULL, NULL);
  117. COMMIT;
  118. -- ----------------------------
  119. -- Table structure for ACT_APP_DEPLOYMENT
  120. -- ----------------------------
  121. -- DROP TABLE "ACT_APP_DEPLOYMENT";
  122. CREATE TABLE "ACT_APP_DEPLOYMENT" (
  123. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  124. "NAME_" VARCHAR2(255 BYTE) ,
  125. "CATEGORY_" VARCHAR2(255 BYTE) ,
  126. "KEY_" VARCHAR2(255 BYTE) ,
  127. "DEPLOY_TIME_" TIMESTAMP(6) ,
  128. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT ''
  129. )
  130. TABLESPACE "USERS"
  131. LOGGING
  132. NOCOMPRESS
  133. PCTFREE 10
  134. INITRANS 1
  135. STORAGE (
  136. INITIAL 65536
  137. NEXT 1048576
  138. MINEXTENTS 1
  139. MAXEXTENTS 2147483645
  140. BUFFER_POOL DEFAULT
  141. )
  142. PARALLEL 1
  143. NOCACHE
  144. DISABLE ROW MOVEMENT
  145. ;
  146. -- ----------------------------
  147. -- Table structure for ACT_APP_DEPLOYMENT_RESOURCE
  148. -- ----------------------------
  149. -- DROP TABLE "ACT_APP_DEPLOYMENT_RESOURCE";
  150. CREATE TABLE "ACT_APP_DEPLOYMENT_RESOURCE" (
  151. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  152. "NAME_" VARCHAR2(255 BYTE) ,
  153. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  154. "RESOURCE_BYTES_" BLOB
  155. )
  156. TABLESPACE "USERS"
  157. LOGGING
  158. NOCOMPRESS
  159. PCTFREE 10
  160. INITRANS 1
  161. STORAGE (
  162. INITIAL 65536
  163. NEXT 1048576
  164. MINEXTENTS 1
  165. MAXEXTENTS 2147483645
  166. BUFFER_POOL DEFAULT
  167. )
  168. PARALLEL 1
  169. NOCACHE
  170. DISABLE ROW MOVEMENT
  171. ;
  172. -- ----------------------------
  173. -- Table structure for ACT_CMMN_CASEDEF
  174. -- ----------------------------
  175. -- DROP TABLE "ACT_CMMN_CASEDEF";
  176. CREATE TABLE "ACT_CMMN_CASEDEF" (
  177. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  178. "REV_" NUMBER NOT NULL ,
  179. "NAME_" VARCHAR2(255 BYTE) ,
  180. "KEY_" VARCHAR2(255 BYTE) NOT NULL ,
  181. "VERSION_" NUMBER NOT NULL ,
  182. "CATEGORY_" VARCHAR2(255 BYTE) ,
  183. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  184. "RESOURCE_NAME_" VARCHAR2(4000 BYTE) ,
  185. "DESCRIPTION_" VARCHAR2(4000 BYTE) ,
  186. "HAS_GRAPHICAL_NOTATION_" NUMBER(1) ,
  187. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT '' ,
  188. "DGRM_RESOURCE_NAME_" VARCHAR2(4000 BYTE) ,
  189. "HAS_START_FORM_KEY_" NUMBER(1)
  190. )
  191. TABLESPACE "USERS"
  192. LOGGING
  193. NOCOMPRESS
  194. PCTFREE 10
  195. INITRANS 1
  196. STORAGE (
  197. INITIAL 65536
  198. NEXT 1048576
  199. MINEXTENTS 1
  200. MAXEXTENTS 2147483645
  201. BUFFER_POOL DEFAULT
  202. )
  203. PARALLEL 1
  204. NOCACHE
  205. DISABLE ROW MOVEMENT
  206. ;
  207. -- ----------------------------
  208. -- Table structure for ACT_CMMN_DATABASECHANGELOG
  209. -- ----------------------------
  210. -- DROP TABLE "ACT_CMMN_DATABASECHANGELOG";
  211. CREATE TABLE "ACT_CMMN_DATABASECHANGELOG" (
  212. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  213. "AUTHOR" VARCHAR2(255 BYTE) NOT NULL ,
  214. "FILENAME" VARCHAR2(255 BYTE) NOT NULL ,
  215. "DATEEXECUTED" TIMESTAMP(6) NOT NULL ,
  216. "ORDEREXECUTED" NUMBER NOT NULL ,
  217. "EXECTYPE" VARCHAR2(10 BYTE) NOT NULL ,
  218. "MD5SUM" VARCHAR2(35 BYTE) ,
  219. "DESCRIPTION" VARCHAR2(255 BYTE) ,
  220. "COMMENTS" VARCHAR2(255 BYTE) ,
  221. "TAG" VARCHAR2(255 BYTE) ,
  222. "LIQUIBASE" VARCHAR2(20 BYTE) ,
  223. "CONTEXTS" VARCHAR2(255 BYTE) ,
  224. "LABELS" VARCHAR2(255 BYTE) ,
  225. "DEPLOYMENT_ID" VARCHAR2(10 BYTE)
  226. )
  227. TABLESPACE "USERS"
  228. LOGGING
  229. NOCOMPRESS
  230. PCTFREE 10
  231. INITRANS 1
  232. STORAGE (
  233. INITIAL 65536
  234. NEXT 1048576
  235. MINEXTENTS 1
  236. MAXEXTENTS 2147483645
  237. BUFFER_POOL DEFAULT
  238. )
  239. PARALLEL 1
  240. NOCACHE
  241. DISABLE ROW MOVEMENT
  242. ;
  243. -- ----------------------------
  244. -- Records of ACT_CMMN_DATABASECHANGELOG
  245. -- ----------------------------
  246. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" 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', '8:8b4b922d90b05ff27483abefc9597aa6', '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');
  247. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" 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', '8:65e39b3d385706bb261cbeffe7533cbe', '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');
  248. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" 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', '8:c01f6e802b49436b4489040da3012359', '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');
  249. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" 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', '8:e40d29cb79345b7fb5afd38a7f0ba8fc', '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');
  250. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" 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', '8:10e82e26a7fee94c32a92099c059c18c', 'createIndex indexName=ACT_IDX_CASE_DEF_UNIQ, tableName=ACT_CMMN_CASEDEF', NULL, NULL, '3.5.3', NULL, NULL, '9500487786');
  251. INSERT INTO "ACT_CMMN_DATABASECHANGELOG" 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', '8:530bc81a1e30618ccf4a2da1f7c6c043', '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');
  252. COMMIT;
  253. -- ----------------------------
  254. -- Table structure for ACT_CMMN_DATABASECHANGELOGLOCK
  255. -- ----------------------------
  256. -- DROP TABLE "ACT_CMMN_DATABASECHANGELOGLOCK";
  257. CREATE TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" (
  258. "ID" NUMBER NOT NULL ,
  259. "LOCKED" NUMBER(1) NOT NULL ,
  260. "LOCKGRANTED" TIMESTAMP(6) ,
  261. "LOCKEDBY" VARCHAR2(255 BYTE)
  262. )
  263. TABLESPACE "USERS"
  264. LOGGING
  265. NOCOMPRESS
  266. PCTFREE 10
  267. INITRANS 1
  268. STORAGE (
  269. INITIAL 65536
  270. NEXT 1048576
  271. MINEXTENTS 1
  272. MAXEXTENTS 2147483645
  273. BUFFER_POOL DEFAULT
  274. )
  275. PARALLEL 1
  276. NOCACHE
  277. DISABLE ROW MOVEMENT
  278. ;
  279. -- ----------------------------
  280. -- Records of ACT_CMMN_DATABASECHANGELOGLOCK
  281. -- ----------------------------
  282. INSERT INTO "ACT_CMMN_DATABASECHANGELOGLOCK" VALUES ('1', '0', NULL, NULL);
  283. COMMIT;
  284. -- ----------------------------
  285. -- Table structure for ACT_CMMN_DEPLOYMENT
  286. -- ----------------------------
  287. -- DROP TABLE "ACT_CMMN_DEPLOYMENT";
  288. CREATE TABLE "ACT_CMMN_DEPLOYMENT" (
  289. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  290. "NAME_" VARCHAR2(255 BYTE) ,
  291. "CATEGORY_" VARCHAR2(255 BYTE) ,
  292. "KEY_" VARCHAR2(255 BYTE) ,
  293. "DEPLOY_TIME_" TIMESTAMP(6) ,
  294. "PARENT_DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  295. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT ''
  296. )
  297. TABLESPACE "USERS"
  298. LOGGING
  299. NOCOMPRESS
  300. PCTFREE 10
  301. INITRANS 1
  302. STORAGE (
  303. INITIAL 65536
  304. NEXT 1048576
  305. MINEXTENTS 1
  306. MAXEXTENTS 2147483645
  307. BUFFER_POOL DEFAULT
  308. )
  309. PARALLEL 1
  310. NOCACHE
  311. DISABLE ROW MOVEMENT
  312. ;
  313. -- ----------------------------
  314. -- Table structure for ACT_CMMN_DEPLOYMENT_RESOURCE
  315. -- ----------------------------
  316. -- DROP TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE";
  317. CREATE TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE" (
  318. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  319. "NAME_" VARCHAR2(255 BYTE) ,
  320. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  321. "RESOURCE_BYTES_" BLOB ,
  322. "GENERATED_" NUMBER(1)
  323. )
  324. TABLESPACE "USERS"
  325. LOGGING
  326. NOCOMPRESS
  327. PCTFREE 10
  328. INITRANS 1
  329. STORAGE (
  330. INITIAL 65536
  331. NEXT 1048576
  332. MINEXTENTS 1
  333. MAXEXTENTS 2147483645
  334. BUFFER_POOL DEFAULT
  335. )
  336. PARALLEL 1
  337. NOCACHE
  338. DISABLE ROW MOVEMENT
  339. ;
  340. -- ----------------------------
  341. -- Table structure for ACT_CMMN_HI_CASE_INST
  342. -- ----------------------------
  343. -- DROP TABLE "ACT_CMMN_HI_CASE_INST";
  344. CREATE TABLE "ACT_CMMN_HI_CASE_INST" (
  345. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  346. "REV_" NUMBER NOT NULL ,
  347. "BUSINESS_KEY_" VARCHAR2(255 BYTE) ,
  348. "NAME_" VARCHAR2(255 BYTE) ,
  349. "PARENT_ID_" VARCHAR2(255 BYTE) ,
  350. "CASE_DEF_ID_" VARCHAR2(255 BYTE) ,
  351. "STATE_" VARCHAR2(255 BYTE) ,
  352. "START_TIME_" TIMESTAMP(6) ,
  353. "END_TIME_" TIMESTAMP(6) ,
  354. "START_USER_ID_" VARCHAR2(255 BYTE) ,
  355. "CALLBACK_ID_" VARCHAR2(255 BYTE) ,
  356. "CALLBACK_TYPE_" VARCHAR2(255 BYTE) ,
  357. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT ''
  358. )
  359. TABLESPACE "USERS"
  360. LOGGING
  361. NOCOMPRESS
  362. PCTFREE 10
  363. INITRANS 1
  364. STORAGE (
  365. INITIAL 65536
  366. NEXT 1048576
  367. MINEXTENTS 1
  368. MAXEXTENTS 2147483645
  369. BUFFER_POOL DEFAULT
  370. )
  371. PARALLEL 1
  372. NOCACHE
  373. DISABLE ROW MOVEMENT
  374. ;
  375. -- ----------------------------
  376. -- Table structure for ACT_CMMN_HI_MIL_INST
  377. -- ----------------------------
  378. -- DROP TABLE "ACT_CMMN_HI_MIL_INST";
  379. CREATE TABLE "ACT_CMMN_HI_MIL_INST" (
  380. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  381. "REV_" NUMBER NOT NULL ,
  382. "NAME_" VARCHAR2(255 BYTE) NOT NULL ,
  383. "TIME_STAMP_" TIMESTAMP(6) NOT NULL ,
  384. "CASE_INST_ID_" VARCHAR2(255 BYTE) NOT NULL ,
  385. "CASE_DEF_ID_" VARCHAR2(255 BYTE) NOT NULL ,
  386. "ELEMENT_ID_" VARCHAR2(255 BYTE) NOT NULL ,
  387. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT ''
  388. )
  389. TABLESPACE "USERS"
  390. LOGGING
  391. NOCOMPRESS
  392. PCTFREE 10
  393. INITRANS 1
  394. STORAGE (
  395. INITIAL 65536
  396. NEXT 1048576
  397. MINEXTENTS 1
  398. MAXEXTENTS 2147483645
  399. BUFFER_POOL DEFAULT
  400. )
  401. PARALLEL 1
  402. NOCACHE
  403. DISABLE ROW MOVEMENT
  404. ;
  405. -- ----------------------------
  406. -- Table structure for ACT_CMMN_HI_PLAN_ITEM_INST
  407. -- ----------------------------
  408. -- DROP TABLE "ACT_CMMN_HI_PLAN_ITEM_INST";
  409. CREATE TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" (
  410. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  411. "REV_" NUMBER NOT NULL ,
  412. "NAME_" VARCHAR2(255 BYTE) ,
  413. "STATE_" VARCHAR2(255 BYTE) ,
  414. "CASE_DEF_ID_" VARCHAR2(255 BYTE) ,
  415. "CASE_INST_ID_" VARCHAR2(255 BYTE) ,
  416. "STAGE_INST_ID_" VARCHAR2(255 BYTE) ,
  417. "IS_STAGE_" NUMBER(1) ,
  418. "ELEMENT_ID_" VARCHAR2(255 BYTE) ,
  419. "ITEM_DEFINITION_ID_" VARCHAR2(255 BYTE) ,
  420. "ITEM_DEFINITION_TYPE_" VARCHAR2(255 BYTE) ,
  421. "CREATE_TIME_" TIMESTAMP(6) ,
  422. "LAST_AVAILABLE_TIME_" TIMESTAMP(6) ,
  423. "LAST_ENABLED_TIME_" TIMESTAMP(6) ,
  424. "LAST_DISABLED_TIME_" TIMESTAMP(6) ,
  425. "LAST_STARTED_TIME_" TIMESTAMP(6) ,
  426. "LAST_SUSPENDED_TIME_" TIMESTAMP(6) ,
  427. "COMPLETED_TIME_" TIMESTAMP(6) ,
  428. "OCCURRED_TIME_" TIMESTAMP(6) ,
  429. "TERMINATED_TIME_" TIMESTAMP(6) ,
  430. "EXIT_TIME_" TIMESTAMP(6) ,
  431. "ENDED_TIME_" TIMESTAMP(6) ,
  432. "LAST_UPDATED_TIME_" TIMESTAMP(6) ,
  433. "START_USER_ID_" VARCHAR2(255 BYTE) ,
  434. "REFERENCE_ID_" VARCHAR2(255 BYTE) ,
  435. "REFERENCE_TYPE_" VARCHAR2(255 BYTE) ,
  436. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT '' ,
  437. "ENTRY_CRITERION_ID_" VARCHAR2(255 BYTE) ,
  438. "EXIT_CRITERION_ID_" VARCHAR2(255 BYTE)
  439. )
  440. TABLESPACE "USERS"
  441. LOGGING
  442. NOCOMPRESS
  443. PCTFREE 10
  444. INITRANS 1
  445. STORAGE (
  446. INITIAL 65536
  447. NEXT 1048576
  448. MINEXTENTS 1
  449. MAXEXTENTS 2147483645
  450. BUFFER_POOL DEFAULT
  451. )
  452. PARALLEL 1
  453. NOCACHE
  454. DISABLE ROW MOVEMENT
  455. ;
  456. -- ----------------------------
  457. -- Table structure for ACT_CMMN_RU_CASE_INST
  458. -- ----------------------------
  459. -- DROP TABLE "ACT_CMMN_RU_CASE_INST";
  460. CREATE TABLE "ACT_CMMN_RU_CASE_INST" (
  461. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  462. "REV_" NUMBER NOT NULL ,
  463. "BUSINESS_KEY_" VARCHAR2(255 BYTE) ,
  464. "NAME_" VARCHAR2(255 BYTE) ,
  465. "PARENT_ID_" VARCHAR2(255 BYTE) ,
  466. "CASE_DEF_ID_" VARCHAR2(255 BYTE) ,
  467. "STATE_" VARCHAR2(255 BYTE) ,
  468. "START_TIME_" TIMESTAMP(6) ,
  469. "START_USER_ID_" VARCHAR2(255 BYTE) ,
  470. "CALLBACK_ID_" VARCHAR2(255 BYTE) ,
  471. "CALLBACK_TYPE_" VARCHAR2(255 BYTE) ,
  472. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT '' ,
  473. "LOCK_TIME_" TIMESTAMP(6) ,
  474. "IS_COMPLETEABLE_" NUMBER(1)
  475. )
  476. TABLESPACE "USERS"
  477. LOGGING
  478. NOCOMPRESS
  479. PCTFREE 10
  480. INITRANS 1
  481. STORAGE (
  482. INITIAL 65536
  483. NEXT 1048576
  484. MINEXTENTS 1
  485. MAXEXTENTS 2147483645
  486. BUFFER_POOL DEFAULT
  487. )
  488. PARALLEL 1
  489. NOCACHE
  490. DISABLE ROW MOVEMENT
  491. ;
  492. -- ----------------------------
  493. -- Table structure for ACT_CMMN_RU_MIL_INST
  494. -- ----------------------------
  495. -- DROP TABLE "ACT_CMMN_RU_MIL_INST";
  496. CREATE TABLE "ACT_CMMN_RU_MIL_INST" (
  497. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  498. "NAME_" VARCHAR2(255 BYTE) NOT NULL ,
  499. "TIME_STAMP_" TIMESTAMP(6) NOT NULL ,
  500. "CASE_INST_ID_" VARCHAR2(255 BYTE) NOT NULL ,
  501. "CASE_DEF_ID_" VARCHAR2(255 BYTE) NOT NULL ,
  502. "ELEMENT_ID_" VARCHAR2(255 BYTE) NOT NULL ,
  503. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT ''
  504. )
  505. TABLESPACE "USERS"
  506. LOGGING
  507. NOCOMPRESS
  508. PCTFREE 10
  509. INITRANS 1
  510. STORAGE (
  511. INITIAL 65536
  512. NEXT 1048576
  513. MINEXTENTS 1
  514. MAXEXTENTS 2147483645
  515. BUFFER_POOL DEFAULT
  516. )
  517. PARALLEL 1
  518. NOCACHE
  519. DISABLE ROW MOVEMENT
  520. ;
  521. -- ----------------------------
  522. -- Table structure for ACT_CMMN_RU_PLAN_ITEM_INST
  523. -- ----------------------------
  524. -- DROP TABLE "ACT_CMMN_RU_PLAN_ITEM_INST";
  525. CREATE TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" (
  526. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  527. "REV_" NUMBER NOT NULL ,
  528. "CASE_DEF_ID_" VARCHAR2(255 BYTE) ,
  529. "CASE_INST_ID_" VARCHAR2(255 BYTE) ,
  530. "STAGE_INST_ID_" VARCHAR2(255 BYTE) ,
  531. "IS_STAGE_" NUMBER(1) ,
  532. "ELEMENT_ID_" VARCHAR2(255 BYTE) ,
  533. "NAME_" VARCHAR2(255 BYTE) ,
  534. "STATE_" VARCHAR2(255 BYTE) ,
  535. "CREATE_TIME_" TIMESTAMP(6) ,
  536. "START_USER_ID_" VARCHAR2(255 BYTE) ,
  537. "REFERENCE_ID_" VARCHAR2(255 BYTE) ,
  538. "REFERENCE_TYPE_" VARCHAR2(255 BYTE) ,
  539. "TENANT_ID_" VARCHAR2(255 BYTE) DEFAULT '' ,
  540. "ITEM_DEFINITION_ID_" VARCHAR2(255 BYTE) ,
  541. "ITEM_DEFINITION_TYPE_" VARCHAR2(255 BYTE) ,
  542. "IS_COMPLETEABLE_" NUMBER(1) ,
  543. "IS_COUNT_ENABLED_" NUMBER(1) ,
  544. "VAR_COUNT_" NUMBER ,
  545. "SENTRY_PART_INST_COUNT_" NUMBER ,
  546. "LAST_AVAILABLE_TIME_" TIMESTAMP(3) ,
  547. "LAST_ENABLED_TIME_" TIMESTAMP(3) ,
  548. "LAST_DISABLED_TIME_" TIMESTAMP(3) ,
  549. "LAST_STARTED_TIME_" TIMESTAMP(3) ,
  550. "LAST_SUSPENDED_TIME_" TIMESTAMP(3) ,
  551. "COMPLETED_TIME_" TIMESTAMP(3) ,
  552. "OCCURRED_TIME_" TIMESTAMP(3) ,
  553. "TERMINATED_TIME_" TIMESTAMP(3) ,
  554. "EXIT_TIME_" TIMESTAMP(3) ,
  555. "ENDED_TIME_" TIMESTAMP(3) ,
  556. "ENTRY_CRITERION_ID_" VARCHAR2(255 BYTE) ,
  557. "EXIT_CRITERION_ID_" VARCHAR2(255 BYTE)
  558. )
  559. TABLESPACE "USERS"
  560. LOGGING
  561. NOCOMPRESS
  562. PCTFREE 10
  563. INITRANS 1
  564. STORAGE (
  565. INITIAL 65536
  566. NEXT 1048576
  567. MINEXTENTS 1
  568. MAXEXTENTS 2147483645
  569. BUFFER_POOL DEFAULT
  570. )
  571. PARALLEL 1
  572. NOCACHE
  573. DISABLE ROW MOVEMENT
  574. ;
  575. -- ----------------------------
  576. -- Table structure for ACT_CMMN_RU_SENTRY_PART_INST
  577. -- ----------------------------
  578. -- DROP TABLE "ACT_CMMN_RU_SENTRY_PART_INST";
  579. CREATE TABLE "ACT_CMMN_RU_SENTRY_PART_INST" (
  580. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  581. "REV_" NUMBER NOT NULL ,
  582. "CASE_DEF_ID_" VARCHAR2(255 BYTE) ,
  583. "CASE_INST_ID_" VARCHAR2(255 BYTE) ,
  584. "PLAN_ITEM_INST_ID_" VARCHAR2(255 BYTE) ,
  585. "ON_PART_ID_" VARCHAR2(255 BYTE) ,
  586. "IF_PART_ID_" VARCHAR2(255 BYTE) ,
  587. "TIME_STAMP_" TIMESTAMP(6)
  588. )
  589. TABLESPACE "USERS"
  590. LOGGING
  591. NOCOMPRESS
  592. PCTFREE 10
  593. INITRANS 1
  594. STORAGE (
  595. INITIAL 65536
  596. NEXT 1048576
  597. MINEXTENTS 1
  598. MAXEXTENTS 2147483645
  599. BUFFER_POOL DEFAULT
  600. )
  601. PARALLEL 1
  602. NOCACHE
  603. DISABLE ROW MOVEMENT
  604. ;
  605. -- ----------------------------
  606. -- Table structure for ACT_CO_CONTENT_ITEM
  607. -- ----------------------------
  608. -- DROP TABLE "ACT_CO_CONTENT_ITEM";
  609. CREATE TABLE "ACT_CO_CONTENT_ITEM" (
  610. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  611. "NAME_" VARCHAR2(255 BYTE) NOT NULL ,
  612. "MIME_TYPE_" VARCHAR2(255 BYTE) ,
  613. "TASK_ID_" VARCHAR2(255 BYTE) ,
  614. "PROC_INST_ID_" VARCHAR2(255 BYTE) ,
  615. "CONTENT_STORE_ID_" VARCHAR2(255 BYTE) ,
  616. "CONTENT_STORE_NAME_" VARCHAR2(255 BYTE) ,
  617. "FIELD_" VARCHAR2(400 BYTE) ,
  618. "CONTENT_AVAILABLE_" NUMBER(1) DEFAULT 0 ,
  619. "CREATED_" TIMESTAMP(6) ,
  620. "CREATED_BY_" VARCHAR2(255 BYTE) ,
  621. "LAST_MODIFIED_" TIMESTAMP(6) ,
  622. "LAST_MODIFIED_BY_" VARCHAR2(255 BYTE) ,
  623. "CONTENT_SIZE_" NUMBER(38) DEFAULT 0 ,
  624. "TENANT_ID_" VARCHAR2(255 BYTE) ,
  625. "SCOPE_ID_" VARCHAR2(255 BYTE) ,
  626. "SCOPE_TYPE_" VARCHAR2(255 BYTE)
  627. )
  628. TABLESPACE "USERS"
  629. LOGGING
  630. NOCOMPRESS
  631. PCTFREE 10
  632. INITRANS 1
  633. STORAGE (
  634. INITIAL 65536
  635. NEXT 1048576
  636. MINEXTENTS 1
  637. MAXEXTENTS 2147483645
  638. BUFFER_POOL DEFAULT
  639. )
  640. PARALLEL 1
  641. NOCACHE
  642. DISABLE ROW MOVEMENT
  643. ;
  644. -- ----------------------------
  645. -- Table structure for ACT_CO_DATABASECHANGELOG
  646. -- ----------------------------
  647. -- DROP TABLE "ACT_CO_DATABASECHANGELOG";
  648. CREATE TABLE "ACT_CO_DATABASECHANGELOG" (
  649. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  650. "AUTHOR" VARCHAR2(255 BYTE) NOT NULL ,
  651. "FILENAME" VARCHAR2(255 BYTE) NOT NULL ,
  652. "DATEEXECUTED" TIMESTAMP(6) NOT NULL ,
  653. "ORDEREXECUTED" NUMBER NOT NULL ,
  654. "EXECTYPE" VARCHAR2(10 BYTE) NOT NULL ,
  655. "MD5SUM" VARCHAR2(35 BYTE) ,
  656. "DESCRIPTION" VARCHAR2(255 BYTE) ,
  657. "COMMENTS" VARCHAR2(255 BYTE) ,
  658. "TAG" VARCHAR2(255 BYTE) ,
  659. "LIQUIBASE" VARCHAR2(20 BYTE) ,
  660. "CONTEXTS" VARCHAR2(255 BYTE) ,
  661. "LABELS" VARCHAR2(255 BYTE) ,
  662. "DEPLOYMENT_ID" VARCHAR2(10 BYTE)
  663. )
  664. TABLESPACE "USERS"
  665. LOGGING
  666. NOCOMPRESS
  667. PCTFREE 10
  668. INITRANS 1
  669. STORAGE (
  670. INITIAL 65536
  671. NEXT 1048576
  672. MINEXTENTS 1
  673. MAXEXTENTS 2147483645
  674. BUFFER_POOL DEFAULT
  675. )
  676. PARALLEL 1
  677. NOCACHE
  678. DISABLE ROW MOVEMENT
  679. ;
  680. -- ----------------------------
  681. -- Records of ACT_CO_DATABASECHANGELOG
  682. -- ----------------------------
  683. INSERT INTO "ACT_CO_DATABASECHANGELOG" 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');
  684. INSERT INTO "ACT_CO_DATABASECHANGELOG" 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');
  685. COMMIT;
  686. -- ----------------------------
  687. -- Table structure for ACT_CO_DATABASECHANGELOGLOCK
  688. -- ----------------------------
  689. -- DROP TABLE "ACT_CO_DATABASECHANGELOGLOCK";
  690. CREATE TABLE "ACT_CO_DATABASECHANGELOGLOCK" (
  691. "ID" NUMBER NOT NULL ,
  692. "LOCKED" NUMBER(1) NOT NULL ,
  693. "LOCKGRANTED" TIMESTAMP(6) ,
  694. "LOCKEDBY" VARCHAR2(255 BYTE)
  695. )
  696. TABLESPACE "USERS"
  697. LOGGING
  698. NOCOMPRESS
  699. PCTFREE 10
  700. INITRANS 1
  701. STORAGE (
  702. INITIAL 65536
  703. NEXT 1048576
  704. MINEXTENTS 1
  705. MAXEXTENTS 2147483645
  706. BUFFER_POOL DEFAULT
  707. )
  708. PARALLEL 1
  709. NOCACHE
  710. DISABLE ROW MOVEMENT
  711. ;
  712. -- ----------------------------
  713. -- Records of ACT_CO_DATABASECHANGELOGLOCK
  714. -- ----------------------------
  715. INSERT INTO "ACT_CO_DATABASECHANGELOGLOCK" VALUES ('1', '0', NULL, NULL);
  716. COMMIT;
  717. -- ----------------------------
  718. -- Table structure for ACT_DE_DATABASECHANGELOG
  719. -- ----------------------------
  720. -- DROP TABLE "ACT_DE_DATABASECHANGELOG";
  721. CREATE TABLE "ACT_DE_DATABASECHANGELOG" (
  722. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  723. "AUTHOR" VARCHAR2(255 BYTE) NOT NULL ,
  724. "FILENAME" VARCHAR2(255 BYTE) NOT NULL ,
  725. "DATEEXECUTED" TIMESTAMP(6) NOT NULL ,
  726. "ORDEREXECUTED" NUMBER NOT NULL ,
  727. "EXECTYPE" VARCHAR2(10 BYTE) NOT NULL ,
  728. "MD5SUM" VARCHAR2(35 BYTE) ,
  729. "DESCRIPTION" VARCHAR2(255 BYTE) ,
  730. "COMMENTS" VARCHAR2(255 BYTE) ,
  731. "TAG" VARCHAR2(255 BYTE) ,
  732. "LIQUIBASE" VARCHAR2(20 BYTE) ,
  733. "CONTEXTS" VARCHAR2(255 BYTE) ,
  734. "LABELS" VARCHAR2(255 BYTE) ,
  735. "DEPLOYMENT_ID" VARCHAR2(10 BYTE)
  736. )
  737. TABLESPACE "USERS"
  738. LOGGING
  739. NOCOMPRESS
  740. PCTFREE 10
  741. INITRANS 1
  742. STORAGE (
  743. INITIAL 65536
  744. NEXT 1048576
  745. MINEXTENTS 1
  746. MAXEXTENTS 2147483645
  747. BUFFER_POOL DEFAULT
  748. )
  749. PARALLEL 1
  750. NOCACHE
  751. DISABLE ROW MOVEMENT
  752. ;
  753. -- ----------------------------
  754. -- Records of ACT_DE_DATABASECHANGELOG
  755. -- ----------------------------
  756. INSERT INTO "ACT_DE_DATABASECHANGELOG" 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');
  757. INSERT INTO "ACT_DE_DATABASECHANGELOG" 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');
  758. COMMIT;
  759. -- ----------------------------
  760. -- Table structure for ACT_DE_DATABASECHANGELOGLOCK
  761. -- ----------------------------
  762. -- DROP TABLE "ACT_DE_DATABASECHANGELOGLOCK";
  763. CREATE TABLE "ACT_DE_DATABASECHANGELOGLOCK" (
  764. "ID" NUMBER NOT NULL ,
  765. "LOCKED" NUMBER(1) NOT NULL ,
  766. "LOCKGRANTED" TIMESTAMP(6) ,
  767. "LOCKEDBY" VARCHAR2(255 BYTE)
  768. )
  769. TABLESPACE "USERS"
  770. LOGGING
  771. NOCOMPRESS
  772. PCTFREE 10
  773. INITRANS 1
  774. STORAGE (
  775. INITIAL 65536
  776. NEXT 1048576
  777. MINEXTENTS 1
  778. MAXEXTENTS 2147483645
  779. BUFFER_POOL DEFAULT
  780. )
  781. PARALLEL 1
  782. NOCACHE
  783. DISABLE ROW MOVEMENT
  784. ;
  785. -- ----------------------------
  786. -- Records of ACT_DE_DATABASECHANGELOGLOCK
  787. -- ----------------------------
  788. INSERT INTO "ACT_DE_DATABASECHANGELOGLOCK" VALUES ('1', '0', NULL, NULL);
  789. COMMIT;
  790. -- ----------------------------
  791. -- Table structure for ACT_DE_MODEL
  792. -- ----------------------------
  793. -- DROP TABLE "ACT_DE_MODEL";
  794. CREATE TABLE "ACT_DE_MODEL" (
  795. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  796. "NAME" VARCHAR2(400 BYTE) NOT NULL ,
  797. "MODEL_KEY" VARCHAR2(400 BYTE) NOT NULL ,
  798. "DESCRIPTION" VARCHAR2(4000 BYTE) ,
  799. "MODEL_COMMENT" VARCHAR2(4000 BYTE) ,
  800. "CREATED" TIMESTAMP(6) ,
  801. "CREATED_BY" VARCHAR2(255 BYTE) ,
  802. "LAST_UPDATED" TIMESTAMP(6) ,
  803. "LAST_UPDATED_BY" VARCHAR2(255 BYTE) ,
  804. "VERSION" NUMBER ,
  805. "MODEL_EDITOR_JSON" CLOB ,
  806. "MODEL_EDITOR_XML" CLOB ,
  807. "THUMBNAIL" BLOB ,
  808. "MODEL_TYPE" NUMBER ,
  809. "TENANT_ID" VARCHAR2(255 BYTE)
  810. )
  811. TABLESPACE "USERS"
  812. LOGGING
  813. NOCOMPRESS
  814. PCTFREE 10
  815. INITRANS 1
  816. STORAGE (
  817. INITIAL 65536
  818. NEXT 1048576
  819. MINEXTENTS 1
  820. MAXEXTENTS 2147483645
  821. BUFFER_POOL DEFAULT
  822. )
  823. PARALLEL 1
  824. NOCACHE
  825. DISABLE ROW MOVEMENT
  826. ;
  827. -- ----------------------------
  828. -- Table structure for ACT_DE_MODEL_HISTORY
  829. -- ----------------------------
  830. -- DROP TABLE "ACT_DE_MODEL_HISTORY";
  831. CREATE TABLE "ACT_DE_MODEL_HISTORY" (
  832. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  833. "NAME" VARCHAR2(400 BYTE) NOT NULL ,
  834. "MODEL_KEY" VARCHAR2(400 BYTE) NOT NULL ,
  835. "DESCRIPTION" VARCHAR2(4000 BYTE) ,
  836. "MODEL_COMMENT" VARCHAR2(4000 BYTE) ,
  837. "CREATED" TIMESTAMP(6) ,
  838. "CREATED_BY" VARCHAR2(255 BYTE) ,
  839. "LAST_UPDATED" TIMESTAMP(6) ,
  840. "LAST_UPDATED_BY" VARCHAR2(255 BYTE) ,
  841. "REMOVAL_DATE" TIMESTAMP(6) ,
  842. "VERSION" NUMBER ,
  843. "MODEL_EDITOR_JSON" CLOB ,
  844. "MODEL_ID" VARCHAR2(255 BYTE) NOT NULL ,
  845. "MODEL_TYPE" NUMBER ,
  846. "TENANT_ID" VARCHAR2(255 BYTE)
  847. )
  848. TABLESPACE "USERS"
  849. LOGGING
  850. NOCOMPRESS
  851. PCTFREE 10
  852. INITRANS 1
  853. STORAGE (
  854. INITIAL 65536
  855. NEXT 1048576
  856. MINEXTENTS 1
  857. MAXEXTENTS 2147483645
  858. BUFFER_POOL DEFAULT
  859. )
  860. PARALLEL 1
  861. NOCACHE
  862. DISABLE ROW MOVEMENT
  863. ;
  864. -- ----------------------------
  865. -- Table structure for ACT_DE_MODEL_RELATION
  866. -- ----------------------------
  867. -- DROP TABLE "ACT_DE_MODEL_RELATION";
  868. CREATE TABLE "ACT_DE_MODEL_RELATION" (
  869. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  870. "PARENT_MODEL_ID" VARCHAR2(255 BYTE) ,
  871. "MODEL_ID" VARCHAR2(255 BYTE) ,
  872. "RELATION_TYPE" VARCHAR2(255 BYTE)
  873. )
  874. TABLESPACE "USERS"
  875. LOGGING
  876. NOCOMPRESS
  877. PCTFREE 10
  878. INITRANS 1
  879. STORAGE (
  880. INITIAL 65536
  881. NEXT 1048576
  882. MINEXTENTS 1
  883. MAXEXTENTS 2147483645
  884. BUFFER_POOL DEFAULT
  885. )
  886. PARALLEL 1
  887. NOCACHE
  888. DISABLE ROW MOVEMENT
  889. ;
  890. -- ----------------------------
  891. -- Table structure for ACT_DMN_DATABASECHANGELOG
  892. -- ----------------------------
  893. -- DROP TABLE "ACT_DMN_DATABASECHANGELOG";
  894. CREATE TABLE "ACT_DMN_DATABASECHANGELOG" (
  895. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  896. "AUTHOR" VARCHAR2(255 BYTE) NOT NULL ,
  897. "FILENAME" VARCHAR2(255 BYTE) NOT NULL ,
  898. "DATEEXECUTED" TIMESTAMP(6) NOT NULL ,
  899. "ORDEREXECUTED" NUMBER NOT NULL ,
  900. "EXECTYPE" VARCHAR2(10 BYTE) NOT NULL ,
  901. "MD5SUM" VARCHAR2(35 BYTE) ,
  902. "DESCRIPTION" VARCHAR2(255 BYTE) ,
  903. "COMMENTS" VARCHAR2(255 BYTE) ,
  904. "TAG" VARCHAR2(255 BYTE) ,
  905. "LIQUIBASE" VARCHAR2(20 BYTE) ,
  906. "CONTEXTS" VARCHAR2(255 BYTE) ,
  907. "LABELS" VARCHAR2(255 BYTE) ,
  908. "DEPLOYMENT_ID" VARCHAR2(10 BYTE)
  909. )
  910. TABLESPACE "USERS"
  911. LOGGING
  912. NOCOMPRESS
  913. PCTFREE 10
  914. INITRANS 1
  915. STORAGE (
  916. INITIAL 65536
  917. NEXT 1048576
  918. MINEXTENTS 1
  919. MAXEXTENTS 2147483645
  920. BUFFER_POOL DEFAULT
  921. )
  922. PARALLEL 1
  923. NOCACHE
  924. DISABLE ROW MOVEMENT
  925. ;
  926. -- ----------------------------
  927. -- Records of ACT_DMN_DATABASECHANGELOG
  928. -- ----------------------------
  929. INSERT INTO "ACT_DMN_DATABASECHANGELOG" 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', '8:c8701f1c71018b55029f450b2e9a10a1', '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');
  930. INSERT INTO "ACT_DMN_DATABASECHANGELOG" 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', '8:47f94b27feb7df8a30d4e338c7bd5fb8', 'createTable tableName=ACT_DMN_HI_DECISION_EXECUTION', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  931. INSERT INTO "ACT_DMN_DATABASECHANGELOG" 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', '8:ac17eae89fbdccb6e08daf3c7797b579', 'addColumn tableName=ACT_DMN_HI_DECISION_EXECUTION', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  932. INSERT INTO "ACT_DMN_DATABASECHANGELOG" 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', '8:f73aabc4529e7292c2942073d1cff6f9', 'dropColumn columnName=PARENT_DEPLOYMENT_ID_, tableName=ACT_DMN_DECISION_TABLE', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  933. INSERT INTO "ACT_DMN_DATABASECHANGELOG" 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', '8:646c6a061e0b6e8a62e69844ff96abb0', 'createIndex indexName=ACT_IDX_DEC_TBL_UNIQ, tableName=ACT_DMN_DECISION_TABLE', NULL, NULL, '3.5.3', NULL, NULL, '9500490105');
  934. COMMIT;
  935. -- ----------------------------
  936. -- Table structure for ACT_DMN_DATABASECHANGELOGLOCK
  937. -- ----------------------------
  938. -- DROP TABLE "ACT_DMN_DATABASECHANGELOGLOCK";
  939. CREATE TABLE "ACT_DMN_DATABASECHANGELOGLOCK" (
  940. "ID" NUMBER NOT NULL ,
  941. "LOCKED" NUMBER(1) NOT NULL ,
  942. "LOCKGRANTED" TIMESTAMP(6) ,
  943. "LOCKEDBY" VARCHAR2(255 BYTE)
  944. )
  945. TABLESPACE "USERS"
  946. LOGGING
  947. NOCOMPRESS
  948. PCTFREE 10
  949. INITRANS 1
  950. STORAGE (
  951. INITIAL 65536
  952. NEXT 1048576
  953. MINEXTENTS 1
  954. MAXEXTENTS 2147483645
  955. BUFFER_POOL DEFAULT
  956. )
  957. PARALLEL 1
  958. NOCACHE
  959. DISABLE ROW MOVEMENT
  960. ;
  961. -- ----------------------------
  962. -- Records of ACT_DMN_DATABASECHANGELOGLOCK
  963. -- ----------------------------
  964. INSERT INTO "ACT_DMN_DATABASECHANGELOGLOCK" VALUES ('1', '0', NULL, NULL);
  965. COMMIT;
  966. -- ----------------------------
  967. -- Table structure for ACT_DMN_DECISION_TABLE
  968. -- ----------------------------
  969. -- DROP TABLE "ACT_DMN_DECISION_TABLE";
  970. CREATE TABLE "ACT_DMN_DECISION_TABLE" (
  971. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  972. "NAME_" VARCHAR2(255 BYTE) ,
  973. "VERSION_" NUMBER ,
  974. "KEY_" VARCHAR2(255 BYTE) ,
  975. "CATEGORY_" VARCHAR2(255 BYTE) ,
  976. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  977. "TENANT_ID_" VARCHAR2(255 BYTE) ,
  978. "RESOURCE_NAME_" VARCHAR2(255 BYTE) ,
  979. "DESCRIPTION_" VARCHAR2(255 BYTE)
  980. )
  981. TABLESPACE "USERS"
  982. LOGGING
  983. NOCOMPRESS
  984. PCTFREE 10
  985. INITRANS 1
  986. STORAGE (
  987. INITIAL 65536
  988. NEXT 1048576
  989. MINEXTENTS 1
  990. MAXEXTENTS 2147483645
  991. BUFFER_POOL DEFAULT
  992. )
  993. PARALLEL 1
  994. NOCACHE
  995. DISABLE ROW MOVEMENT
  996. ;
  997. -- ----------------------------
  998. -- Table structure for ACT_DMN_DEPLOYMENT
  999. -- ----------------------------
  1000. -- DROP TABLE "ACT_DMN_DEPLOYMENT";
  1001. CREATE TABLE "ACT_DMN_DEPLOYMENT" (
  1002. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  1003. "NAME_" VARCHAR2(255 BYTE) ,
  1004. "CATEGORY_" VARCHAR2(255 BYTE) ,
  1005. "DEPLOY_TIME_" TIMESTAMP(6) ,
  1006. "TENANT_ID_" VARCHAR2(255 BYTE) ,
  1007. "PARENT_DEPLOYMENT_ID_" VARCHAR2(255 BYTE)
  1008. )
  1009. TABLESPACE "USERS"
  1010. LOGGING
  1011. NOCOMPRESS
  1012. PCTFREE 10
  1013. INITRANS 1
  1014. STORAGE (
  1015. INITIAL 65536
  1016. NEXT 1048576
  1017. MINEXTENTS 1
  1018. MAXEXTENTS 2147483645
  1019. BUFFER_POOL DEFAULT
  1020. )
  1021. PARALLEL 1
  1022. NOCACHE
  1023. DISABLE ROW MOVEMENT
  1024. ;
  1025. -- ----------------------------
  1026. -- Table structure for ACT_DMN_DEPLOYMENT_RESOURCE
  1027. -- ----------------------------
  1028. -- DROP TABLE "ACT_DMN_DEPLOYMENT_RESOURCE";
  1029. CREATE TABLE "ACT_DMN_DEPLOYMENT_RESOURCE" (
  1030. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  1031. "NAME_" VARCHAR2(255 BYTE) ,
  1032. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  1033. "RESOURCE_BYTES_" BLOB
  1034. )
  1035. TABLESPACE "USERS"
  1036. LOGGING
  1037. NOCOMPRESS
  1038. PCTFREE 10
  1039. INITRANS 1
  1040. STORAGE (
  1041. INITIAL 65536
  1042. NEXT 1048576
  1043. MINEXTENTS 1
  1044. MAXEXTENTS 2147483645
  1045. BUFFER_POOL DEFAULT
  1046. )
  1047. PARALLEL 1
  1048. NOCACHE
  1049. DISABLE ROW MOVEMENT
  1050. ;
  1051. -- ----------------------------
  1052. -- Table structure for ACT_DMN_HI_DECISION_EXECUTION
  1053. -- ----------------------------
  1054. -- DROP TABLE "ACT_DMN_HI_DECISION_EXECUTION";
  1055. CREATE TABLE "ACT_DMN_HI_DECISION_EXECUTION" (
  1056. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  1057. "DECISION_DEFINITION_ID_" VARCHAR2(255 BYTE) ,
  1058. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  1059. "START_TIME_" TIMESTAMP(6) ,
  1060. "END_TIME_" TIMESTAMP(6) ,
  1061. "INSTANCE_ID_" VARCHAR2(255 BYTE) ,
  1062. "EXECUTION_ID_" VARCHAR2(255 BYTE) ,
  1063. "ACTIVITY_ID_" VARCHAR2(255 BYTE) ,
  1064. "FAILED_" NUMBER(1) DEFAULT 0 ,
  1065. "TENANT_ID_" VARCHAR2(255 BYTE) ,
  1066. "EXECUTION_JSON_" CLOB ,
  1067. "SCOPE_TYPE_" VARCHAR2(255 BYTE)
  1068. )
  1069. TABLESPACE "USERS"
  1070. LOGGING
  1071. NOCOMPRESS
  1072. PCTFREE 10
  1073. INITRANS 1
  1074. STORAGE (
  1075. INITIAL 65536
  1076. NEXT 1048576
  1077. MINEXTENTS 1
  1078. MAXEXTENTS 2147483645
  1079. BUFFER_POOL DEFAULT
  1080. )
  1081. PARALLEL 1
  1082. NOCACHE
  1083. DISABLE ROW MOVEMENT
  1084. ;
  1085. -- ----------------------------
  1086. -- Table structure for ACT_EVT_LOG
  1087. -- ----------------------------
  1088. -- DROP TABLE "ACT_EVT_LOG";
  1089. CREATE TABLE "ACT_EVT_LOG" (
  1090. "LOG_NR_" NUMBER(19) NOT NULL ,
  1091. "TYPE_" NVARCHAR2(64) ,
  1092. "PROC_DEF_ID_" NVARCHAR2(64) ,
  1093. "PROC_INST_ID_" NVARCHAR2(64) ,
  1094. "EXECUTION_ID_" NVARCHAR2(64) ,
  1095. "TASK_ID_" NVARCHAR2(64) ,
  1096. "TIME_STAMP_" TIMESTAMP(6) NOT NULL ,
  1097. "USER_ID_" NVARCHAR2(255) ,
  1098. "DATA_" BLOB ,
  1099. "LOCK_OWNER_" NVARCHAR2(255) ,
  1100. "LOCK_TIME_" TIMESTAMP(6) ,
  1101. "IS_PROCESSED_" NUMBER(3) DEFAULT 0
  1102. )
  1103. TABLESPACE "USERS"
  1104. LOGGING
  1105. NOCOMPRESS
  1106. PCTFREE 10
  1107. INITRANS 1
  1108. STORAGE (
  1109. INITIAL 65536
  1110. NEXT 1048576
  1111. MINEXTENTS 1
  1112. MAXEXTENTS 2147483645
  1113. BUFFER_POOL DEFAULT
  1114. )
  1115. PARALLEL 1
  1116. NOCACHE
  1117. DISABLE ROW MOVEMENT
  1118. ;
  1119. -- ----------------------------
  1120. -- Table structure for ACT_FO_DATABASECHANGELOG
  1121. -- ----------------------------
  1122. -- DROP TABLE "ACT_FO_DATABASECHANGELOG";
  1123. CREATE TABLE "ACT_FO_DATABASECHANGELOG" (
  1124. "ID" VARCHAR2(255 BYTE) NOT NULL ,
  1125. "AUTHOR" VARCHAR2(255 BYTE) NOT NULL ,
  1126. "FILENAME" VARCHAR2(255 BYTE) NOT NULL ,
  1127. "DATEEXECUTED" TIMESTAMP(6) NOT NULL ,
  1128. "ORDEREXECUTED" NUMBER NOT NULL ,
  1129. "EXECTYPE" VARCHAR2(10 BYTE) NOT NULL ,
  1130. "MD5SUM" VARCHAR2(35 BYTE) ,
  1131. "DESCRIPTION" VARCHAR2(255 BYTE) ,
  1132. "COMMENTS" VARCHAR2(255 BYTE) ,
  1133. "TAG" VARCHAR2(255 BYTE) ,
  1134. "LIQUIBASE" VARCHAR2(20 BYTE) ,
  1135. "CONTEXTS" VARCHAR2(255 BYTE) ,
  1136. "LABELS" VARCHAR2(255 BYTE) ,
  1137. "DEPLOYMENT_ID" VARCHAR2(10 BYTE)
  1138. )
  1139. TABLESPACE "USERS"
  1140. LOGGING
  1141. NOCOMPRESS
  1142. PCTFREE 10
  1143. INITRANS 1
  1144. STORAGE (
  1145. INITIAL 65536
  1146. NEXT 1048576
  1147. MINEXTENTS 1
  1148. MAXEXTENTS 2147483645
  1149. BUFFER_POOL DEFAULT
  1150. )
  1151. PARALLEL 1
  1152. NOCACHE
  1153. DISABLE ROW MOVEMENT
  1154. ;
  1155. -- ----------------------------
  1156. -- Records of ACT_FO_DATABASECHANGELOG
  1157. -- ----------------------------
  1158. INSERT INTO "ACT_FO_DATABASECHANGELOG" 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');
  1159. INSERT INTO "ACT_FO_DATABASECHANGELOG" 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');
  1160. INSERT INTO "ACT_FO_DATABASECHANGELOG" 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');
  1161. INSERT INTO "ACT_FO_DATABASECHANGELOG" 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');
  1162. COMMIT;
  1163. -- ----------------------------
  1164. -- Table structure for ACT_FO_DATABASECHANGELOGLOCK
  1165. -- ----------------------------
  1166. -- DROP TABLE "ACT_FO_DATABASECHANGELOGLOCK";
  1167. CREATE TABLE "ACT_FO_DATABASECHANGELOGLOCK" (
  1168. "ID" NUMBER NOT NULL ,
  1169. "LOCKED" NUMBER(1) NOT NULL ,
  1170. "LOCKGRANTED" TIMESTAMP(6) ,
  1171. "LOCKEDBY" VARCHAR2(255 BYTE)
  1172. )
  1173. TABLESPACE "USERS"
  1174. LOGGING
  1175. NOCOMPRESS
  1176. PCTFREE 10
  1177. INITRANS 1
  1178. STORAGE (
  1179. INITIAL 65536
  1180. NEXT 1048576
  1181. MINEXTENTS 1
  1182. MAXEXTENTS 2147483645
  1183. BUFFER_POOL DEFAULT
  1184. )
  1185. PARALLEL 1
  1186. NOCACHE
  1187. DISABLE ROW MOVEMENT
  1188. ;
  1189. -- ----------------------------
  1190. -- Records of ACT_FO_DATABASECHANGELOGLOCK
  1191. -- ----------------------------
  1192. INSERT INTO "ACT_FO_DATABASECHANGELOGLOCK" VALUES ('1', '0', NULL, NULL);
  1193. COMMIT;
  1194. -- ----------------------------
  1195. -- Table structure for ACT_FO_FORM_DEFINITION
  1196. -- ----------------------------
  1197. -- DROP TABLE "ACT_FO_FORM_DEFINITION";
  1198. CREATE TABLE "ACT_FO_FORM_DEFINITION" (
  1199. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  1200. "NAME_" VARCHAR2(255 BYTE) ,
  1201. "VERSION_" NUMBER ,
  1202. "KEY_" VARCHAR2(255 BYTE) ,
  1203. "CATEGORY_" VARCHAR2(255 BYTE) ,
  1204. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  1205. "TENANT_ID_" VARCHAR2(255 BYTE) ,
  1206. "RESOURCE_NAME_" VARCHAR2(255 BYTE) ,
  1207. "DESCRIPTION_" VARCHAR2(255 BYTE)
  1208. )
  1209. TABLESPACE "USERS"
  1210. LOGGING
  1211. NOCOMPRESS
  1212. PCTFREE 10
  1213. INITRANS 1
  1214. STORAGE (
  1215. INITIAL 65536
  1216. NEXT 1048576
  1217. MINEXTENTS 1
  1218. MAXEXTENTS 2147483645
  1219. BUFFER_POOL DEFAULT
  1220. )
  1221. PARALLEL 1
  1222. NOCACHE
  1223. DISABLE ROW MOVEMENT
  1224. ;
  1225. -- ----------------------------
  1226. -- Table structure for ACT_FO_FORM_DEPLOYMENT
  1227. -- ----------------------------
  1228. -- DROP TABLE "ACT_FO_FORM_DEPLOYMENT";
  1229. CREATE TABLE "ACT_FO_FORM_DEPLOYMENT" (
  1230. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  1231. "NAME_" VARCHAR2(255 BYTE) ,
  1232. "CATEGORY_" VARCHAR2(255 BYTE) ,
  1233. "DEPLOY_TIME_" TIMESTAMP(6) ,
  1234. "TENANT_ID_" VARCHAR2(255 BYTE) ,
  1235. "PARENT_DEPLOYMENT_ID_" VARCHAR2(255 BYTE)
  1236. )
  1237. TABLESPACE "USERS"
  1238. LOGGING
  1239. NOCOMPRESS
  1240. PCTFREE 10
  1241. INITRANS 1
  1242. STORAGE (
  1243. INITIAL 65536
  1244. NEXT 1048576
  1245. MINEXTENTS 1
  1246. MAXEXTENTS 2147483645
  1247. BUFFER_POOL DEFAULT
  1248. )
  1249. PARALLEL 1
  1250. NOCACHE
  1251. DISABLE ROW MOVEMENT
  1252. ;
  1253. -- ----------------------------
  1254. -- Table structure for ACT_FO_FORM_INSTANCE
  1255. -- ----------------------------
  1256. -- DROP TABLE "ACT_FO_FORM_INSTANCE";
  1257. CREATE TABLE "ACT_FO_FORM_INSTANCE" (
  1258. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  1259. "FORM_DEFINITION_ID_" VARCHAR2(255 BYTE) NOT NULL ,
  1260. "TASK_ID_" VARCHAR2(255 BYTE) ,
  1261. "PROC_INST_ID_" VARCHAR2(255 BYTE) ,
  1262. "PROC_DEF_ID_" VARCHAR2(255 BYTE) ,
  1263. "SUBMITTED_DATE_" TIMESTAMP(6) ,
  1264. "SUBMITTED_BY_" VARCHAR2(255 BYTE) ,
  1265. "FORM_VALUES_ID_" VARCHAR2(255 BYTE) ,
  1266. "TENANT_ID_" VARCHAR2(255 BYTE) ,
  1267. "SCOPE_ID_" VARCHAR2(255 BYTE) ,
  1268. "SCOPE_TYPE_" VARCHAR2(255 BYTE) ,
  1269. "SCOPE_DEFINITION_ID_" VARCHAR2(255 BYTE)
  1270. )
  1271. TABLESPACE "USERS"
  1272. LOGGING
  1273. NOCOMPRESS
  1274. PCTFREE 10
  1275. INITRANS 1
  1276. STORAGE (
  1277. INITIAL 65536
  1278. NEXT 1048576
  1279. MINEXTENTS 1
  1280. MAXEXTENTS 2147483645
  1281. BUFFER_POOL DEFAULT
  1282. )
  1283. PARALLEL 1
  1284. NOCACHE
  1285. DISABLE ROW MOVEMENT
  1286. ;
  1287. -- ----------------------------
  1288. -- Table structure for ACT_FO_FORM_RESOURCE
  1289. -- ----------------------------
  1290. -- DROP TABLE "ACT_FO_FORM_RESOURCE";
  1291. CREATE TABLE "ACT_FO_FORM_RESOURCE" (
  1292. "ID_" VARCHAR2(255 BYTE) NOT NULL ,
  1293. "NAME_" VARCHAR2(255 BYTE) ,
  1294. "DEPLOYMENT_ID_" VARCHAR2(255 BYTE) ,
  1295. "RESOURCE_BYTES_" BLOB
  1296. )
  1297. TABLESPACE "USERS"
  1298. LOGGING
  1299. NOCOMPRESS
  1300. PCTFREE 10
  1301. INITRANS 1
  1302. STORAGE (
  1303. INITIAL 65536
  1304. NEXT 1048576
  1305. MINEXTENTS 1
  1306. MAXEXTENTS 2147483645
  1307. BUFFER_POOL DEFAULT
  1308. )
  1309. PARALLEL 1
  1310. NOCACHE
  1311. DISABLE ROW MOVEMENT
  1312. ;
  1313. -- ----------------------------
  1314. -- Table structure for ACT_GE_BYTEARRAY
  1315. -- ----------------------------
  1316. -- DROP TABLE "ACT_GE_BYTEARRAY";
  1317. CREATE TABLE "ACT_GE_BYTEARRAY" (
  1318. "ID_" NVARCHAR2(64) NOT NULL ,
  1319. "REV_" NUMBER ,
  1320. "NAME_" NVARCHAR2(255) ,
  1321. "DEPLOYMENT_ID_" NVARCHAR2(64) ,
  1322. "BYTES_" BLOB ,
  1323. "GENERATED_" NUMBER(1)
  1324. )
  1325. TABLESPACE "USERS"
  1326. LOGGING
  1327. NOCOMPRESS
  1328. PCTFREE 10
  1329. INITRANS 1
  1330. STORAGE (
  1331. INITIAL 65536
  1332. NEXT 1048576
  1333. MINEXTENTS 1
  1334. MAXEXTENTS 2147483645
  1335. BUFFER_POOL DEFAULT
  1336. )
  1337. PARALLEL 1
  1338. NOCACHE
  1339. DISABLE ROW MOVEMENT
  1340. ;
  1341. -- ----------------------------
  1342. -- Table structure for ACT_GE_PROPERTY
  1343. -- ----------------------------
  1344. -- DROP TABLE "ACT_GE_PROPERTY";
  1345. CREATE TABLE "ACT_GE_PROPERTY" (
  1346. "NAME_" NVARCHAR2(64) NOT NULL ,
  1347. "VALUE_" NVARCHAR2(300) ,
  1348. "REV_" NUMBER
  1349. )
  1350. TABLESPACE "USERS"
  1351. LOGGING
  1352. NOCOMPRESS
  1353. PCTFREE 10
  1354. INITRANS 1
  1355. STORAGE (
  1356. INITIAL 65536
  1357. NEXT 1048576
  1358. MINEXTENTS 1
  1359. MAXEXTENTS 2147483645
  1360. BUFFER_POOL DEFAULT
  1361. )
  1362. PARALLEL 1
  1363. NOCACHE
  1364. DISABLE ROW MOVEMENT
  1365. ;
  1366. -- ----------------------------
  1367. -- Records of ACT_GE_PROPERTY
  1368. -- ----------------------------
  1369. INSERT INTO "ACT_GE_PROPERTY" VALUES ('common.schema.version', '6.5.0.1', '1');
  1370. INSERT INTO "ACT_GE_PROPERTY" VALUES ('next.dbid', '1', '1');
  1371. INSERT INTO "ACT_GE_PROPERTY" VALUES ('entitylink.schema.version', '6.5.0.1', '1');
  1372. INSERT INTO "ACT_GE_PROPERTY" VALUES ('identitylink.schema.version', '6.5.0.1', '1');
  1373. INSERT INTO "ACT_GE_PROPERTY" VALUES ('job.schema.version', '6.5.0.1', '1');
  1374. INSERT INTO "ACT_GE_PROPERTY" VALUES ('task.schema.version', '6.5.0.1', '1');
  1375. INSERT INTO "ACT_GE_PROPERTY" VALUES ('variable.schema.version', '6.5.0.1', '1');
  1376. INSERT INTO "ACT_GE_PROPERTY" VALUES ('eventsubscription.schema.version', '6.5.0.1', '1');
  1377. INSERT INTO "ACT_GE_PROPERTY" VALUES ('schema.version', '6.5.0.1', '1');
  1378. INSERT INTO "ACT_GE_PROPERTY" VALUES ('schema.history', 'create(6.5.0.1)', '1');
  1379. INSERT INTO "ACT_GE_PROPERTY" VALUES ('cfg.execution-related-entities-count', 'true', '1');
  1380. INSERT INTO "ACT_GE_PROPERTY" VALUES ('cfg.task-related-entities-count', 'true', '1');
  1381. COMMIT;
  1382. -- ----------------------------
  1383. -- Table structure for ACT_HI_ACTINST
  1384. -- ----------------------------
  1385. -- DROP TABLE "ACT_HI_ACTINST";
  1386. CREATE TABLE "ACT_HI_ACTINST" (
  1387. "ID_" NVARCHAR2(64) NOT NULL ,
  1388. "REV_" NUMBER DEFAULT 1 ,
  1389. "PROC_DEF_ID_" NVARCHAR2(64) NOT NULL ,
  1390. "PROC_INST_ID_" NVARCHAR2(64) NOT NULL ,
  1391. "EXECUTION_ID_" NVARCHAR2(64) NOT NULL ,
  1392. "ACT_ID_" NVARCHAR2(255) NOT NULL ,
  1393. "TASK_ID_" NVARCHAR2(64) ,
  1394. "CALL_PROC_INST_ID_" NVARCHAR2(64) ,
  1395. "ACT_NAME_" NVARCHAR2(255) ,
  1396. "ACT_TYPE_" NVARCHAR2(255) NOT NULL ,
  1397. "ASSIGNEE_" NVARCHAR2(255) ,
  1398. "START_TIME_" TIMESTAMP(6) NOT NULL ,
  1399. "END_TIME_" TIMESTAMP(6) ,
  1400. "DURATION_" NUMBER(19) ,
  1401. "DELETE_REASON_" NVARCHAR2(2000) ,
  1402. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  1403. )
  1404. TABLESPACE "USERS"
  1405. LOGGING
  1406. NOCOMPRESS
  1407. PCTFREE 10
  1408. INITRANS 1
  1409. STORAGE (
  1410. INITIAL 65536
  1411. NEXT 1048576
  1412. MINEXTENTS 1
  1413. MAXEXTENTS 2147483645
  1414. BUFFER_POOL DEFAULT
  1415. )
  1416. PARALLEL 1
  1417. NOCACHE
  1418. DISABLE ROW MOVEMENT
  1419. ;
  1420. -- ----------------------------
  1421. -- Table structure for ACT_HI_ATTACHMENT
  1422. -- ----------------------------
  1423. -- DROP TABLE "ACT_HI_ATTACHMENT";
  1424. CREATE TABLE "ACT_HI_ATTACHMENT" (
  1425. "ID_" NVARCHAR2(64) NOT NULL ,
  1426. "REV_" NUMBER ,
  1427. "USER_ID_" NVARCHAR2(255) ,
  1428. "NAME_" NVARCHAR2(255) ,
  1429. "DESCRIPTION_" NVARCHAR2(2000) ,
  1430. "TYPE_" NVARCHAR2(255) ,
  1431. "TASK_ID_" NVARCHAR2(64) ,
  1432. "PROC_INST_ID_" NVARCHAR2(64) ,
  1433. "URL_" NVARCHAR2(2000) ,
  1434. "CONTENT_ID_" NVARCHAR2(64) ,
  1435. "TIME_" TIMESTAMP(6)
  1436. )
  1437. TABLESPACE "USERS"
  1438. LOGGING
  1439. NOCOMPRESS
  1440. PCTFREE 10
  1441. INITRANS 1
  1442. STORAGE (
  1443. INITIAL 65536
  1444. NEXT 1048576
  1445. MINEXTENTS 1
  1446. MAXEXTENTS 2147483645
  1447. BUFFER_POOL DEFAULT
  1448. )
  1449. PARALLEL 1
  1450. NOCACHE
  1451. DISABLE ROW MOVEMENT
  1452. ;
  1453. -- ----------------------------
  1454. -- Table structure for ACT_HI_COMMENT
  1455. -- ----------------------------
  1456. -- DROP TABLE "ACT_HI_COMMENT";
  1457. CREATE TABLE "ACT_HI_COMMENT" (
  1458. "ID_" NVARCHAR2(64) NOT NULL ,
  1459. "TYPE_" NVARCHAR2(255) ,
  1460. "TIME_" TIMESTAMP(6) NOT NULL ,
  1461. "USER_ID_" NVARCHAR2(255) ,
  1462. "TASK_ID_" NVARCHAR2(64) ,
  1463. "PROC_INST_ID_" NVARCHAR2(64) ,
  1464. "ACTION_" NVARCHAR2(255) ,
  1465. "MESSAGE_" NVARCHAR2(2000) ,
  1466. "FULL_MSG_" BLOB
  1467. )
  1468. TABLESPACE "USERS"
  1469. LOGGING
  1470. NOCOMPRESS
  1471. PCTFREE 10
  1472. INITRANS 1
  1473. STORAGE (
  1474. INITIAL 65536
  1475. NEXT 1048576
  1476. MINEXTENTS 1
  1477. MAXEXTENTS 2147483645
  1478. BUFFER_POOL DEFAULT
  1479. )
  1480. PARALLEL 1
  1481. NOCACHE
  1482. DISABLE ROW MOVEMENT
  1483. ;
  1484. -- ----------------------------
  1485. -- Table structure for ACT_HI_DETAIL
  1486. -- ----------------------------
  1487. -- DROP TABLE "ACT_HI_DETAIL";
  1488. CREATE TABLE "ACT_HI_DETAIL" (
  1489. "ID_" NVARCHAR2(64) NOT NULL ,
  1490. "TYPE_" NVARCHAR2(255) NOT NULL ,
  1491. "PROC_INST_ID_" NVARCHAR2(64) ,
  1492. "EXECUTION_ID_" NVARCHAR2(64) ,
  1493. "TASK_ID_" NVARCHAR2(64) ,
  1494. "ACT_INST_ID_" NVARCHAR2(64) ,
  1495. "NAME_" NVARCHAR2(255) NOT NULL ,
  1496. "VAR_TYPE_" NVARCHAR2(64) ,
  1497. "REV_" NUMBER ,
  1498. "TIME_" TIMESTAMP(6) NOT NULL ,
  1499. "BYTEARRAY_ID_" NVARCHAR2(64) ,
  1500. "DOUBLE_" NUMBER ,
  1501. "LONG_" NUMBER(19) ,
  1502. "TEXT_" NVARCHAR2(2000) ,
  1503. "TEXT2_" NVARCHAR2(2000)
  1504. )
  1505. TABLESPACE "USERS"
  1506. LOGGING
  1507. NOCOMPRESS
  1508. PCTFREE 10
  1509. INITRANS 1
  1510. STORAGE (
  1511. INITIAL 65536
  1512. NEXT 1048576
  1513. MINEXTENTS 1
  1514. MAXEXTENTS 2147483645
  1515. BUFFER_POOL DEFAULT
  1516. )
  1517. PARALLEL 1
  1518. NOCACHE
  1519. DISABLE ROW MOVEMENT
  1520. ;
  1521. -- ----------------------------
  1522. -- Table structure for ACT_HI_ENTITYLINK
  1523. -- ----------------------------
  1524. -- DROP TABLE "ACT_HI_ENTITYLINK";
  1525. CREATE TABLE "ACT_HI_ENTITYLINK" (
  1526. "ID_" NVARCHAR2(64) NOT NULL ,
  1527. "LINK_TYPE_" NVARCHAR2(255) ,
  1528. "CREATE_TIME_" TIMESTAMP(6) ,
  1529. "SCOPE_ID_" NVARCHAR2(255) ,
  1530. "SCOPE_TYPE_" NVARCHAR2(255) ,
  1531. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  1532. "REF_SCOPE_ID_" NVARCHAR2(255) ,
  1533. "REF_SCOPE_TYPE_" NVARCHAR2(255) ,
  1534. "REF_SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  1535. "HIERARCHY_TYPE_" NVARCHAR2(255)
  1536. )
  1537. TABLESPACE "USERS"
  1538. LOGGING
  1539. NOCOMPRESS
  1540. PCTFREE 10
  1541. INITRANS 1
  1542. STORAGE (
  1543. INITIAL 65536
  1544. NEXT 1048576
  1545. MINEXTENTS 1
  1546. MAXEXTENTS 2147483645
  1547. BUFFER_POOL DEFAULT
  1548. )
  1549. PARALLEL 1
  1550. NOCACHE
  1551. DISABLE ROW MOVEMENT
  1552. ;
  1553. -- ----------------------------
  1554. -- Table structure for ACT_HI_IDENTITYLINK
  1555. -- ----------------------------
  1556. -- DROP TABLE "ACT_HI_IDENTITYLINK";
  1557. CREATE TABLE "ACT_HI_IDENTITYLINK" (
  1558. "ID_" NVARCHAR2(64) NOT NULL ,
  1559. "GROUP_ID_" NVARCHAR2(255) ,
  1560. "TYPE_" NVARCHAR2(255) ,
  1561. "USER_ID_" NVARCHAR2(255) ,
  1562. "TASK_ID_" NVARCHAR2(64) ,
  1563. "CREATE_TIME_" TIMESTAMP(6) ,
  1564. "PROC_INST_ID_" NVARCHAR2(64) ,
  1565. "SCOPE_ID_" NVARCHAR2(255) ,
  1566. "SCOPE_TYPE_" NVARCHAR2(255) ,
  1567. "SCOPE_DEFINITION_ID_" NVARCHAR2(255)
  1568. )
  1569. TABLESPACE "USERS"
  1570. LOGGING
  1571. NOCOMPRESS
  1572. PCTFREE 10
  1573. INITRANS 1
  1574. STORAGE (
  1575. INITIAL 65536
  1576. NEXT 1048576
  1577. MINEXTENTS 1
  1578. MAXEXTENTS 2147483645
  1579. BUFFER_POOL DEFAULT
  1580. )
  1581. PARALLEL 1
  1582. NOCACHE
  1583. DISABLE ROW MOVEMENT
  1584. ;
  1585. -- ----------------------------
  1586. -- Table structure for ACT_HI_PROCINST
  1587. -- ----------------------------
  1588. -- DROP TABLE "ACT_HI_PROCINST";
  1589. CREATE TABLE "ACT_HI_PROCINST" (
  1590. "ID_" NVARCHAR2(64) NOT NULL ,
  1591. "REV_" NUMBER DEFAULT 1 ,
  1592. "PROC_INST_ID_" NVARCHAR2(64) NOT NULL ,
  1593. "BUSINESS_KEY_" NVARCHAR2(255) ,
  1594. "PROC_DEF_ID_" NVARCHAR2(64) NOT NULL ,
  1595. "START_TIME_" TIMESTAMP(6) NOT NULL ,
  1596. "END_TIME_" TIMESTAMP(6) ,
  1597. "DURATION_" NUMBER(19) ,
  1598. "START_USER_ID_" NVARCHAR2(255) ,
  1599. "START_ACT_ID_" NVARCHAR2(255) ,
  1600. "END_ACT_ID_" NVARCHAR2(255) ,
  1601. "SUPER_PROCESS_INSTANCE_ID_" NVARCHAR2(64) ,
  1602. "DELETE_REASON_" NVARCHAR2(2000) ,
  1603. "TENANT_ID_" NVARCHAR2(255) DEFAULT '' ,
  1604. "NAME_" NVARCHAR2(255) ,
  1605. "CALLBACK_ID_" NVARCHAR2(255) ,
  1606. "CALLBACK_TYPE_" NVARCHAR2(255)
  1607. )
  1608. TABLESPACE "USERS"
  1609. LOGGING
  1610. NOCOMPRESS
  1611. PCTFREE 10
  1612. INITRANS 1
  1613. STORAGE (
  1614. INITIAL 65536
  1615. NEXT 1048576
  1616. MINEXTENTS 1
  1617. MAXEXTENTS 2147483645
  1618. BUFFER_POOL DEFAULT
  1619. )
  1620. PARALLEL 1
  1621. NOCACHE
  1622. DISABLE ROW MOVEMENT
  1623. ;
  1624. -- ----------------------------
  1625. -- Table structure for ACT_HI_TASKINST
  1626. -- ----------------------------
  1627. -- DROP TABLE "ACT_HI_TASKINST";
  1628. CREATE TABLE "ACT_HI_TASKINST" (
  1629. "ID_" NVARCHAR2(64) NOT NULL ,
  1630. "REV_" NUMBER DEFAULT 1 ,
  1631. "PROC_DEF_ID_" NVARCHAR2(64) ,
  1632. "TASK_DEF_ID_" NVARCHAR2(64) ,
  1633. "TASK_DEF_KEY_" NVARCHAR2(255) ,
  1634. "PROC_INST_ID_" NVARCHAR2(64) ,
  1635. "EXECUTION_ID_" NVARCHAR2(64) ,
  1636. "SCOPE_ID_" NVARCHAR2(255) ,
  1637. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  1638. "SCOPE_TYPE_" NVARCHAR2(255) ,
  1639. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  1640. "PARENT_TASK_ID_" NVARCHAR2(64) ,
  1641. "NAME_" NVARCHAR2(255) ,
  1642. "DESCRIPTION_" NVARCHAR2(2000) ,
  1643. "OWNER_" NVARCHAR2(255) ,
  1644. "ASSIGNEE_" NVARCHAR2(255) ,
  1645. "START_TIME_" TIMESTAMP(6) NOT NULL ,
  1646. "CLAIM_TIME_" TIMESTAMP(6) ,
  1647. "END_TIME_" TIMESTAMP(6) ,
  1648. "DURATION_" NUMBER(19) ,
  1649. "DELETE_REASON_" NVARCHAR2(2000) ,
  1650. "PRIORITY_" NUMBER ,
  1651. "DUE_DATE_" TIMESTAMP(6) ,
  1652. "FORM_KEY_" NVARCHAR2(255) ,
  1653. "CATEGORY_" NVARCHAR2(255) ,
  1654. "TENANT_ID_" NVARCHAR2(255) DEFAULT '' ,
  1655. "LAST_UPDATED_TIME_" TIMESTAMP(6)
  1656. )
  1657. TABLESPACE "USERS"
  1658. LOGGING
  1659. NOCOMPRESS
  1660. PCTFREE 10
  1661. INITRANS 1
  1662. STORAGE (
  1663. INITIAL 65536
  1664. NEXT 1048576
  1665. MINEXTENTS 1
  1666. MAXEXTENTS 2147483645
  1667. BUFFER_POOL DEFAULT
  1668. )
  1669. PARALLEL 1
  1670. NOCACHE
  1671. DISABLE ROW MOVEMENT
  1672. ;
  1673. -- ----------------------------
  1674. -- Table structure for ACT_HI_TSK_LOG
  1675. -- ----------------------------
  1676. -- DROP TABLE "ACT_HI_TSK_LOG";
  1677. CREATE TABLE "ACT_HI_TSK_LOG" (
  1678. "ID_" NUMBER(19) NOT NULL ,
  1679. "TYPE_" NVARCHAR2(64) ,
  1680. "TASK_ID_" NVARCHAR2(64) NOT NULL ,
  1681. "TIME_STAMP_" TIMESTAMP(6) NOT NULL ,
  1682. "USER_ID_" NVARCHAR2(255) ,
  1683. "DATA_" NVARCHAR2(2000) ,
  1684. "EXECUTION_ID_" NVARCHAR2(64) ,
  1685. "PROC_INST_ID_" NVARCHAR2(64) ,
  1686. "PROC_DEF_ID_" NVARCHAR2(64) ,
  1687. "SCOPE_ID_" NVARCHAR2(255) ,
  1688. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  1689. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  1690. "SCOPE_TYPE_" NVARCHAR2(255) ,
  1691. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  1692. )
  1693. TABLESPACE "USERS"
  1694. LOGGING
  1695. NOCOMPRESS
  1696. PCTFREE 10
  1697. INITRANS 1
  1698. STORAGE (
  1699. INITIAL 65536
  1700. NEXT 1048576
  1701. MINEXTENTS 1
  1702. MAXEXTENTS 2147483645
  1703. BUFFER_POOL DEFAULT
  1704. )
  1705. PARALLEL 1
  1706. NOCACHE
  1707. DISABLE ROW MOVEMENT
  1708. ;
  1709. -- ----------------------------
  1710. -- Table structure for ACT_HI_VARINST
  1711. -- ----------------------------
  1712. -- DROP TABLE "ACT_HI_VARINST";
  1713. CREATE TABLE "ACT_HI_VARINST" (
  1714. "ID_" NVARCHAR2(64) NOT NULL ,
  1715. "REV_" NUMBER DEFAULT 1 ,
  1716. "PROC_INST_ID_" NVARCHAR2(64) ,
  1717. "EXECUTION_ID_" NVARCHAR2(64) ,
  1718. "TASK_ID_" NVARCHAR2(64) ,
  1719. "NAME_" NVARCHAR2(255) NOT NULL ,
  1720. "VAR_TYPE_" NVARCHAR2(100) ,
  1721. "SCOPE_ID_" NVARCHAR2(255) ,
  1722. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  1723. "SCOPE_TYPE_" NVARCHAR2(255) ,
  1724. "BYTEARRAY_ID_" NVARCHAR2(64) ,
  1725. "DOUBLE_" NUMBER ,
  1726. "LONG_" NUMBER(19) ,
  1727. "TEXT_" NVARCHAR2(2000) ,
  1728. "TEXT2_" NVARCHAR2(2000) ,
  1729. "CREATE_TIME_" TIMESTAMP(6) ,
  1730. "LAST_UPDATED_TIME_" TIMESTAMP(6)
  1731. )
  1732. TABLESPACE "USERS"
  1733. LOGGING
  1734. NOCOMPRESS
  1735. PCTFREE 10
  1736. INITRANS 1
  1737. STORAGE (
  1738. INITIAL 65536
  1739. NEXT 1048576
  1740. MINEXTENTS 1
  1741. MAXEXTENTS 2147483645
  1742. BUFFER_POOL DEFAULT
  1743. )
  1744. PARALLEL 1
  1745. NOCACHE
  1746. DISABLE ROW MOVEMENT
  1747. ;
  1748. -- ----------------------------
  1749. -- Table structure for ACT_ID_BYTEARRAY
  1750. -- ----------------------------
  1751. -- DROP TABLE "ACT_ID_BYTEARRAY";
  1752. CREATE TABLE "ACT_ID_BYTEARRAY" (
  1753. "ID_" NVARCHAR2(64) NOT NULL ,
  1754. "REV_" NUMBER ,
  1755. "NAME_" NVARCHAR2(255) ,
  1756. "BYTES_" BLOB
  1757. )
  1758. TABLESPACE "USERS"
  1759. LOGGING
  1760. NOCOMPRESS
  1761. PCTFREE 10
  1762. INITRANS 1
  1763. STORAGE (
  1764. INITIAL 65536
  1765. NEXT 1048576
  1766. MINEXTENTS 1
  1767. MAXEXTENTS 2147483645
  1768. BUFFER_POOL DEFAULT
  1769. )
  1770. PARALLEL 1
  1771. NOCACHE
  1772. DISABLE ROW MOVEMENT
  1773. ;
  1774. -- ----------------------------
  1775. -- Table structure for ACT_ID_GROUP
  1776. -- ----------------------------
  1777. -- DROP TABLE "ACT_ID_GROUP";
  1778. CREATE TABLE "ACT_ID_GROUP" (
  1779. "ID_" NVARCHAR2(64) NOT NULL ,
  1780. "REV_" NUMBER ,
  1781. "NAME_" NVARCHAR2(255) ,
  1782. "TYPE_" NVARCHAR2(255)
  1783. )
  1784. TABLESPACE "USERS"
  1785. LOGGING
  1786. NOCOMPRESS
  1787. PCTFREE 10
  1788. INITRANS 1
  1789. STORAGE (
  1790. INITIAL 65536
  1791. NEXT 1048576
  1792. MINEXTENTS 1
  1793. MAXEXTENTS 2147483645
  1794. BUFFER_POOL DEFAULT
  1795. )
  1796. PARALLEL 1
  1797. NOCACHE
  1798. DISABLE ROW MOVEMENT
  1799. ;
  1800. -- ----------------------------
  1801. -- Table structure for ACT_ID_INFO
  1802. -- ----------------------------
  1803. -- DROP TABLE "ACT_ID_INFO";
  1804. CREATE TABLE "ACT_ID_INFO" (
  1805. "ID_" NVARCHAR2(64) NOT NULL ,
  1806. "REV_" NUMBER ,
  1807. "USER_ID_" NVARCHAR2(64) ,
  1808. "TYPE_" NVARCHAR2(64) ,
  1809. "KEY_" NVARCHAR2(255) ,
  1810. "VALUE_" NVARCHAR2(255) ,
  1811. "PASSWORD_" BLOB ,
  1812. "PARENT_ID_" NVARCHAR2(255)
  1813. )
  1814. TABLESPACE "USERS"
  1815. LOGGING
  1816. NOCOMPRESS
  1817. PCTFREE 10
  1818. INITRANS 1
  1819. STORAGE (
  1820. INITIAL 65536
  1821. NEXT 1048576
  1822. MINEXTENTS 1
  1823. MAXEXTENTS 2147483645
  1824. BUFFER_POOL DEFAULT
  1825. )
  1826. PARALLEL 1
  1827. NOCACHE
  1828. DISABLE ROW MOVEMENT
  1829. ;
  1830. -- ----------------------------
  1831. -- Table structure for ACT_ID_MEMBERSHIP
  1832. -- ----------------------------
  1833. -- DROP TABLE "ACT_ID_MEMBERSHIP";
  1834. CREATE TABLE "ACT_ID_MEMBERSHIP" (
  1835. "USER_ID_" NVARCHAR2(64) NOT NULL ,
  1836. "GROUP_ID_" NVARCHAR2(64) NOT NULL
  1837. )
  1838. TABLESPACE "USERS"
  1839. LOGGING
  1840. NOCOMPRESS
  1841. PCTFREE 10
  1842. INITRANS 1
  1843. STORAGE (
  1844. INITIAL 65536
  1845. NEXT 1048576
  1846. MINEXTENTS 1
  1847. MAXEXTENTS 2147483645
  1848. BUFFER_POOL DEFAULT
  1849. )
  1850. PARALLEL 1
  1851. NOCACHE
  1852. DISABLE ROW MOVEMENT
  1853. ;
  1854. -- ----------------------------
  1855. -- Table structure for ACT_ID_PRIV
  1856. -- ----------------------------
  1857. -- DROP TABLE "ACT_ID_PRIV";
  1858. CREATE TABLE "ACT_ID_PRIV" (
  1859. "ID_" NVARCHAR2(64) NOT NULL ,
  1860. "NAME_" NVARCHAR2(255) NOT NULL
  1861. )
  1862. TABLESPACE "USERS"
  1863. LOGGING
  1864. NOCOMPRESS
  1865. PCTFREE 10
  1866. INITRANS 1
  1867. STORAGE (
  1868. INITIAL 65536
  1869. NEXT 1048576
  1870. MINEXTENTS 1
  1871. MAXEXTENTS 2147483645
  1872. BUFFER_POOL DEFAULT
  1873. )
  1874. PARALLEL 1
  1875. NOCACHE
  1876. DISABLE ROW MOVEMENT
  1877. ;
  1878. -- ----------------------------
  1879. -- Table structure for ACT_ID_PRIV_MAPPING
  1880. -- ----------------------------
  1881. -- DROP TABLE "ACT_ID_PRIV_MAPPING";
  1882. CREATE TABLE "ACT_ID_PRIV_MAPPING" (
  1883. "ID_" NVARCHAR2(64) NOT NULL ,
  1884. "PRIV_ID_" NVARCHAR2(64) NOT NULL ,
  1885. "USER_ID_" NVARCHAR2(255) ,
  1886. "GROUP_ID_" NVARCHAR2(255)
  1887. )
  1888. TABLESPACE "USERS"
  1889. LOGGING
  1890. NOCOMPRESS
  1891. PCTFREE 10
  1892. INITRANS 1
  1893. STORAGE (
  1894. INITIAL 65536
  1895. NEXT 1048576
  1896. MINEXTENTS 1
  1897. MAXEXTENTS 2147483645
  1898. BUFFER_POOL DEFAULT
  1899. )
  1900. PARALLEL 1
  1901. NOCACHE
  1902. DISABLE ROW MOVEMENT
  1903. ;
  1904. -- ----------------------------
  1905. -- Table structure for ACT_ID_PROPERTY
  1906. -- ----------------------------
  1907. -- DROP TABLE "ACT_ID_PROPERTY";
  1908. CREATE TABLE "ACT_ID_PROPERTY" (
  1909. "NAME_" NVARCHAR2(64) NOT NULL ,
  1910. "VALUE_" NVARCHAR2(300) ,
  1911. "REV_" NUMBER
  1912. )
  1913. TABLESPACE "USERS"
  1914. LOGGING
  1915. NOCOMPRESS
  1916. PCTFREE 10
  1917. INITRANS 1
  1918. STORAGE (
  1919. INITIAL 65536
  1920. NEXT 1048576
  1921. MINEXTENTS 1
  1922. MAXEXTENTS 2147483645
  1923. BUFFER_POOL DEFAULT
  1924. )
  1925. PARALLEL 1
  1926. NOCACHE
  1927. DISABLE ROW MOVEMENT
  1928. ;
  1929. -- ----------------------------
  1930. -- Records of ACT_ID_PROPERTY
  1931. -- ----------------------------
  1932. INSERT INTO "ACT_ID_PROPERTY" VALUES ('schema.version', '6.5.0.1', '1');
  1933. COMMIT;
  1934. -- ----------------------------
  1935. -- Table structure for ACT_ID_TOKEN
  1936. -- ----------------------------
  1937. -- DROP TABLE "ACT_ID_TOKEN";
  1938. CREATE TABLE "ACT_ID_TOKEN" (
  1939. "ID_" NVARCHAR2(64) NOT NULL ,
  1940. "REV_" NUMBER ,
  1941. "TOKEN_VALUE_" NVARCHAR2(255) ,
  1942. "TOKEN_DATE_" TIMESTAMP(6) ,
  1943. "IP_ADDRESS_" NVARCHAR2(255) ,
  1944. "USER_AGENT_" NVARCHAR2(255) ,
  1945. "USER_ID_" NVARCHAR2(255) ,
  1946. "TOKEN_DATA_" NVARCHAR2(2000)
  1947. )
  1948. TABLESPACE "USERS"
  1949. LOGGING
  1950. NOCOMPRESS
  1951. PCTFREE 10
  1952. INITRANS 1
  1953. STORAGE (
  1954. INITIAL 65536
  1955. NEXT 1048576
  1956. MINEXTENTS 1
  1957. MAXEXTENTS 2147483645
  1958. BUFFER_POOL DEFAULT
  1959. )
  1960. PARALLEL 1
  1961. NOCACHE
  1962. DISABLE ROW MOVEMENT
  1963. ;
  1964. -- ----------------------------
  1965. -- Table structure for ACT_ID_USER
  1966. -- ----------------------------
  1967. -- DROP TABLE "ACT_ID_USER";
  1968. CREATE TABLE "ACT_ID_USER" (
  1969. "ID_" NVARCHAR2(64) NOT NULL ,
  1970. "REV_" NUMBER ,
  1971. "FIRST_" NVARCHAR2(255) ,
  1972. "LAST_" NVARCHAR2(255) ,
  1973. "DISPLAY_NAME_" NVARCHAR2(255) ,
  1974. "EMAIL_" NVARCHAR2(255) ,
  1975. "PWD_" NVARCHAR2(255) ,
  1976. "PICTURE_ID_" NVARCHAR2(64) ,
  1977. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  1978. )
  1979. TABLESPACE "USERS"
  1980. LOGGING
  1981. NOCOMPRESS
  1982. PCTFREE 10
  1983. INITRANS 1
  1984. STORAGE (
  1985. INITIAL 65536
  1986. NEXT 1048576
  1987. MINEXTENTS 1
  1988. MAXEXTENTS 2147483645
  1989. BUFFER_POOL DEFAULT
  1990. )
  1991. PARALLEL 1
  1992. NOCACHE
  1993. DISABLE ROW MOVEMENT
  1994. ;
  1995. -- ----------------------------
  1996. -- Table structure for ACT_PROCDEF_INFO
  1997. -- ----------------------------
  1998. -- DROP TABLE "ACT_PROCDEF_INFO";
  1999. CREATE TABLE "ACT_PROCDEF_INFO" (
  2000. "ID_" NVARCHAR2(64) NOT NULL ,
  2001. "PROC_DEF_ID_" NVARCHAR2(64) NOT NULL ,
  2002. "REV_" NUMBER ,
  2003. "INFO_JSON_ID_" NVARCHAR2(64)
  2004. )
  2005. TABLESPACE "USERS"
  2006. LOGGING
  2007. NOCOMPRESS
  2008. PCTFREE 10
  2009. INITRANS 1
  2010. STORAGE (
  2011. INITIAL 65536
  2012. NEXT 1048576
  2013. MINEXTENTS 1
  2014. MAXEXTENTS 2147483645
  2015. BUFFER_POOL DEFAULT
  2016. )
  2017. PARALLEL 1
  2018. NOCACHE
  2019. DISABLE ROW MOVEMENT
  2020. ;
  2021. -- ----------------------------
  2022. -- Table structure for ACT_RE_DEPLOYMENT
  2023. -- ----------------------------
  2024. -- DROP TABLE "ACT_RE_DEPLOYMENT";
  2025. CREATE TABLE "ACT_RE_DEPLOYMENT" (
  2026. "ID_" NVARCHAR2(64) NOT NULL ,
  2027. "NAME_" NVARCHAR2(255) ,
  2028. "CATEGORY_" NVARCHAR2(255) ,
  2029. "KEY_" NVARCHAR2(255) ,
  2030. "TENANT_ID_" NVARCHAR2(255) DEFAULT '' ,
  2031. "DEPLOY_TIME_" TIMESTAMP(6) ,
  2032. "DERIVED_FROM_" NVARCHAR2(64) ,
  2033. "DERIVED_FROM_ROOT_" NVARCHAR2(64) ,
  2034. "PARENT_DEPLOYMENT_ID_" NVARCHAR2(255) ,
  2035. "ENGINE_VERSION_" NVARCHAR2(255)
  2036. )
  2037. TABLESPACE "USERS"
  2038. LOGGING
  2039. NOCOMPRESS
  2040. PCTFREE 10
  2041. INITRANS 1
  2042. STORAGE (
  2043. INITIAL 65536
  2044. NEXT 1048576
  2045. MINEXTENTS 1
  2046. MAXEXTENTS 2147483645
  2047. BUFFER_POOL DEFAULT
  2048. )
  2049. PARALLEL 1
  2050. NOCACHE
  2051. DISABLE ROW MOVEMENT
  2052. ;
  2053. -- ----------------------------
  2054. -- Table structure for ACT_RE_MODEL
  2055. -- ----------------------------
  2056. -- DROP TABLE "ACT_RE_MODEL";
  2057. CREATE TABLE "ACT_RE_MODEL" (
  2058. "ID_" NVARCHAR2(64) NOT NULL ,
  2059. "REV_" NUMBER ,
  2060. "NAME_" NVARCHAR2(255) ,
  2061. "KEY_" NVARCHAR2(255) ,
  2062. "CATEGORY_" NVARCHAR2(255) ,
  2063. "CREATE_TIME_" TIMESTAMP(6) ,
  2064. "LAST_UPDATE_TIME_" TIMESTAMP(6) ,
  2065. "VERSION_" NUMBER ,
  2066. "META_INFO_" NVARCHAR2(2000) ,
  2067. "DEPLOYMENT_ID_" NVARCHAR2(64) ,
  2068. "EDITOR_SOURCE_VALUE_ID_" NVARCHAR2(64) ,
  2069. "EDITOR_SOURCE_EXTRA_VALUE_ID_" NVARCHAR2(64) ,
  2070. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  2071. )
  2072. TABLESPACE "USERS"
  2073. LOGGING
  2074. NOCOMPRESS
  2075. PCTFREE 10
  2076. INITRANS 1
  2077. STORAGE (
  2078. INITIAL 65536
  2079. NEXT 1048576
  2080. MINEXTENTS 1
  2081. MAXEXTENTS 2147483645
  2082. BUFFER_POOL DEFAULT
  2083. )
  2084. PARALLEL 1
  2085. NOCACHE
  2086. DISABLE ROW MOVEMENT
  2087. ;
  2088. -- ----------------------------
  2089. -- Table structure for ACT_RE_PROCDEF
  2090. -- ----------------------------
  2091. -- DROP TABLE "ACT_RE_PROCDEF";
  2092. CREATE TABLE "ACT_RE_PROCDEF" (
  2093. "ID_" NVARCHAR2(64) NOT NULL ,
  2094. "REV_" NUMBER ,
  2095. "CATEGORY_" NVARCHAR2(255) ,
  2096. "NAME_" NVARCHAR2(255) ,
  2097. "KEY_" NVARCHAR2(255) NOT NULL ,
  2098. "VERSION_" NUMBER NOT NULL ,
  2099. "DEPLOYMENT_ID_" NVARCHAR2(64) ,
  2100. "RESOURCE_NAME_" NVARCHAR2(2000) ,
  2101. "DGRM_RESOURCE_NAME_" VARCHAR2(4000 BYTE) ,
  2102. "DESCRIPTION_" NVARCHAR2(2000) ,
  2103. "HAS_START_FORM_KEY_" NUMBER(1) ,
  2104. "HAS_GRAPHICAL_NOTATION_" NUMBER(1) ,
  2105. "SUSPENSION_STATE_" NUMBER ,
  2106. "TENANT_ID_" NVARCHAR2(255) DEFAULT '' ,
  2107. "DERIVED_FROM_" NVARCHAR2(64) ,
  2108. "DERIVED_FROM_ROOT_" NVARCHAR2(64) ,
  2109. "DERIVED_VERSION_" NUMBER DEFAULT 0 NOT NULL ,
  2110. "ENGINE_VERSION_" NVARCHAR2(255)
  2111. )
  2112. TABLESPACE "USERS"
  2113. LOGGING
  2114. NOCOMPRESS
  2115. PCTFREE 10
  2116. INITRANS 1
  2117. STORAGE (
  2118. INITIAL 65536
  2119. NEXT 1048576
  2120. MINEXTENTS 1
  2121. MAXEXTENTS 2147483645
  2122. BUFFER_POOL DEFAULT
  2123. )
  2124. PARALLEL 1
  2125. NOCACHE
  2126. DISABLE ROW MOVEMENT
  2127. ;
  2128. -- ----------------------------
  2129. -- Table structure for ACT_RU_ACTINST
  2130. -- ----------------------------
  2131. -- DROP TABLE "ACT_RU_ACTINST";
  2132. CREATE TABLE "ACT_RU_ACTINST" (
  2133. "ID_" NVARCHAR2(64) NOT NULL ,
  2134. "REV_" NUMBER DEFAULT 1 ,
  2135. "PROC_DEF_ID_" NVARCHAR2(64) NOT NULL ,
  2136. "PROC_INST_ID_" NVARCHAR2(64) NOT NULL ,
  2137. "EXECUTION_ID_" NVARCHAR2(64) NOT NULL ,
  2138. "ACT_ID_" NVARCHAR2(255) NOT NULL ,
  2139. "TASK_ID_" NVARCHAR2(64) ,
  2140. "CALL_PROC_INST_ID_" NVARCHAR2(64) ,
  2141. "ACT_NAME_" NVARCHAR2(255) ,
  2142. "ACT_TYPE_" NVARCHAR2(255) NOT NULL ,
  2143. "ASSIGNEE_" NVARCHAR2(255) ,
  2144. "START_TIME_" TIMESTAMP(6) NOT NULL ,
  2145. "END_TIME_" TIMESTAMP(6) ,
  2146. "DURATION_" NUMBER(19) ,
  2147. "DELETE_REASON_" NVARCHAR2(2000) ,
  2148. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  2149. )
  2150. TABLESPACE "USERS"
  2151. LOGGING
  2152. NOCOMPRESS
  2153. PCTFREE 10
  2154. INITRANS 1
  2155. STORAGE (
  2156. INITIAL 65536
  2157. NEXT 1048576
  2158. MINEXTENTS 1
  2159. MAXEXTENTS 2147483645
  2160. BUFFER_POOL DEFAULT
  2161. )
  2162. PARALLEL 1
  2163. NOCACHE
  2164. DISABLE ROW MOVEMENT
  2165. ;
  2166. -- ----------------------------
  2167. -- Table structure for ACT_RU_DEADLETTER_JOB
  2168. -- ----------------------------
  2169. -- DROP TABLE "ACT_RU_DEADLETTER_JOB";
  2170. CREATE TABLE "ACT_RU_DEADLETTER_JOB" (
  2171. "ID_" NVARCHAR2(64) NOT NULL ,
  2172. "REV_" NUMBER ,
  2173. "TYPE_" NVARCHAR2(255) NOT NULL ,
  2174. "EXCLUSIVE_" NUMBER(1) ,
  2175. "EXECUTION_ID_" NVARCHAR2(64) ,
  2176. "PROCESS_INSTANCE_ID_" NVARCHAR2(64) ,
  2177. "PROC_DEF_ID_" NVARCHAR2(64) ,
  2178. "ELEMENT_ID_" NVARCHAR2(255) ,
  2179. "ELEMENT_NAME_" NVARCHAR2(255) ,
  2180. "SCOPE_ID_" NVARCHAR2(255) ,
  2181. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  2182. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2183. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  2184. "EXCEPTION_STACK_ID_" NVARCHAR2(64) ,
  2185. "EXCEPTION_MSG_" NVARCHAR2(2000) ,
  2186. "DUEDATE_" TIMESTAMP(6) ,
  2187. "REPEAT_" NVARCHAR2(255) ,
  2188. "HANDLER_TYPE_" NVARCHAR2(255) ,
  2189. "HANDLER_CFG_" NVARCHAR2(2000) ,
  2190. "CUSTOM_VALUES_ID_" NVARCHAR2(64) ,
  2191. "CREATE_TIME_" TIMESTAMP(6) ,
  2192. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  2193. )
  2194. TABLESPACE "USERS"
  2195. LOGGING
  2196. NOCOMPRESS
  2197. PCTFREE 10
  2198. INITRANS 1
  2199. STORAGE (
  2200. INITIAL 65536
  2201. NEXT 1048576
  2202. MINEXTENTS 1
  2203. MAXEXTENTS 2147483645
  2204. BUFFER_POOL DEFAULT
  2205. )
  2206. PARALLEL 1
  2207. NOCACHE
  2208. DISABLE ROW MOVEMENT
  2209. ;
  2210. -- ----------------------------
  2211. -- Table structure for ACT_RU_ENTITYLINK
  2212. -- ----------------------------
  2213. -- DROP TABLE "ACT_RU_ENTITYLINK";
  2214. CREATE TABLE "ACT_RU_ENTITYLINK" (
  2215. "ID_" NVARCHAR2(64) NOT NULL ,
  2216. "REV_" NUMBER ,
  2217. "CREATE_TIME_" TIMESTAMP(6) ,
  2218. "LINK_TYPE_" NVARCHAR2(255) ,
  2219. "SCOPE_ID_" NVARCHAR2(255) ,
  2220. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2221. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  2222. "REF_SCOPE_ID_" NVARCHAR2(255) ,
  2223. "REF_SCOPE_TYPE_" NVARCHAR2(255) ,
  2224. "REF_SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  2225. "HIERARCHY_TYPE_" NVARCHAR2(255)
  2226. )
  2227. TABLESPACE "USERS"
  2228. LOGGING
  2229. NOCOMPRESS
  2230. PCTFREE 10
  2231. INITRANS 1
  2232. STORAGE (
  2233. INITIAL 65536
  2234. NEXT 1048576
  2235. MINEXTENTS 1
  2236. MAXEXTENTS 2147483645
  2237. BUFFER_POOL DEFAULT
  2238. )
  2239. PARALLEL 1
  2240. NOCACHE
  2241. DISABLE ROW MOVEMENT
  2242. ;
  2243. -- ----------------------------
  2244. -- Table structure for ACT_RU_EVENT_SUBSCR
  2245. -- ----------------------------
  2246. -- DROP TABLE "ACT_RU_EVENT_SUBSCR";
  2247. CREATE TABLE "ACT_RU_EVENT_SUBSCR" (
  2248. "ID_" NVARCHAR2(64) NOT NULL ,
  2249. "REV_" NUMBER ,
  2250. "EVENT_TYPE_" NVARCHAR2(255) NOT NULL ,
  2251. "EVENT_NAME_" NVARCHAR2(255) ,
  2252. "EXECUTION_ID_" NVARCHAR2(64) ,
  2253. "PROC_INST_ID_" NVARCHAR2(64) ,
  2254. "ACTIVITY_ID_" NVARCHAR2(64) ,
  2255. "CONFIGURATION_" NVARCHAR2(255) ,
  2256. "CREATED_" TIMESTAMP(6) NOT NULL ,
  2257. "PROC_DEF_ID_" NVARCHAR2(64) ,
  2258. "SUB_SCOPE_ID_" NVARCHAR2(64) ,
  2259. "SCOPE_ID_" NVARCHAR2(64) ,
  2260. "SCOPE_DEFINITION_ID_" NVARCHAR2(64) ,
  2261. "SCOPE_TYPE_" NVARCHAR2(64) ,
  2262. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  2263. )
  2264. TABLESPACE "USERS"
  2265. LOGGING
  2266. NOCOMPRESS
  2267. PCTFREE 10
  2268. INITRANS 1
  2269. STORAGE (
  2270. INITIAL 65536
  2271. NEXT 1048576
  2272. MINEXTENTS 1
  2273. MAXEXTENTS 2147483645
  2274. BUFFER_POOL DEFAULT
  2275. )
  2276. PARALLEL 1
  2277. NOCACHE
  2278. DISABLE ROW MOVEMENT
  2279. ;
  2280. -- ----------------------------
  2281. -- Table structure for ACT_RU_EXECUTION
  2282. -- ----------------------------
  2283. -- DROP TABLE "ACT_RU_EXECUTION";
  2284. CREATE TABLE "ACT_RU_EXECUTION" (
  2285. "ID_" NVARCHAR2(64) NOT NULL ,
  2286. "REV_" NUMBER ,
  2287. "PROC_INST_ID_" NVARCHAR2(64) ,
  2288. "BUSINESS_KEY_" NVARCHAR2(255) ,
  2289. "PARENT_ID_" NVARCHAR2(64) ,
  2290. "PROC_DEF_ID_" NVARCHAR2(64) ,
  2291. "SUPER_EXEC_" NVARCHAR2(64) ,
  2292. "ROOT_PROC_INST_ID_" NVARCHAR2(64) ,
  2293. "ACT_ID_" NVARCHAR2(255) ,
  2294. "IS_ACTIVE_" NUMBER(1) ,
  2295. "IS_CONCURRENT_" NUMBER(1) ,
  2296. "IS_SCOPE_" NUMBER(1) ,
  2297. "IS_EVENT_SCOPE_" NUMBER(1) ,
  2298. "IS_MI_ROOT_" NUMBER(1) ,
  2299. "SUSPENSION_STATE_" NUMBER ,
  2300. "CACHED_ENT_STATE_" NUMBER ,
  2301. "TENANT_ID_" NVARCHAR2(255) DEFAULT '' ,
  2302. "NAME_" NVARCHAR2(255) ,
  2303. "START_ACT_ID_" NVARCHAR2(255) ,
  2304. "START_TIME_" TIMESTAMP(6) ,
  2305. "START_USER_ID_" NVARCHAR2(255) ,
  2306. "LOCK_TIME_" TIMESTAMP(6) ,
  2307. "IS_COUNT_ENABLED_" NUMBER(1) ,
  2308. "EVT_SUBSCR_COUNT_" NUMBER ,
  2309. "TASK_COUNT_" NUMBER ,
  2310. "JOB_COUNT_" NUMBER ,
  2311. "TIMER_JOB_COUNT_" NUMBER ,
  2312. "SUSP_JOB_COUNT_" NUMBER ,
  2313. "DEADLETTER_JOB_COUNT_" NUMBER ,
  2314. "VAR_COUNT_" NUMBER ,
  2315. "ID_LINK_COUNT_" NUMBER ,
  2316. "CALLBACK_ID_" NVARCHAR2(255) ,
  2317. "CALLBACK_TYPE_" NVARCHAR2(255)
  2318. )
  2319. TABLESPACE "USERS"
  2320. LOGGING
  2321. NOCOMPRESS
  2322. PCTFREE 10
  2323. INITRANS 1
  2324. STORAGE (
  2325. INITIAL 65536
  2326. NEXT 1048576
  2327. MINEXTENTS 1
  2328. MAXEXTENTS 2147483645
  2329. BUFFER_POOL DEFAULT
  2330. )
  2331. PARALLEL 1
  2332. NOCACHE
  2333. DISABLE ROW MOVEMENT
  2334. ;
  2335. -- ----------------------------
  2336. -- Table structure for ACT_RU_HISTORY_JOB
  2337. -- ----------------------------
  2338. -- DROP TABLE "ACT_RU_HISTORY_JOB";
  2339. CREATE TABLE "ACT_RU_HISTORY_JOB" (
  2340. "ID_" NVARCHAR2(64) NOT NULL ,
  2341. "REV_" NUMBER ,
  2342. "LOCK_EXP_TIME_" TIMESTAMP(6) ,
  2343. "LOCK_OWNER_" NVARCHAR2(255) ,
  2344. "RETRIES_" NUMBER ,
  2345. "EXCEPTION_STACK_ID_" NVARCHAR2(64) ,
  2346. "EXCEPTION_MSG_" NVARCHAR2(2000) ,
  2347. "HANDLER_TYPE_" NVARCHAR2(255) ,
  2348. "HANDLER_CFG_" NVARCHAR2(2000) ,
  2349. "CUSTOM_VALUES_ID_" NVARCHAR2(64) ,
  2350. "ADV_HANDLER_CFG_ID_" NVARCHAR2(64) ,
  2351. "CREATE_TIME_" TIMESTAMP(6) ,
  2352. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2353. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  2354. )
  2355. TABLESPACE "USERS"
  2356. LOGGING
  2357. NOCOMPRESS
  2358. PCTFREE 10
  2359. INITRANS 1
  2360. STORAGE (
  2361. INITIAL 65536
  2362. NEXT 1048576
  2363. MINEXTENTS 1
  2364. MAXEXTENTS 2147483645
  2365. BUFFER_POOL DEFAULT
  2366. )
  2367. PARALLEL 1
  2368. NOCACHE
  2369. DISABLE ROW MOVEMENT
  2370. ;
  2371. -- ----------------------------
  2372. -- Table structure for ACT_RU_IDENTITYLINK
  2373. -- ----------------------------
  2374. -- DROP TABLE "ACT_RU_IDENTITYLINK";
  2375. CREATE TABLE "ACT_RU_IDENTITYLINK" (
  2376. "ID_" NVARCHAR2(64) NOT NULL ,
  2377. "REV_" NUMBER ,
  2378. "GROUP_ID_" NVARCHAR2(255) ,
  2379. "TYPE_" NVARCHAR2(255) ,
  2380. "USER_ID_" NVARCHAR2(255) ,
  2381. "TASK_ID_" NVARCHAR2(64) ,
  2382. "PROC_INST_ID_" NVARCHAR2(64) ,
  2383. "PROC_DEF_ID_" NVARCHAR2(64) ,
  2384. "SCOPE_ID_" NVARCHAR2(255) ,
  2385. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2386. "SCOPE_DEFINITION_ID_" NVARCHAR2(255)
  2387. )
  2388. TABLESPACE "USERS"
  2389. LOGGING
  2390. NOCOMPRESS
  2391. PCTFREE 10
  2392. INITRANS 1
  2393. STORAGE (
  2394. INITIAL 65536
  2395. NEXT 1048576
  2396. MINEXTENTS 1
  2397. MAXEXTENTS 2147483645
  2398. BUFFER_POOL DEFAULT
  2399. )
  2400. PARALLEL 1
  2401. NOCACHE
  2402. DISABLE ROW MOVEMENT
  2403. ;
  2404. -- ----------------------------
  2405. -- Table structure for ACT_RU_JOB
  2406. -- ----------------------------
  2407. -- DROP TABLE "ACT_RU_JOB";
  2408. CREATE TABLE "ACT_RU_JOB" (
  2409. "ID_" NVARCHAR2(64) NOT NULL ,
  2410. "REV_" NUMBER ,
  2411. "TYPE_" NVARCHAR2(255) NOT NULL ,
  2412. "LOCK_EXP_TIME_" TIMESTAMP(6) ,
  2413. "LOCK_OWNER_" NVARCHAR2(255) ,
  2414. "EXCLUSIVE_" NUMBER(1) ,
  2415. "EXECUTION_ID_" NVARCHAR2(64) ,
  2416. "PROCESS_INSTANCE_ID_" NVARCHAR2(64) ,
  2417. "PROC_DEF_ID_" NVARCHAR2(64) ,
  2418. "ELEMENT_ID_" NVARCHAR2(255) ,
  2419. "ELEMENT_NAME_" NVARCHAR2(255) ,
  2420. "SCOPE_ID_" NVARCHAR2(255) ,
  2421. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  2422. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2423. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  2424. "RETRIES_" NUMBER ,
  2425. "EXCEPTION_STACK_ID_" NVARCHAR2(64) ,
  2426. "EXCEPTION_MSG_" NVARCHAR2(2000) ,
  2427. "DUEDATE_" TIMESTAMP(6) ,
  2428. "REPEAT_" NVARCHAR2(255) ,
  2429. "HANDLER_TYPE_" NVARCHAR2(255) ,
  2430. "HANDLER_CFG_" NVARCHAR2(2000) ,
  2431. "CUSTOM_VALUES_ID_" NVARCHAR2(64) ,
  2432. "CREATE_TIME_" TIMESTAMP(6) ,
  2433. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  2434. )
  2435. TABLESPACE "USERS"
  2436. LOGGING
  2437. NOCOMPRESS
  2438. PCTFREE 10
  2439. INITRANS 1
  2440. STORAGE (
  2441. INITIAL 65536
  2442. NEXT 1048576
  2443. MINEXTENTS 1
  2444. MAXEXTENTS 2147483645
  2445. BUFFER_POOL DEFAULT
  2446. )
  2447. PARALLEL 1
  2448. NOCACHE
  2449. DISABLE ROW MOVEMENT
  2450. ;
  2451. -- ----------------------------
  2452. -- Table structure for ACT_RU_SUSPENDED_JOB
  2453. -- ----------------------------
  2454. -- DROP TABLE "ACT_RU_SUSPENDED_JOB";
  2455. CREATE TABLE "ACT_RU_SUSPENDED_JOB" (
  2456. "ID_" NVARCHAR2(64) NOT NULL ,
  2457. "REV_" NUMBER ,
  2458. "TYPE_" NVARCHAR2(255) NOT NULL ,
  2459. "EXCLUSIVE_" NUMBER(1) ,
  2460. "EXECUTION_ID_" NVARCHAR2(64) ,
  2461. "PROCESS_INSTANCE_ID_" NVARCHAR2(64) ,
  2462. "PROC_DEF_ID_" NVARCHAR2(64) ,
  2463. "ELEMENT_ID_" NVARCHAR2(255) ,
  2464. "ELEMENT_NAME_" NVARCHAR2(255) ,
  2465. "SCOPE_ID_" NVARCHAR2(255) ,
  2466. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  2467. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2468. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  2469. "RETRIES_" NUMBER ,
  2470. "EXCEPTION_STACK_ID_" NVARCHAR2(64) ,
  2471. "EXCEPTION_MSG_" NVARCHAR2(2000) ,
  2472. "DUEDATE_" TIMESTAMP(6) ,
  2473. "REPEAT_" NVARCHAR2(255) ,
  2474. "HANDLER_TYPE_" NVARCHAR2(255) ,
  2475. "HANDLER_CFG_" NVARCHAR2(2000) ,
  2476. "CUSTOM_VALUES_ID_" NVARCHAR2(64) ,
  2477. "CREATE_TIME_" TIMESTAMP(6) ,
  2478. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  2479. )
  2480. TABLESPACE "USERS"
  2481. LOGGING
  2482. NOCOMPRESS
  2483. PCTFREE 10
  2484. INITRANS 1
  2485. STORAGE (
  2486. INITIAL 65536
  2487. NEXT 1048576
  2488. MINEXTENTS 1
  2489. MAXEXTENTS 2147483645
  2490. BUFFER_POOL DEFAULT
  2491. )
  2492. PARALLEL 1
  2493. NOCACHE
  2494. DISABLE ROW MOVEMENT
  2495. ;
  2496. -- ----------------------------
  2497. -- Table structure for ACT_RU_TASK
  2498. -- ----------------------------
  2499. -- DROP TABLE "ACT_RU_TASK";
  2500. CREATE TABLE "ACT_RU_TASK" (
  2501. "ID_" NVARCHAR2(64) NOT NULL ,
  2502. "REV_" NUMBER ,
  2503. "EXECUTION_ID_" NVARCHAR2(64) ,
  2504. "PROC_INST_ID_" NVARCHAR2(64) ,
  2505. "PROC_DEF_ID_" NVARCHAR2(64) ,
  2506. "TASK_DEF_ID_" NVARCHAR2(64) ,
  2507. "SCOPE_ID_" NVARCHAR2(255) ,
  2508. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  2509. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2510. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  2511. "NAME_" NVARCHAR2(255) ,
  2512. "PARENT_TASK_ID_" NVARCHAR2(64) ,
  2513. "DESCRIPTION_" NVARCHAR2(2000) ,
  2514. "TASK_DEF_KEY_" NVARCHAR2(255) ,
  2515. "OWNER_" NVARCHAR2(255) ,
  2516. "ASSIGNEE_" NVARCHAR2(255) ,
  2517. "DELEGATION_" NVARCHAR2(64) ,
  2518. "PRIORITY_" NUMBER ,
  2519. "CREATE_TIME_" TIMESTAMP(6) ,
  2520. "DUE_DATE_" TIMESTAMP(6) ,
  2521. "CATEGORY_" NVARCHAR2(255) ,
  2522. "SUSPENSION_STATE_" NUMBER ,
  2523. "TENANT_ID_" NVARCHAR2(255) DEFAULT '' ,
  2524. "FORM_KEY_" NVARCHAR2(255) ,
  2525. "CLAIM_TIME_" TIMESTAMP(6) ,
  2526. "IS_COUNT_ENABLED_" NUMBER(1) ,
  2527. "VAR_COUNT_" NUMBER ,
  2528. "ID_LINK_COUNT_" NUMBER ,
  2529. "SUB_TASK_COUNT_" NUMBER
  2530. )
  2531. TABLESPACE "USERS"
  2532. LOGGING
  2533. NOCOMPRESS
  2534. PCTFREE 10
  2535. INITRANS 1
  2536. STORAGE (
  2537. INITIAL 65536
  2538. NEXT 1048576
  2539. MINEXTENTS 1
  2540. MAXEXTENTS 2147483645
  2541. BUFFER_POOL DEFAULT
  2542. )
  2543. PARALLEL 1
  2544. NOCACHE
  2545. DISABLE ROW MOVEMENT
  2546. ;
  2547. -- ----------------------------
  2548. -- Table structure for ACT_RU_TIMER_JOB
  2549. -- ----------------------------
  2550. -- DROP TABLE "ACT_RU_TIMER_JOB";
  2551. CREATE TABLE "ACT_RU_TIMER_JOB" (
  2552. "ID_" NVARCHAR2(64) NOT NULL ,
  2553. "REV_" NUMBER ,
  2554. "TYPE_" NVARCHAR2(255) NOT NULL ,
  2555. "LOCK_EXP_TIME_" TIMESTAMP(6) ,
  2556. "LOCK_OWNER_" NVARCHAR2(255) ,
  2557. "EXCLUSIVE_" NUMBER(1) ,
  2558. "EXECUTION_ID_" NVARCHAR2(64) ,
  2559. "PROCESS_INSTANCE_ID_" NVARCHAR2(64) ,
  2560. "PROC_DEF_ID_" NVARCHAR2(64) ,
  2561. "ELEMENT_ID_" NVARCHAR2(255) ,
  2562. "ELEMENT_NAME_" NVARCHAR2(255) ,
  2563. "SCOPE_ID_" NVARCHAR2(255) ,
  2564. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  2565. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2566. "SCOPE_DEFINITION_ID_" NVARCHAR2(255) ,
  2567. "RETRIES_" NUMBER ,
  2568. "EXCEPTION_STACK_ID_" NVARCHAR2(64) ,
  2569. "EXCEPTION_MSG_" NVARCHAR2(2000) ,
  2570. "DUEDATE_" TIMESTAMP(6) ,
  2571. "REPEAT_" NVARCHAR2(255) ,
  2572. "HANDLER_TYPE_" NVARCHAR2(255) ,
  2573. "HANDLER_CFG_" NVARCHAR2(2000) ,
  2574. "CUSTOM_VALUES_ID_" NVARCHAR2(64) ,
  2575. "CREATE_TIME_" TIMESTAMP(6) ,
  2576. "TENANT_ID_" NVARCHAR2(255) DEFAULT ''
  2577. )
  2578. TABLESPACE "USERS"
  2579. LOGGING
  2580. NOCOMPRESS
  2581. PCTFREE 10
  2582. INITRANS 1
  2583. STORAGE (
  2584. INITIAL 65536
  2585. NEXT 1048576
  2586. MINEXTENTS 1
  2587. MAXEXTENTS 2147483645
  2588. BUFFER_POOL DEFAULT
  2589. )
  2590. PARALLEL 1
  2591. NOCACHE
  2592. DISABLE ROW MOVEMENT
  2593. ;
  2594. -- ----------------------------
  2595. -- Table structure for ACT_RU_VARIABLE
  2596. -- ----------------------------
  2597. -- DROP TABLE "ACT_RU_VARIABLE";
  2598. CREATE TABLE "ACT_RU_VARIABLE" (
  2599. "ID_" NVARCHAR2(64) NOT NULL ,
  2600. "REV_" NUMBER ,
  2601. "TYPE_" NVARCHAR2(255) NOT NULL ,
  2602. "NAME_" NVARCHAR2(255) NOT NULL ,
  2603. "EXECUTION_ID_" NVARCHAR2(64) ,
  2604. "PROC_INST_ID_" NVARCHAR2(64) ,
  2605. "TASK_ID_" NVARCHAR2(64) ,
  2606. "SCOPE_ID_" NVARCHAR2(255) ,
  2607. "SUB_SCOPE_ID_" NVARCHAR2(255) ,
  2608. "SCOPE_TYPE_" NVARCHAR2(255) ,
  2609. "BYTEARRAY_ID_" NVARCHAR2(64) ,
  2610. "DOUBLE_" NUMBER ,
  2611. "LONG_" NUMBER(19) ,
  2612. "TEXT_" NVARCHAR2(2000) ,
  2613. "TEXT2_" NVARCHAR2(2000)
  2614. )
  2615. TABLESPACE "USERS"
  2616. LOGGING
  2617. NOCOMPRESS
  2618. PCTFREE 10
  2619. INITRANS 1
  2620. STORAGE (
  2621. INITIAL 65536
  2622. NEXT 1048576
  2623. MINEXTENTS 1
  2624. MAXEXTENTS 2147483645
  2625. BUFFER_POOL DEFAULT
  2626. )
  2627. PARALLEL 1
  2628. NOCACHE
  2629. DISABLE ROW MOVEMENT
  2630. ;
  2631. -- ----------------------------
  2632. -- Sequence structure for ACT_EVT_LOG_SEQ
  2633. -- ----------------------------
  2634. DROP SEQUENCE "ACT_EVT_LOG_SEQ";
  2635. CREATE SEQUENCE "ACT_EVT_LOG_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 CACHE 20;
  2636. -- ----------------------------
  2637. -- Sequence structure for ACT_HI_TASK_EVT_LOG_SEQ
  2638. -- ----------------------------
  2639. DROP SEQUENCE "ACT_HI_TASK_EVT_LOG_SEQ";
  2640. CREATE SEQUENCE "ACT_HI_TASK_EVT_LOG_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 CACHE 20;
  2641. -- ----------------------------
  2642. -- Primary Key structure for table ACT_APP_APPDEF
  2643. -- ----------------------------
  2644. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "PK_ACT_APP_APPDEF" PRIMARY KEY ("ID_");
  2645. -- ----------------------------
  2646. -- Checks structure for table ACT_APP_APPDEF
  2647. -- ----------------------------
  2648. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0015409" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2649. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0015410" CHECK ("REV_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2650. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0015411" CHECK ("KEY_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2651. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "SYS_C0015412" CHECK ("VERSION_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2652. -- ----------------------------
  2653. -- Indexes structure for table ACT_APP_APPDEF
  2654. -- ----------------------------
  2655. CREATE INDEX "ACT_IDX_APP_DEF_DPLY"
  2656. ON "ACT_APP_APPDEF" ("DEPLOYMENT_ID_" ASC)
  2657. LOGGING
  2658. TABLESPACE "USERS"
  2659. VISIBLE
  2660. PCTFREE 10
  2661. INITRANS 2
  2662. STORAGE (
  2663. INITIAL 65536
  2664. NEXT 1048576
  2665. MINEXTENTS 1
  2666. MAXEXTENTS 2147483645
  2667. BUFFER_POOL DEFAULT
  2668. );
  2669. CREATE UNIQUE INDEX "ACT_IDX_APP_DEF_UNIQ"
  2670. ON "ACT_APP_APPDEF" ("VERSION_" ASC, "TENANT_ID_" ASC, "KEY_" ASC)
  2671. LOGGING
  2672. TABLESPACE "USERS"
  2673. VISIBLE
  2674. PCTFREE 10
  2675. INITRANS 2
  2676. STORAGE (
  2677. INITIAL 65536
  2678. NEXT 1048576
  2679. MINEXTENTS 1
  2680. MAXEXTENTS 2147483645
  2681. BUFFER_POOL DEFAULT
  2682. );
  2683. -- ----------------------------
  2684. -- Checks structure for table ACT_APP_DATABASECHANGELOG
  2685. -- ----------------------------
  2686. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015398" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2687. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015399" CHECK ("AUTHOR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2688. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015400" CHECK ("FILENAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2689. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015401" CHECK ("DATEEXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2690. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015402" CHECK ("ORDEREXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2691. ALTER TABLE "ACT_APP_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015403" CHECK ("EXECTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2692. -- ----------------------------
  2693. -- Primary Key structure for table ACT_APP_DATABASECHANGELOGLOCK
  2694. -- ----------------------------
  2695. ALTER TABLE "ACT_APP_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_APP_DATABASECHANGELOGLO" PRIMARY KEY ("ID");
  2696. -- ----------------------------
  2697. -- Checks structure for table ACT_APP_DATABASECHANGELOGLOCK
  2698. -- ----------------------------
  2699. ALTER TABLE "ACT_APP_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015395" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2700. ALTER TABLE "ACT_APP_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015396" CHECK ("LOCKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2701. -- ----------------------------
  2702. -- Primary Key structure for table ACT_APP_DEPLOYMENT
  2703. -- ----------------------------
  2704. ALTER TABLE "ACT_APP_DEPLOYMENT" ADD CONSTRAINT "PK_ACT_APP_DEPLOYMENT" PRIMARY KEY ("ID_");
  2705. -- ----------------------------
  2706. -- Checks structure for table ACT_APP_DEPLOYMENT
  2707. -- ----------------------------
  2708. ALTER TABLE "ACT_APP_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015404" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2709. -- ----------------------------
  2710. -- Primary Key structure for table ACT_APP_DEPLOYMENT_RESOURCE
  2711. -- ----------------------------
  2712. ALTER TABLE "ACT_APP_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "PK_APP_DEPLOYMENT_RESOURCE" PRIMARY KEY ("ID_");
  2713. -- ----------------------------
  2714. -- Checks structure for table ACT_APP_DEPLOYMENT_RESOURCE
  2715. -- ----------------------------
  2716. ALTER TABLE "ACT_APP_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0015406" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2717. -- ----------------------------
  2718. -- Indexes structure for table ACT_APP_DEPLOYMENT_RESOURCE
  2719. -- ----------------------------
  2720. CREATE INDEX "ACT_IDX_APP_RSRC_DPL"
  2721. ON "ACT_APP_DEPLOYMENT_RESOURCE" ("DEPLOYMENT_ID_" ASC)
  2722. LOGGING
  2723. ONLINE
  2724. TABLESPACE "USERS"
  2725. VISIBLE
  2726. PCTFREE 10
  2727. INITRANS 2
  2728. STORAGE (
  2729. INITIAL 65536
  2730. NEXT 1048576
  2731. MINEXTENTS 1
  2732. MAXEXTENTS 2147483645
  2733. BUFFER_POOL DEFAULT
  2734. );
  2735. -- ----------------------------
  2736. -- Primary Key structure for table ACT_CMMN_CASEDEF
  2737. -- ----------------------------
  2738. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "PK_ACT_CMMN_CASEDEF" PRIMARY KEY ("ID_");
  2739. -- ----------------------------
  2740. -- Checks structure for table ACT_CMMN_CASEDEF
  2741. -- ----------------------------
  2742. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0015429" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2743. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0015430" CHECK ("REV_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2744. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0015431" CHECK ("KEY_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2745. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "SYS_C0015432" CHECK ("VERSION_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2746. -- ----------------------------
  2747. -- Indexes structure for table ACT_CMMN_CASEDEF
  2748. -- ----------------------------
  2749. CREATE INDEX "ACT_IDX_CASE_DEF_DPLY"
  2750. ON "ACT_CMMN_CASEDEF" ("DEPLOYMENT_ID_" ASC)
  2751. LOGGING
  2752. ONLINE
  2753. TABLESPACE "USERS"
  2754. VISIBLE
  2755. PCTFREE 10
  2756. INITRANS 2
  2757. STORAGE (
  2758. INITIAL 65536
  2759. NEXT 1048576
  2760. MINEXTENTS 1
  2761. MAXEXTENTS 2147483645
  2762. BUFFER_POOL DEFAULT
  2763. );
  2764. CREATE UNIQUE INDEX "ACT_IDX_CASE_DEF_UNIQ"
  2765. ON "ACT_CMMN_CASEDEF" ("TENANT_ID_" ASC, "KEY_" ASC, "VERSION_" ASC)
  2766. LOGGING
  2767. TABLESPACE "USERS"
  2768. VISIBLE
  2769. PCTFREE 10
  2770. INITRANS 2
  2771. STORAGE (
  2772. INITIAL 65536
  2773. NEXT 1048576
  2774. MINEXTENTS 1
  2775. MAXEXTENTS 2147483645
  2776. BUFFER_POOL DEFAULT
  2777. );
  2778. -- ----------------------------
  2779. -- Checks structure for table ACT_CMMN_DATABASECHANGELOG
  2780. -- ----------------------------
  2781. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015418" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2782. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015419" CHECK ("AUTHOR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2783. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015420" CHECK ("FILENAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2784. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015421" CHECK ("DATEEXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2785. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015422" CHECK ("ORDEREXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2786. ALTER TABLE "ACT_CMMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015423" CHECK ("EXECTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2787. -- ----------------------------
  2788. -- Primary Key structure for table ACT_CMMN_DATABASECHANGELOGLOCK
  2789. -- ----------------------------
  2790. ALTER TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_CMMN_DATABASECHANGELOGL" PRIMARY KEY ("ID");
  2791. -- ----------------------------
  2792. -- Checks structure for table ACT_CMMN_DATABASECHANGELOGLOCK
  2793. -- ----------------------------
  2794. ALTER TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015415" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2795. ALTER TABLE "ACT_CMMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015416" CHECK ("LOCKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2796. -- ----------------------------
  2797. -- Primary Key structure for table ACT_CMMN_DEPLOYMENT
  2798. -- ----------------------------
  2799. ALTER TABLE "ACT_CMMN_DEPLOYMENT" ADD CONSTRAINT "PK_ACT_CMMN_DEPLOYMENT" PRIMARY KEY ("ID_");
  2800. -- ----------------------------
  2801. -- Checks structure for table ACT_CMMN_DEPLOYMENT
  2802. -- ----------------------------
  2803. ALTER TABLE "ACT_CMMN_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015424" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2804. -- ----------------------------
  2805. -- Primary Key structure for table ACT_CMMN_DEPLOYMENT_RESOURCE
  2806. -- ----------------------------
  2807. ALTER TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "PK_CMMN_DEPLOYMENT_RESOURCE" PRIMARY KEY ("ID_");
  2808. -- ----------------------------
  2809. -- Checks structure for table ACT_CMMN_DEPLOYMENT_RESOURCE
  2810. -- ----------------------------
  2811. ALTER TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0015426" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2812. -- ----------------------------
  2813. -- Indexes structure for table ACT_CMMN_DEPLOYMENT_RESOURCE
  2814. -- ----------------------------
  2815. CREATE INDEX "ACT_IDX_CMMN_RSRC_DPL"
  2816. ON "ACT_CMMN_DEPLOYMENT_RESOURCE" ("DEPLOYMENT_ID_" ASC)
  2817. LOGGING
  2818. TABLESPACE "USERS"
  2819. VISIBLE
  2820. PCTFREE 10
  2821. INITRANS 2
  2822. STORAGE (
  2823. INITIAL 65536
  2824. NEXT 1048576
  2825. MINEXTENTS 1
  2826. MAXEXTENTS 2147483645
  2827. BUFFER_POOL DEFAULT
  2828. );
  2829. -- ----------------------------
  2830. -- Primary Key structure for table ACT_CMMN_HI_CASE_INST
  2831. -- ----------------------------
  2832. ALTER TABLE "ACT_CMMN_HI_CASE_INST" ADD CONSTRAINT "PK_ACT_CMMN_HI_CASE_INST" PRIMARY KEY ("ID_");
  2833. -- ----------------------------
  2834. -- Checks structure for table ACT_CMMN_HI_CASE_INST
  2835. -- ----------------------------
  2836. ALTER TABLE "ACT_CMMN_HI_CASE_INST" ADD CONSTRAINT "SYS_C0015459" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2837. ALTER TABLE "ACT_CMMN_HI_CASE_INST" ADD CONSTRAINT "SYS_C0015460" CHECK ("REV_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2838. -- ----------------------------
  2839. -- Primary Key structure for table ACT_CMMN_HI_MIL_INST
  2840. -- ----------------------------
  2841. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "PK_ACT_CMMN_HI_MIL_INST" PRIMARY KEY ("ID_");
  2842. -- ----------------------------
  2843. -- Checks structure for table ACT_CMMN_HI_MIL_INST
  2844. -- ----------------------------
  2845. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015462" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2846. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015463" CHECK ("REV_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2847. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015464" CHECK ("NAME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2848. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015465" CHECK ("TIME_STAMP_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2849. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015466" CHECK ("CASE_INST_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2850. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015467" CHECK ("CASE_DEF_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2851. ALTER TABLE "ACT_CMMN_HI_MIL_INST" ADD CONSTRAINT "SYS_C0015468" CHECK ("ELEMENT_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2852. -- ----------------------------
  2853. -- Primary Key structure for table ACT_CMMN_HI_PLAN_ITEM_INST
  2854. -- ----------------------------
  2855. ALTER TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" ADD CONSTRAINT "PK_ACT_CMMN_HI_PLAN_ITEM_INST" PRIMARY KEY ("ID_");
  2856. -- ----------------------------
  2857. -- Checks structure for table ACT_CMMN_HI_PLAN_ITEM_INST
  2858. -- ----------------------------
  2859. ALTER TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0015470" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2860. ALTER TABLE "ACT_CMMN_HI_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0015471" CHECK ("REV_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2861. -- ----------------------------
  2862. -- Primary Key structure for table ACT_CMMN_RU_CASE_INST
  2863. -- ----------------------------
  2864. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "PK_ACT_CMMN_RU_CASE_INST" PRIMARY KEY ("ID_");
  2865. -- ----------------------------
  2866. -- Checks structure for table ACT_CMMN_RU_CASE_INST
  2867. -- ----------------------------
  2868. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "SYS_C0015435" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2869. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "SYS_C0015436" CHECK ("REV_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2870. -- ----------------------------
  2871. -- Indexes structure for table ACT_CMMN_RU_CASE_INST
  2872. -- ----------------------------
  2873. CREATE INDEX "ACT_IDX_CASE_INST_CASE_DEF"
  2874. ON "ACT_CMMN_RU_CASE_INST" ("CASE_DEF_ID_" ASC)
  2875. LOGGING
  2876. ONLINE
  2877. TABLESPACE "USERS"
  2878. VISIBLE
  2879. PCTFREE 10
  2880. INITRANS 2
  2881. STORAGE (
  2882. INITIAL 65536
  2883. NEXT 1048576
  2884. MINEXTENTS 1
  2885. MAXEXTENTS 2147483645
  2886. BUFFER_POOL DEFAULT
  2887. );
  2888. CREATE INDEX "ACT_IDX_CASE_INST_PARENT"
  2889. ON "ACT_CMMN_RU_CASE_INST" ("PARENT_ID_" ASC)
  2890. LOGGING
  2891. TABLESPACE "USERS"
  2892. VISIBLE
  2893. PCTFREE 10
  2894. INITRANS 2
  2895. STORAGE (
  2896. INITIAL 65536
  2897. NEXT 1048576
  2898. MINEXTENTS 1
  2899. MAXEXTENTS 2147483645
  2900. BUFFER_POOL DEFAULT
  2901. );
  2902. -- ----------------------------
  2903. -- Primary Key structure for table ACT_CMMN_RU_MIL_INST
  2904. -- ----------------------------
  2905. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "PK_ACT_CMMN_RU_MIL_INST" PRIMARY KEY ("ID_");
  2906. -- ----------------------------
  2907. -- Checks structure for table ACT_CMMN_RU_MIL_INST
  2908. -- ----------------------------
  2909. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015450" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2910. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015451" CHECK ("NAME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2911. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015452" CHECK ("TIME_STAMP_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2912. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015453" CHECK ("CASE_INST_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2913. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015454" CHECK ("CASE_DEF_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2914. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "SYS_C0015455" CHECK ("ELEMENT_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2915. -- ----------------------------
  2916. -- Indexes structure for table ACT_CMMN_RU_MIL_INST
  2917. -- ----------------------------
  2918. CREATE INDEX "ACT_IDX_MIL_CASE_DEF"
  2919. ON "ACT_CMMN_RU_MIL_INST" ("CASE_DEF_ID_" ASC)
  2920. LOGGING
  2921. TABLESPACE "USERS"
  2922. VISIBLE
  2923. PCTFREE 10
  2924. INITRANS 2
  2925. STORAGE (
  2926. INITIAL 65536
  2927. NEXT 1048576
  2928. MINEXTENTS 1
  2929. MAXEXTENTS 2147483645
  2930. BUFFER_POOL DEFAULT
  2931. );
  2932. CREATE INDEX "ACT_IDX_MIL_CASE_INST"
  2933. ON "ACT_CMMN_RU_MIL_INST" ("CASE_INST_ID_" ASC)
  2934. LOGGING
  2935. TABLESPACE "USERS"
  2936. VISIBLE
  2937. PCTFREE 10
  2938. INITRANS 2
  2939. STORAGE (
  2940. INITIAL 65536
  2941. NEXT 1048576
  2942. MINEXTENTS 1
  2943. MAXEXTENTS 2147483645
  2944. BUFFER_POOL DEFAULT
  2945. );
  2946. -- ----------------------------
  2947. -- Primary Key structure for table ACT_CMMN_RU_PLAN_ITEM_INST
  2948. -- ----------------------------
  2949. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "PK_CMMN_PLAN_ITEM_INST" PRIMARY KEY ("ID_");
  2950. -- ----------------------------
  2951. -- Checks structure for table ACT_CMMN_RU_PLAN_ITEM_INST
  2952. -- ----------------------------
  2953. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0015439" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2954. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "SYS_C0015440" CHECK ("REV_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  2955. -- ----------------------------
  2956. -- Indexes structure for table ACT_CMMN_RU_PLAN_ITEM_INST
  2957. -- ----------------------------
  2958. CREATE INDEX "ACT_IDX_PLAN_ITEM_CASE_DEF"
  2959. ON "ACT_CMMN_RU_PLAN_ITEM_INST" ("CASE_DEF_ID_" ASC)
  2960. LOGGING
  2961. ONLINE
  2962. TABLESPACE "USERS"
  2963. VISIBLE
  2964. PCTFREE 10
  2965. INITRANS 2
  2966. STORAGE (
  2967. INITIAL 65536
  2968. NEXT 1048576
  2969. MINEXTENTS 1
  2970. MAXEXTENTS 2147483645
  2971. BUFFER_POOL DEFAULT
  2972. );
  2973. CREATE INDEX "ACT_IDX_PLAN_ITEM_CASE_INST"
  2974. ON "ACT_CMMN_RU_PLAN_ITEM_INST" ("CASE_INST_ID_" ASC)
  2975. LOGGING
  2976. ONLINE
  2977. TABLESPACE "USERS"
  2978. VISIBLE
  2979. PCTFREE 10
  2980. INITRANS 2
  2981. STORAGE (
  2982. INITIAL 65536
  2983. NEXT 1048576
  2984. MINEXTENTS 1
  2985. MAXEXTENTS 2147483645
  2986. BUFFER_POOL DEFAULT
  2987. );
  2988. CREATE INDEX "ACT_IDX_PLAN_ITEM_STAGE_INST"
  2989. ON "ACT_CMMN_RU_PLAN_ITEM_INST" ("STAGE_INST_ID_" ASC)
  2990. LOGGING
  2991. ONLINE
  2992. TABLESPACE "USERS"
  2993. VISIBLE
  2994. PCTFREE 10
  2995. INITRANS 2
  2996. STORAGE (
  2997. INITIAL 65536
  2998. NEXT 1048576
  2999. MINEXTENTS 1
  3000. MAXEXTENTS 2147483645
  3001. BUFFER_POOL DEFAULT
  3002. );
  3003. -- ----------------------------
  3004. -- Primary Key structure for table ACT_CMMN_RU_SENTRY_PART_INST
  3005. -- ----------------------------
  3006. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "PK_CMMN_SENTRY_PART_INST" PRIMARY KEY ("ID_");
  3007. -- ----------------------------
  3008. -- Checks structure for table ACT_CMMN_RU_SENTRY_PART_INST
  3009. -- ----------------------------
  3010. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "SYS_C0015444" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3011. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "SYS_C0015445" CHECK ("REV_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3012. -- ----------------------------
  3013. -- Indexes structure for table ACT_CMMN_RU_SENTRY_PART_INST
  3014. -- ----------------------------
  3015. CREATE INDEX "ACT_IDX_SENTRY_CASE_DEF"
  3016. ON "ACT_CMMN_RU_SENTRY_PART_INST" ("CASE_DEF_ID_" ASC)
  3017. LOGGING
  3018. TABLESPACE "USERS"
  3019. VISIBLE
  3020. PCTFREE 10
  3021. INITRANS 2
  3022. STORAGE (
  3023. INITIAL 65536
  3024. NEXT 1048576
  3025. MINEXTENTS 1
  3026. MAXEXTENTS 2147483645
  3027. BUFFER_POOL DEFAULT
  3028. );
  3029. CREATE INDEX "ACT_IDX_SENTRY_CASE_INST"
  3030. ON "ACT_CMMN_RU_SENTRY_PART_INST" ("CASE_INST_ID_" ASC)
  3031. LOGGING
  3032. ONLINE
  3033. TABLESPACE "USERS"
  3034. VISIBLE
  3035. PCTFREE 10
  3036. INITRANS 2
  3037. STORAGE (
  3038. INITIAL 65536
  3039. NEXT 1048576
  3040. MINEXTENTS 1
  3041. MAXEXTENTS 2147483645
  3042. BUFFER_POOL DEFAULT
  3043. );
  3044. CREATE INDEX "ACT_IDX_SENTRY_PLAN_ITEM"
  3045. ON "ACT_CMMN_RU_SENTRY_PART_INST" ("PLAN_ITEM_INST_ID_" ASC)
  3046. LOGGING
  3047. TABLESPACE "USERS"
  3048. VISIBLE
  3049. PCTFREE 10
  3050. INITRANS 2
  3051. STORAGE (
  3052. INITIAL 65536
  3053. NEXT 1048576
  3054. MINEXTENTS 1
  3055. MAXEXTENTS 2147483645
  3056. BUFFER_POOL DEFAULT
  3057. );
  3058. -- ----------------------------
  3059. -- Primary Key structure for table ACT_CO_CONTENT_ITEM
  3060. -- ----------------------------
  3061. ALTER TABLE "ACT_CO_CONTENT_ITEM" ADD CONSTRAINT "PK_ACT_CO_CONTENT_ITEM" PRIMARY KEY ("ID_");
  3062. -- ----------------------------
  3063. -- Checks structure for table ACT_CO_CONTENT_ITEM
  3064. -- ----------------------------
  3065. ALTER TABLE "ACT_CO_CONTENT_ITEM" ADD CONSTRAINT "SYS_C0015517" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3066. ALTER TABLE "ACT_CO_CONTENT_ITEM" ADD CONSTRAINT "SYS_C0015518" CHECK ("NAME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3067. -- ----------------------------
  3068. -- Indexes structure for table ACT_CO_CONTENT_ITEM
  3069. -- ----------------------------
  3070. CREATE INDEX "IDX_CONTITEM_PROCID"
  3071. ON "ACT_CO_CONTENT_ITEM" ("PROC_INST_ID_" ASC)
  3072. LOGGING
  3073. TABLESPACE "USERS"
  3074. VISIBLE
  3075. PCTFREE 10
  3076. INITRANS 2
  3077. STORAGE (
  3078. INITIAL 65536
  3079. NEXT 1048576
  3080. MINEXTENTS 1
  3081. MAXEXTENTS 2147483645
  3082. BUFFER_POOL DEFAULT
  3083. );
  3084. CREATE INDEX "IDX_CONTITEM_SCOPE"
  3085. ON "ACT_CO_CONTENT_ITEM" ("SCOPE_TYPE_" ASC, "SCOPE_ID_" ASC)
  3086. LOGGING
  3087. TABLESPACE "USERS"
  3088. VISIBLE
  3089. PCTFREE 10
  3090. INITRANS 2
  3091. STORAGE (
  3092. INITIAL 65536
  3093. NEXT 1048576
  3094. MINEXTENTS 1
  3095. MAXEXTENTS 2147483645
  3096. BUFFER_POOL DEFAULT
  3097. );
  3098. CREATE INDEX "IDX_CONTITEM_TASKID"
  3099. ON "ACT_CO_CONTENT_ITEM" ("TASK_ID_" ASC)
  3100. LOGGING
  3101. ONLINE
  3102. TABLESPACE "USERS"
  3103. VISIBLE
  3104. PCTFREE 10
  3105. INITRANS 2
  3106. STORAGE (
  3107. INITIAL 65536
  3108. NEXT 1048576
  3109. MINEXTENTS 1
  3110. MAXEXTENTS 2147483645
  3111. BUFFER_POOL DEFAULT
  3112. );
  3113. -- ----------------------------
  3114. -- Checks structure for table ACT_CO_DATABASECHANGELOG
  3115. -- ----------------------------
  3116. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015511" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3117. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015512" CHECK ("AUTHOR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3118. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015513" CHECK ("FILENAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3119. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015514" CHECK ("DATEEXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3120. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015515" CHECK ("ORDEREXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3121. ALTER TABLE "ACT_CO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015516" CHECK ("EXECTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3122. -- ----------------------------
  3123. -- Primary Key structure for table ACT_CO_DATABASECHANGELOGLOCK
  3124. -- ----------------------------
  3125. ALTER TABLE "ACT_CO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_CO_DATABASECHANGELOGLOC" PRIMARY KEY ("ID");
  3126. -- ----------------------------
  3127. -- Checks structure for table ACT_CO_DATABASECHANGELOGLOCK
  3128. -- ----------------------------
  3129. ALTER TABLE "ACT_CO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015508" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3130. ALTER TABLE "ACT_CO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015509" CHECK ("LOCKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3131. -- ----------------------------
  3132. -- Checks structure for table ACT_DE_DATABASECHANGELOG
  3133. -- ----------------------------
  3134. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015523" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3135. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015524" CHECK ("AUTHOR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3136. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015525" CHECK ("FILENAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3137. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015526" CHECK ("DATEEXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3138. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015527" CHECK ("ORDEREXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3139. ALTER TABLE "ACT_DE_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015528" CHECK ("EXECTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3140. -- ----------------------------
  3141. -- Primary Key structure for table ACT_DE_DATABASECHANGELOGLOCK
  3142. -- ----------------------------
  3143. ALTER TABLE "ACT_DE_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_DE_DATABASECHANGELOGLOC" PRIMARY KEY ("ID");
  3144. -- ----------------------------
  3145. -- Checks structure for table ACT_DE_DATABASECHANGELOGLOCK
  3146. -- ----------------------------
  3147. ALTER TABLE "ACT_DE_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015520" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3148. ALTER TABLE "ACT_DE_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015521" CHECK ("LOCKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3149. -- ----------------------------
  3150. -- Primary Key structure for table ACT_DE_MODEL
  3151. -- ----------------------------
  3152. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "PK_ACT_DE_MODEL" PRIMARY KEY ("ID");
  3153. -- ----------------------------
  3154. -- Checks structure for table ACT_DE_MODEL
  3155. -- ----------------------------
  3156. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0015529" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3157. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0015530" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3158. ALTER TABLE "ACT_DE_MODEL" ADD CONSTRAINT "SYS_C0015531" CHECK ("MODEL_KEY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3159. -- ----------------------------
  3160. -- Indexes structure for table ACT_DE_MODEL
  3161. -- ----------------------------
  3162. CREATE INDEX "IDX_PROC_MOD_CREATED"
  3163. ON "ACT_DE_MODEL" ("CREATED_BY" ASC)
  3164. LOGGING
  3165. TABLESPACE "USERS"
  3166. VISIBLE
  3167. PCTFREE 10
  3168. INITRANS 2
  3169. STORAGE (
  3170. INITIAL 65536
  3171. NEXT 1048576
  3172. MINEXTENTS 1
  3173. MAXEXTENTS 2147483645
  3174. BUFFER_POOL DEFAULT
  3175. );
  3176. -- ----------------------------
  3177. -- Primary Key structure for table ACT_DE_MODEL_HISTORY
  3178. -- ----------------------------
  3179. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "PK_ACT_DE_MODEL_HISTORY" PRIMARY KEY ("ID");
  3180. -- ----------------------------
  3181. -- Checks structure for table ACT_DE_MODEL_HISTORY
  3182. -- ----------------------------
  3183. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0015533" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3184. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0015534" CHECK ("NAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3185. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0015535" CHECK ("MODEL_KEY" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3186. ALTER TABLE "ACT_DE_MODEL_HISTORY" ADD CONSTRAINT "SYS_C0015536" CHECK ("MODEL_ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3187. -- ----------------------------
  3188. -- Indexes structure for table ACT_DE_MODEL_HISTORY
  3189. -- ----------------------------
  3190. CREATE INDEX "IDX_PROC_MOD_HISTORY_PROC"
  3191. ON "ACT_DE_MODEL_HISTORY" ("MODEL_ID" ASC)
  3192. LOGGING
  3193. ONLINE
  3194. TABLESPACE "USERS"
  3195. VISIBLE
  3196. PCTFREE 10
  3197. INITRANS 2
  3198. STORAGE (
  3199. INITIAL 65536
  3200. NEXT 1048576
  3201. MINEXTENTS 1
  3202. MAXEXTENTS 2147483645
  3203. BUFFER_POOL DEFAULT
  3204. );
  3205. -- ----------------------------
  3206. -- Primary Key structure for table ACT_DE_MODEL_RELATION
  3207. -- ----------------------------
  3208. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "PK_ACT_DE_MODEL_RELATION" PRIMARY KEY ("ID");
  3209. -- ----------------------------
  3210. -- Checks structure for table ACT_DE_MODEL_RELATION
  3211. -- ----------------------------
  3212. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "SYS_C0015538" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3213. -- ----------------------------
  3214. -- Checks structure for table ACT_DMN_DATABASECHANGELOG
  3215. -- ----------------------------
  3216. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015476" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3217. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015477" CHECK ("AUTHOR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3218. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015478" CHECK ("FILENAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3219. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015479" CHECK ("DATEEXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3220. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015480" CHECK ("ORDEREXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3221. ALTER TABLE "ACT_DMN_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015481" CHECK ("EXECTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3222. -- ----------------------------
  3223. -- Primary Key structure for table ACT_DMN_DATABASECHANGELOGLOCK
  3224. -- ----------------------------
  3225. ALTER TABLE "ACT_DMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_DMN_DATABASECHANGELOGLO" PRIMARY KEY ("ID");
  3226. -- ----------------------------
  3227. -- Checks structure for table ACT_DMN_DATABASECHANGELOGLOCK
  3228. -- ----------------------------
  3229. ALTER TABLE "ACT_DMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015473" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3230. ALTER TABLE "ACT_DMN_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015474" CHECK ("LOCKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3231. -- ----------------------------
  3232. -- Primary Key structure for table ACT_DMN_DECISION_TABLE
  3233. -- ----------------------------
  3234. ALTER TABLE "ACT_DMN_DECISION_TABLE" ADD CONSTRAINT "PK_ACT_DMN_DECISION_TABLE" PRIMARY KEY ("ID_");
  3235. -- ----------------------------
  3236. -- Checks structure for table ACT_DMN_DECISION_TABLE
  3237. -- ----------------------------
  3238. ALTER TABLE "ACT_DMN_DECISION_TABLE" ADD CONSTRAINT "SYS_C0015486" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3239. -- ----------------------------
  3240. -- Indexes structure for table ACT_DMN_DECISION_TABLE
  3241. -- ----------------------------
  3242. CREATE UNIQUE INDEX "ACT_IDX_DEC_TBL_UNIQ"
  3243. ON "ACT_DMN_DECISION_TABLE" ("KEY_" ASC, "TENANT_ID_" ASC, "VERSION_" ASC)
  3244. LOGGING
  3245. TABLESPACE "USERS"
  3246. VISIBLE
  3247. PCTFREE 10
  3248. INITRANS 2
  3249. STORAGE (
  3250. INITIAL 65536
  3251. NEXT 1048576
  3252. MINEXTENTS 1
  3253. MAXEXTENTS 2147483645
  3254. BUFFER_POOL DEFAULT
  3255. );
  3256. -- ----------------------------
  3257. -- Primary Key structure for table ACT_DMN_DEPLOYMENT
  3258. -- ----------------------------
  3259. ALTER TABLE "ACT_DMN_DEPLOYMENT" ADD CONSTRAINT "PK_ACT_DMN_DEPLOYMENT" PRIMARY KEY ("ID_");
  3260. -- ----------------------------
  3261. -- Checks structure for table ACT_DMN_DEPLOYMENT
  3262. -- ----------------------------
  3263. ALTER TABLE "ACT_DMN_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015482" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3264. -- ----------------------------
  3265. -- Primary Key structure for table ACT_DMN_DEPLOYMENT_RESOURCE
  3266. -- ----------------------------
  3267. ALTER TABLE "ACT_DMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "PK_ACT_DMN_DEPLOYMENT_RESOURCE" PRIMARY KEY ("ID_");
  3268. -- ----------------------------
  3269. -- Checks structure for table ACT_DMN_DEPLOYMENT_RESOURCE
  3270. -- ----------------------------
  3271. ALTER TABLE "ACT_DMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "SYS_C0015484" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3272. -- ----------------------------
  3273. -- Primary Key structure for table ACT_DMN_HI_DECISION_EXECUTION
  3274. -- ----------------------------
  3275. ALTER TABLE "ACT_DMN_HI_DECISION_EXECUTION" ADD CONSTRAINT "PK_ACT_DMN_HI_DECISION_EXECUTI" PRIMARY KEY ("ID_");
  3276. -- ----------------------------
  3277. -- Checks structure for table ACT_DMN_HI_DECISION_EXECUTION
  3278. -- ----------------------------
  3279. ALTER TABLE "ACT_DMN_HI_DECISION_EXECUTION" ADD CONSTRAINT "SYS_C0015488" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3280. -- ----------------------------
  3281. -- Primary Key structure for table ACT_EVT_LOG
  3282. -- ----------------------------
  3283. ALTER TABLE "ACT_EVT_LOG" ADD CONSTRAINT "SYS_C0015308" PRIMARY KEY ("LOG_NR_");
  3284. -- ----------------------------
  3285. -- Checks structure for table ACT_EVT_LOG
  3286. -- ----------------------------
  3287. ALTER TABLE "ACT_EVT_LOG" ADD CONSTRAINT "SYS_C0015307" CHECK ("TIME_STAMP_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3288. -- ----------------------------
  3289. -- Checks structure for table ACT_FO_DATABASECHANGELOG
  3290. -- ----------------------------
  3291. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015493" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3292. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015494" CHECK ("AUTHOR" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3293. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015495" CHECK ("FILENAME" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3294. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015496" CHECK ("DATEEXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3295. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015497" CHECK ("ORDEREXECUTED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3296. ALTER TABLE "ACT_FO_DATABASECHANGELOG" ADD CONSTRAINT "SYS_C0015498" CHECK ("EXECTYPE" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3297. -- ----------------------------
  3298. -- Primary Key structure for table ACT_FO_DATABASECHANGELOGLOCK
  3299. -- ----------------------------
  3300. ALTER TABLE "ACT_FO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "PK_ACT_FO_DATABASECHANGELOGLOC" PRIMARY KEY ("ID");
  3301. -- ----------------------------
  3302. -- Checks structure for table ACT_FO_DATABASECHANGELOGLOCK
  3303. -- ----------------------------
  3304. ALTER TABLE "ACT_FO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015490" CHECK ("ID" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3305. ALTER TABLE "ACT_FO_DATABASECHANGELOGLOCK" ADD CONSTRAINT "SYS_C0015491" CHECK ("LOCKED" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3306. -- ----------------------------
  3307. -- Primary Key structure for table ACT_FO_FORM_DEFINITION
  3308. -- ----------------------------
  3309. ALTER TABLE "ACT_FO_FORM_DEFINITION" ADD CONSTRAINT "PK_ACT_FO_FORM_DEFINITION" PRIMARY KEY ("ID_");
  3310. -- ----------------------------
  3311. -- Checks structure for table ACT_FO_FORM_DEFINITION
  3312. -- ----------------------------
  3313. ALTER TABLE "ACT_FO_FORM_DEFINITION" ADD CONSTRAINT "SYS_C0015503" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3314. -- ----------------------------
  3315. -- Indexes structure for table ACT_FO_FORM_DEFINITION
  3316. -- ----------------------------
  3317. CREATE UNIQUE INDEX "ACT_IDX_FORM_DEF_UNIQ"
  3318. ON "ACT_FO_FORM_DEFINITION" ("KEY_" ASC, "TENANT_ID_" ASC, "VERSION_" ASC)
  3319. LOGGING
  3320. ONLINE
  3321. TABLESPACE "USERS"
  3322. VISIBLE
  3323. PCTFREE 10
  3324. INITRANS 2
  3325. STORAGE (
  3326. INITIAL 65536
  3327. NEXT 1048576
  3328. MINEXTENTS 1
  3329. MAXEXTENTS 2147483645
  3330. BUFFER_POOL DEFAULT
  3331. );
  3332. -- ----------------------------
  3333. -- Primary Key structure for table ACT_FO_FORM_DEPLOYMENT
  3334. -- ----------------------------
  3335. ALTER TABLE "ACT_FO_FORM_DEPLOYMENT" ADD CONSTRAINT "PK_ACT_FO_FORM_DEPLOYMENT" PRIMARY KEY ("ID_");
  3336. -- ----------------------------
  3337. -- Checks structure for table ACT_FO_FORM_DEPLOYMENT
  3338. -- ----------------------------
  3339. ALTER TABLE "ACT_FO_FORM_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015499" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3340. -- ----------------------------
  3341. -- Primary Key structure for table ACT_FO_FORM_INSTANCE
  3342. -- ----------------------------
  3343. ALTER TABLE "ACT_FO_FORM_INSTANCE" ADD CONSTRAINT "PK_ACT_FO_FORM_INSTANCE" PRIMARY KEY ("ID_");
  3344. -- ----------------------------
  3345. -- Checks structure for table ACT_FO_FORM_INSTANCE
  3346. -- ----------------------------
  3347. ALTER TABLE "ACT_FO_FORM_INSTANCE" ADD CONSTRAINT "SYS_C0015505" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3348. ALTER TABLE "ACT_FO_FORM_INSTANCE" ADD CONSTRAINT "SYS_C0015506" CHECK ("FORM_DEFINITION_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3349. -- ----------------------------
  3350. -- Primary Key structure for table ACT_FO_FORM_RESOURCE
  3351. -- ----------------------------
  3352. ALTER TABLE "ACT_FO_FORM_RESOURCE" ADD CONSTRAINT "PK_ACT_FO_FORM_RESOURCE" PRIMARY KEY ("ID_");
  3353. -- ----------------------------
  3354. -- Checks structure for table ACT_FO_FORM_RESOURCE
  3355. -- ----------------------------
  3356. ALTER TABLE "ACT_FO_FORM_RESOURCE" ADD CONSTRAINT "SYS_C0015501" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3357. -- ----------------------------
  3358. -- Primary Key structure for table ACT_GE_BYTEARRAY
  3359. -- ----------------------------
  3360. ALTER TABLE "ACT_GE_BYTEARRAY" ADD CONSTRAINT "SYS_C0015239" PRIMARY KEY ("ID_");
  3361. -- ----------------------------
  3362. -- Checks structure for table ACT_GE_BYTEARRAY
  3363. -- ----------------------------
  3364. ALTER TABLE "ACT_GE_BYTEARRAY" ADD CONSTRAINT "SYS_C0015238" CHECK (GENERATED_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3365. -- ----------------------------
  3366. -- Indexes structure for table ACT_GE_BYTEARRAY
  3367. -- ----------------------------
  3368. CREATE INDEX "ACT_IDX_BYTEAR_DEPL"
  3369. ON "ACT_GE_BYTEARRAY" ("DEPLOYMENT_ID_" ASC)
  3370. LOGGING
  3371. ONLINE
  3372. TABLESPACE "USERS"
  3373. VISIBLE
  3374. PCTFREE 10
  3375. INITRANS 2
  3376. STORAGE (
  3377. INITIAL 65536
  3378. NEXT 1048576
  3379. MINEXTENTS 1
  3380. MAXEXTENTS 2147483645
  3381. BUFFER_POOL DEFAULT
  3382. );
  3383. -- ----------------------------
  3384. -- Primary Key structure for table ACT_GE_PROPERTY
  3385. -- ----------------------------
  3386. ALTER TABLE "ACT_GE_PROPERTY" ADD CONSTRAINT "SYS_C0015237" PRIMARY KEY ("NAME_");
  3387. -- ----------------------------
  3388. -- Primary Key structure for table ACT_HI_ACTINST
  3389. -- ----------------------------
  3390. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015366" PRIMARY KEY ("ID_");
  3391. -- ----------------------------
  3392. -- Checks structure for table ACT_HI_ACTINST
  3393. -- ----------------------------
  3394. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015359" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3395. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015360" CHECK ("PROC_DEF_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3396. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015361" CHECK ("PROC_INST_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3397. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015362" CHECK ("EXECUTION_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3398. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015363" CHECK ("ACT_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3399. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015364" CHECK ("ACT_TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3400. ALTER TABLE "ACT_HI_ACTINST" ADD CONSTRAINT "SYS_C0015365" CHECK ("START_TIME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3401. -- ----------------------------
  3402. -- Indexes structure for table ACT_HI_ACTINST
  3403. -- ----------------------------
  3404. CREATE INDEX "ACT_IDX_HI_ACT_INST_END"
  3405. ON "ACT_HI_ACTINST" ("END_TIME_" ASC)
  3406. LOGGING
  3407. ONLINE
  3408. TABLESPACE "USERS"
  3409. VISIBLE
  3410. PCTFREE 10
  3411. INITRANS 2
  3412. STORAGE (
  3413. INITIAL 65536
  3414. NEXT 1048576
  3415. MINEXTENTS 1
  3416. MAXEXTENTS 2147483645
  3417. BUFFER_POOL DEFAULT
  3418. );
  3419. CREATE INDEX "ACT_IDX_HI_ACT_INST_EXEC"
  3420. ON "ACT_HI_ACTINST" ("EXECUTION_ID_" ASC, "ACT_ID_" ASC)
  3421. LOGGING
  3422. ONLINE
  3423. TABLESPACE "USERS"
  3424. VISIBLE
  3425. PCTFREE 10
  3426. INITRANS 2
  3427. STORAGE (
  3428. INITIAL 65536
  3429. NEXT 1048576
  3430. MINEXTENTS 1
  3431. MAXEXTENTS 2147483645
  3432. BUFFER_POOL DEFAULT
  3433. );
  3434. CREATE INDEX "ACT_IDX_HI_ACT_INST_PROCINST"
  3435. ON "ACT_HI_ACTINST" ("PROC_INST_ID_" ASC, "ACT_ID_" ASC)
  3436. LOGGING
  3437. TABLESPACE "USERS"
  3438. VISIBLE
  3439. PCTFREE 10
  3440. INITRANS 2
  3441. STORAGE (
  3442. INITIAL 65536
  3443. NEXT 1048576
  3444. MINEXTENTS 1
  3445. MAXEXTENTS 2147483645
  3446. BUFFER_POOL DEFAULT
  3447. );
  3448. CREATE INDEX "ACT_IDX_HI_ACT_INST_START"
  3449. ON "ACT_HI_ACTINST" ("START_TIME_" ASC)
  3450. LOGGING
  3451. TABLESPACE "USERS"
  3452. VISIBLE
  3453. PCTFREE 10
  3454. INITRANS 2
  3455. STORAGE (
  3456. INITIAL 65536
  3457. NEXT 1048576
  3458. MINEXTENTS 1
  3459. MAXEXTENTS 2147483645
  3460. BUFFER_POOL DEFAULT
  3461. );
  3462. -- ----------------------------
  3463. -- Primary Key structure for table ACT_HI_ATTACHMENT
  3464. -- ----------------------------
  3465. ALTER TABLE "ACT_HI_ATTACHMENT" ADD CONSTRAINT "SYS_C0015376" PRIMARY KEY ("ID_");
  3466. -- ----------------------------
  3467. -- Checks structure for table ACT_HI_ATTACHMENT
  3468. -- ----------------------------
  3469. ALTER TABLE "ACT_HI_ATTACHMENT" ADD CONSTRAINT "SYS_C0015375" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3470. -- ----------------------------
  3471. -- Primary Key structure for table ACT_HI_COMMENT
  3472. -- ----------------------------
  3473. ALTER TABLE "ACT_HI_COMMENT" ADD CONSTRAINT "SYS_C0015374" PRIMARY KEY ("ID_");
  3474. -- ----------------------------
  3475. -- Checks structure for table ACT_HI_COMMENT
  3476. -- ----------------------------
  3477. ALTER TABLE "ACT_HI_COMMENT" ADD CONSTRAINT "SYS_C0015372" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3478. ALTER TABLE "ACT_HI_COMMENT" ADD CONSTRAINT "SYS_C0015373" CHECK ("TIME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3479. -- ----------------------------
  3480. -- Primary Key structure for table ACT_HI_DETAIL
  3481. -- ----------------------------
  3482. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015371" PRIMARY KEY ("ID_");
  3483. -- ----------------------------
  3484. -- Checks structure for table ACT_HI_DETAIL
  3485. -- ----------------------------
  3486. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015367" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3487. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015368" CHECK ("TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3488. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015369" CHECK ("NAME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3489. ALTER TABLE "ACT_HI_DETAIL" ADD CONSTRAINT "SYS_C0015370" CHECK ("TIME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3490. -- ----------------------------
  3491. -- Indexes structure for table ACT_HI_DETAIL
  3492. -- ----------------------------
  3493. CREATE INDEX "ACT_IDX_HI_DETAIL_ACT_INST"
  3494. ON "ACT_HI_DETAIL" ("ACT_INST_ID_" ASC)
  3495. LOGGING
  3496. TABLESPACE "USERS"
  3497. VISIBLE
  3498. PCTFREE 10
  3499. INITRANS 2
  3500. STORAGE (
  3501. INITIAL 65536
  3502. NEXT 1048576
  3503. MINEXTENTS 1
  3504. MAXEXTENTS 2147483645
  3505. BUFFER_POOL DEFAULT
  3506. );
  3507. CREATE INDEX "ACT_IDX_HI_DETAIL_NAME"
  3508. ON "ACT_HI_DETAIL" ("NAME_" ASC)
  3509. LOGGING
  3510. ONLINE
  3511. TABLESPACE "USERS"
  3512. VISIBLE
  3513. PCTFREE 10
  3514. INITRANS 2
  3515. STORAGE (
  3516. INITIAL 65536
  3517. NEXT 1048576
  3518. MINEXTENTS 1
  3519. MAXEXTENTS 2147483645
  3520. BUFFER_POOL DEFAULT
  3521. );
  3522. CREATE INDEX "ACT_IDX_HI_DETAIL_PROC_INST"
  3523. ON "ACT_HI_DETAIL" ("PROC_INST_ID_" ASC)
  3524. LOGGING
  3525. TABLESPACE "USERS"
  3526. VISIBLE
  3527. PCTFREE 10
  3528. INITRANS 2
  3529. STORAGE (
  3530. INITIAL 65536
  3531. NEXT 1048576
  3532. MINEXTENTS 1
  3533. MAXEXTENTS 2147483645
  3534. BUFFER_POOL DEFAULT
  3535. );
  3536. CREATE INDEX "ACT_IDX_HI_DETAIL_TASK_ID"
  3537. ON "ACT_HI_DETAIL" ("TASK_ID_" ASC)
  3538. LOGGING
  3539. ONLINE
  3540. TABLESPACE "USERS"
  3541. VISIBLE
  3542. PCTFREE 10
  3543. INITRANS 2
  3544. STORAGE (
  3545. INITIAL 65536
  3546. NEXT 1048576
  3547. MINEXTENTS 1
  3548. MAXEXTENTS 2147483645
  3549. BUFFER_POOL DEFAULT
  3550. );
  3551. CREATE INDEX "ACT_IDX_HI_DETAIL_TIME"
  3552. ON "ACT_HI_DETAIL" ("TIME_" ASC)
  3553. LOGGING
  3554. TABLESPACE "USERS"
  3555. VISIBLE
  3556. PCTFREE 10
  3557. INITRANS 2
  3558. STORAGE (
  3559. INITIAL 65536
  3560. NEXT 1048576
  3561. MINEXTENTS 1
  3562. MAXEXTENTS 2147483645
  3563. BUFFER_POOL DEFAULT
  3564. );
  3565. -- ----------------------------
  3566. -- Primary Key structure for table ACT_HI_ENTITYLINK
  3567. -- ----------------------------
  3568. ALTER TABLE "ACT_HI_ENTITYLINK" ADD CONSTRAINT "SYS_C0015241" PRIMARY KEY ("ID_");
  3569. -- ----------------------------
  3570. -- Indexes structure for table ACT_HI_ENTITYLINK
  3571. -- ----------------------------
  3572. CREATE INDEX "ACT_IDX_HI_ENT_LNK_SCOPE"
  3573. ON "ACT_HI_ENTITYLINK" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC, "LINK_TYPE_" ASC)
  3574. LOGGING
  3575. ONLINE
  3576. TABLESPACE "USERS"
  3577. VISIBLE
  3578. PCTFREE 10
  3579. INITRANS 2
  3580. STORAGE (
  3581. INITIAL 65536
  3582. NEXT 1048576
  3583. MINEXTENTS 1
  3584. MAXEXTENTS 2147483645
  3585. BUFFER_POOL DEFAULT
  3586. );
  3587. CREATE INDEX "ACT_IDX_HI_ENT_LNK_SCOPE_DEF"
  3588. ON "ACT_HI_ENTITYLINK" ("SCOPE_DEFINITION_ID_" ASC, "SCOPE_TYPE_" ASC, "LINK_TYPE_" ASC)
  3589. LOGGING
  3590. ONLINE
  3591. TABLESPACE "USERS"
  3592. VISIBLE
  3593. PCTFREE 10
  3594. INITRANS 2
  3595. STORAGE (
  3596. INITIAL 65536
  3597. NEXT 1048576
  3598. MINEXTENTS 1
  3599. MAXEXTENTS 2147483645
  3600. BUFFER_POOL DEFAULT
  3601. );
  3602. -- ----------------------------
  3603. -- Primary Key structure for table ACT_HI_IDENTITYLINK
  3604. -- ----------------------------
  3605. ALTER TABLE "ACT_HI_IDENTITYLINK" ADD CONSTRAINT "SYS_C0015243" PRIMARY KEY ("ID_");
  3606. -- ----------------------------
  3607. -- Indexes structure for table ACT_HI_IDENTITYLINK
  3608. -- ----------------------------
  3609. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_PROCINST"
  3610. ON "ACT_HI_IDENTITYLINK" ("PROC_INST_ID_" ASC)
  3611. LOGGING
  3612. TABLESPACE "USERS"
  3613. VISIBLE
  3614. PCTFREE 10
  3615. INITRANS 2
  3616. STORAGE (
  3617. INITIAL 65536
  3618. NEXT 1048576
  3619. MINEXTENTS 1
  3620. MAXEXTENTS 2147483645
  3621. BUFFER_POOL DEFAULT
  3622. );
  3623. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_SCOPE"
  3624. ON "ACT_HI_IDENTITYLINK" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  3625. LOGGING
  3626. TABLESPACE "USERS"
  3627. VISIBLE
  3628. PCTFREE 10
  3629. INITRANS 2
  3630. STORAGE (
  3631. INITIAL 65536
  3632. NEXT 1048576
  3633. MINEXTENTS 1
  3634. MAXEXTENTS 2147483645
  3635. BUFFER_POOL DEFAULT
  3636. );
  3637. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_SCOPE_DEF"
  3638. ON "ACT_HI_IDENTITYLINK" ("SCOPE_TYPE_" ASC, "SCOPE_DEFINITION_ID_" ASC)
  3639. LOGGING
  3640. TABLESPACE "USERS"
  3641. VISIBLE
  3642. PCTFREE 10
  3643. INITRANS 2
  3644. STORAGE (
  3645. INITIAL 65536
  3646. NEXT 1048576
  3647. MINEXTENTS 1
  3648. MAXEXTENTS 2147483645
  3649. BUFFER_POOL DEFAULT
  3650. );
  3651. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_TASK"
  3652. ON "ACT_HI_IDENTITYLINK" ("TASK_ID_" ASC)
  3653. LOGGING
  3654. TABLESPACE "USERS"
  3655. VISIBLE
  3656. PCTFREE 10
  3657. INITRANS 2
  3658. STORAGE (
  3659. INITIAL 65536
  3660. NEXT 1048576
  3661. MINEXTENTS 1
  3662. MAXEXTENTS 2147483645
  3663. BUFFER_POOL DEFAULT
  3664. );
  3665. CREATE INDEX "ACT_IDX_HI_IDENT_LNK_USER"
  3666. ON "ACT_HI_IDENTITYLINK" ("USER_ID_" ASC)
  3667. LOGGING
  3668. TABLESPACE "USERS"
  3669. VISIBLE
  3670. PCTFREE 10
  3671. INITRANS 2
  3672. STORAGE (
  3673. INITIAL 65536
  3674. NEXT 1048576
  3675. MINEXTENTS 1
  3676. MAXEXTENTS 2147483645
  3677. BUFFER_POOL DEFAULT
  3678. );
  3679. -- ----------------------------
  3680. -- Primary Key structure for table ACT_HI_PROCINST
  3681. -- ----------------------------
  3682. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015357" PRIMARY KEY ("ID_");
  3683. -- ----------------------------
  3684. -- Uniques structure for table ACT_HI_PROCINST
  3685. -- ----------------------------
  3686. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015358" UNIQUE ("PROC_INST_ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3687. -- ----------------------------
  3688. -- Checks structure for table ACT_HI_PROCINST
  3689. -- ----------------------------
  3690. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015353" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3691. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015354" CHECK ("PROC_INST_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3692. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015355" CHECK ("PROC_DEF_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3693. ALTER TABLE "ACT_HI_PROCINST" ADD CONSTRAINT "SYS_C0015356" CHECK ("START_TIME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3694. -- ----------------------------
  3695. -- Indexes structure for table ACT_HI_PROCINST
  3696. -- ----------------------------
  3697. CREATE INDEX "ACT_IDX_HI_PRO_INST_END"
  3698. ON "ACT_HI_PROCINST" ("END_TIME_" ASC)
  3699. LOGGING
  3700. ONLINE
  3701. TABLESPACE "USERS"
  3702. VISIBLE
  3703. PCTFREE 10
  3704. INITRANS 2
  3705. STORAGE (
  3706. INITIAL 65536
  3707. NEXT 1048576
  3708. MINEXTENTS 1
  3709. MAXEXTENTS 2147483645
  3710. BUFFER_POOL DEFAULT
  3711. );
  3712. CREATE INDEX "ACT_IDX_HI_PRO_I_BUSKEY"
  3713. ON "ACT_HI_PROCINST" ("BUSINESS_KEY_" ASC)
  3714. LOGGING
  3715. TABLESPACE "USERS"
  3716. VISIBLE
  3717. PCTFREE 10
  3718. INITRANS 2
  3719. STORAGE (
  3720. INITIAL 65536
  3721. NEXT 1048576
  3722. MINEXTENTS 1
  3723. MAXEXTENTS 2147483645
  3724. BUFFER_POOL DEFAULT
  3725. );
  3726. -- ----------------------------
  3727. -- Primary Key structure for table ACT_HI_TASKINST
  3728. -- ----------------------------
  3729. ALTER TABLE "ACT_HI_TASKINST" ADD CONSTRAINT "SYS_C0015274" PRIMARY KEY ("ID_");
  3730. -- ----------------------------
  3731. -- Checks structure for table ACT_HI_TASKINST
  3732. -- ----------------------------
  3733. ALTER TABLE "ACT_HI_TASKINST" ADD CONSTRAINT "SYS_C0015272" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3734. ALTER TABLE "ACT_HI_TASKINST" ADD CONSTRAINT "SYS_C0015273" CHECK ("START_TIME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3735. -- ----------------------------
  3736. -- Indexes structure for table ACT_HI_TASKINST
  3737. -- ----------------------------
  3738. CREATE INDEX "ACT_IDX_HI_TASK_INST_PROCINST"
  3739. ON "ACT_HI_TASKINST" ("PROC_INST_ID_" ASC)
  3740. LOGGING
  3741. ONLINE
  3742. TABLESPACE "USERS"
  3743. VISIBLE
  3744. PCTFREE 10
  3745. INITRANS 2
  3746. STORAGE (
  3747. INITIAL 65536
  3748. NEXT 1048576
  3749. MINEXTENTS 1
  3750. MAXEXTENTS 2147483645
  3751. BUFFER_POOL DEFAULT
  3752. );
  3753. CREATE INDEX "ACT_IDX_HI_TASK_SCOPE"
  3754. ON "ACT_HI_TASKINST" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  3755. LOGGING
  3756. ONLINE
  3757. TABLESPACE "USERS"
  3758. VISIBLE
  3759. PCTFREE 10
  3760. INITRANS 2
  3761. STORAGE (
  3762. INITIAL 65536
  3763. NEXT 1048576
  3764. MINEXTENTS 1
  3765. MAXEXTENTS 2147483645
  3766. BUFFER_POOL DEFAULT
  3767. );
  3768. CREATE INDEX "ACT_IDX_HI_TASK_SCOPE_DEF"
  3769. ON "ACT_HI_TASKINST" ("SCOPE_DEFINITION_ID_" ASC, "SCOPE_TYPE_" ASC)
  3770. LOGGING
  3771. TABLESPACE "USERS"
  3772. VISIBLE
  3773. PCTFREE 10
  3774. INITRANS 2
  3775. STORAGE (
  3776. INITIAL 65536
  3777. NEXT 1048576
  3778. MINEXTENTS 1
  3779. MAXEXTENTS 2147483645
  3780. BUFFER_POOL DEFAULT
  3781. );
  3782. CREATE INDEX "ACT_IDX_HI_TASK_SUB_SCOPE"
  3783. ON "ACT_HI_TASKINST" ("SCOPE_TYPE_" ASC, "SUB_SCOPE_ID_" ASC)
  3784. LOGGING
  3785. TABLESPACE "USERS"
  3786. VISIBLE
  3787. PCTFREE 10
  3788. INITRANS 2
  3789. STORAGE (
  3790. INITIAL 65536
  3791. NEXT 1048576
  3792. MINEXTENTS 1
  3793. MAXEXTENTS 2147483645
  3794. BUFFER_POOL DEFAULT
  3795. );
  3796. -- ----------------------------
  3797. -- Primary Key structure for table ACT_HI_TSK_LOG
  3798. -- ----------------------------
  3799. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0015277" PRIMARY KEY ("ID_");
  3800. -- ----------------------------
  3801. -- Checks structure for table ACT_HI_TSK_LOG
  3802. -- ----------------------------
  3803. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0015275" CHECK ("TASK_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3804. ALTER TABLE "ACT_HI_TSK_LOG" ADD CONSTRAINT "SYS_C0015276" CHECK ("TIME_STAMP_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3805. -- ----------------------------
  3806. -- Primary Key structure for table ACT_HI_VARINST
  3807. -- ----------------------------
  3808. ALTER TABLE "ACT_HI_VARINST" ADD CONSTRAINT "SYS_C0015285" PRIMARY KEY ("ID_");
  3809. -- ----------------------------
  3810. -- Checks structure for table ACT_HI_VARINST
  3811. -- ----------------------------
  3812. ALTER TABLE "ACT_HI_VARINST" ADD CONSTRAINT "SYS_C0015283" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3813. ALTER TABLE "ACT_HI_VARINST" ADD CONSTRAINT "SYS_C0015284" CHECK ("NAME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3814. -- ----------------------------
  3815. -- Indexes structure for table ACT_HI_VARINST
  3816. -- ----------------------------
  3817. CREATE INDEX "ACT_IDX_HI_PROCVAR_EXE"
  3818. ON "ACT_HI_VARINST" ("EXECUTION_ID_" ASC)
  3819. LOGGING
  3820. ONLINE
  3821. TABLESPACE "USERS"
  3822. VISIBLE
  3823. PCTFREE 10
  3824. INITRANS 2
  3825. STORAGE (
  3826. INITIAL 65536
  3827. NEXT 1048576
  3828. MINEXTENTS 1
  3829. MAXEXTENTS 2147483645
  3830. BUFFER_POOL DEFAULT
  3831. );
  3832. CREATE INDEX "ACT_IDX_HI_PROCVAR_NAME_TYPE"
  3833. ON "ACT_HI_VARINST" ("VAR_TYPE_" ASC, "NAME_" ASC)
  3834. LOGGING
  3835. TABLESPACE "USERS"
  3836. VISIBLE
  3837. PCTFREE 10
  3838. INITRANS 2
  3839. STORAGE (
  3840. INITIAL 65536
  3841. NEXT 1048576
  3842. MINEXTENTS 1
  3843. MAXEXTENTS 2147483645
  3844. BUFFER_POOL DEFAULT
  3845. );
  3846. CREATE INDEX "ACT_IDX_HI_PROCVAR_PROC_INST"
  3847. ON "ACT_HI_VARINST" ("PROC_INST_ID_" ASC)
  3848. LOGGING
  3849. TABLESPACE "USERS"
  3850. VISIBLE
  3851. PCTFREE 10
  3852. INITRANS 2
  3853. STORAGE (
  3854. INITIAL 65536
  3855. NEXT 1048576
  3856. MINEXTENTS 1
  3857. MAXEXTENTS 2147483645
  3858. BUFFER_POOL DEFAULT
  3859. );
  3860. CREATE INDEX "ACT_IDX_HI_PROCVAR_TASK_ID"
  3861. ON "ACT_HI_VARINST" ("TASK_ID_" ASC)
  3862. LOGGING
  3863. TABLESPACE "USERS"
  3864. VISIBLE
  3865. PCTFREE 10
  3866. INITRANS 2
  3867. STORAGE (
  3868. INITIAL 65536
  3869. NEXT 1048576
  3870. MINEXTENTS 1
  3871. MAXEXTENTS 2147483645
  3872. BUFFER_POOL DEFAULT
  3873. );
  3874. CREATE INDEX "ACT_IDX_HI_VAR_SCOPE_ID_TYPE"
  3875. ON "ACT_HI_VARINST" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  3876. LOGGING
  3877. ONLINE
  3878. TABLESPACE "USERS"
  3879. VISIBLE
  3880. PCTFREE 10
  3881. INITRANS 2
  3882. STORAGE (
  3883. INITIAL 65536
  3884. NEXT 1048576
  3885. MINEXTENTS 1
  3886. MAXEXTENTS 2147483645
  3887. BUFFER_POOL DEFAULT
  3888. );
  3889. CREATE INDEX "ACT_IDX_HI_VAR_SUB_ID_TYPE"
  3890. ON "ACT_HI_VARINST" ("SUB_SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  3891. LOGGING
  3892. TABLESPACE "USERS"
  3893. VISIBLE
  3894. PCTFREE 10
  3895. INITRANS 2
  3896. STORAGE (
  3897. INITIAL 65536
  3898. NEXT 1048576
  3899. MINEXTENTS 1
  3900. MAXEXTENTS 2147483645
  3901. BUFFER_POOL DEFAULT
  3902. );
  3903. -- ----------------------------
  3904. -- Primary Key structure for table ACT_ID_BYTEARRAY
  3905. -- ----------------------------
  3906. ALTER TABLE "ACT_ID_BYTEARRAY" ADD CONSTRAINT "SYS_C0015378" PRIMARY KEY ("ID_");
  3907. -- ----------------------------
  3908. -- Primary Key structure for table ACT_ID_GROUP
  3909. -- ----------------------------
  3910. ALTER TABLE "ACT_ID_GROUP" ADD CONSTRAINT "SYS_C0015379" PRIMARY KEY ("ID_");
  3911. -- ----------------------------
  3912. -- Primary Key structure for table ACT_ID_INFO
  3913. -- ----------------------------
  3914. ALTER TABLE "ACT_ID_INFO" ADD CONSTRAINT "SYS_C0015382" PRIMARY KEY ("ID_");
  3915. -- ----------------------------
  3916. -- Primary Key structure for table ACT_ID_MEMBERSHIP
  3917. -- ----------------------------
  3918. ALTER TABLE "ACT_ID_MEMBERSHIP" ADD CONSTRAINT "SYS_C0015380" PRIMARY KEY ("USER_ID_", "GROUP_ID_");
  3919. -- ----------------------------
  3920. -- Indexes structure for table ACT_ID_MEMBERSHIP
  3921. -- ----------------------------
  3922. CREATE INDEX "ACT_IDX_MEMB_GROUP"
  3923. ON "ACT_ID_MEMBERSHIP" ("GROUP_ID_" ASC)
  3924. LOGGING
  3925. TABLESPACE "USERS"
  3926. VISIBLE
  3927. PCTFREE 10
  3928. INITRANS 2
  3929. STORAGE (
  3930. INITIAL 65536
  3931. NEXT 1048576
  3932. MINEXTENTS 1
  3933. MAXEXTENTS 2147483645
  3934. BUFFER_POOL DEFAULT
  3935. );
  3936. CREATE INDEX "ACT_IDX_MEMB_USER"
  3937. ON "ACT_ID_MEMBERSHIP" ("USER_ID_" ASC)
  3938. LOGGING
  3939. ONLINE
  3940. TABLESPACE "USERS"
  3941. VISIBLE
  3942. PCTFREE 10
  3943. INITRANS 2
  3944. STORAGE (
  3945. INITIAL 65536
  3946. NEXT 1048576
  3947. MINEXTENTS 1
  3948. MAXEXTENTS 2147483645
  3949. BUFFER_POOL DEFAULT
  3950. );
  3951. -- ----------------------------
  3952. -- Primary Key structure for table ACT_ID_PRIV
  3953. -- ----------------------------
  3954. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "SYS_C0015387" PRIMARY KEY ("ID_");
  3955. -- ----------------------------
  3956. -- Uniques structure for table ACT_ID_PRIV
  3957. -- ----------------------------
  3958. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "ACT_UNIQ_PRIV_NAME" UNIQUE ("NAME_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3959. -- ----------------------------
  3960. -- Checks structure for table ACT_ID_PRIV
  3961. -- ----------------------------
  3962. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "SYS_C0015385" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3963. ALTER TABLE "ACT_ID_PRIV" ADD CONSTRAINT "SYS_C0015386" CHECK ("NAME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3964. -- ----------------------------
  3965. -- Primary Key structure for table ACT_ID_PRIV_MAPPING
  3966. -- ----------------------------
  3967. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "SYS_C0015390" PRIMARY KEY ("ID_");
  3968. -- ----------------------------
  3969. -- Checks structure for table ACT_ID_PRIV_MAPPING
  3970. -- ----------------------------
  3971. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "SYS_C0015388" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3972. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "SYS_C0015389" CHECK ("PRIV_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  3973. -- ----------------------------
  3974. -- Indexes structure for table ACT_ID_PRIV_MAPPING
  3975. -- ----------------------------
  3976. CREATE INDEX "ACT_IDX_PRIV_GROUP"
  3977. ON "ACT_ID_PRIV_MAPPING" ("GROUP_ID_" ASC)
  3978. LOGGING
  3979. TABLESPACE "USERS"
  3980. VISIBLE
  3981. PCTFREE 10
  3982. INITRANS 2
  3983. STORAGE (
  3984. INITIAL 65536
  3985. NEXT 1048576
  3986. MINEXTENTS 1
  3987. MAXEXTENTS 2147483645
  3988. BUFFER_POOL DEFAULT
  3989. );
  3990. CREATE INDEX "ACT_IDX_PRIV_MAPPING"
  3991. ON "ACT_ID_PRIV_MAPPING" ("PRIV_ID_" ASC)
  3992. LOGGING
  3993. TABLESPACE "USERS"
  3994. VISIBLE
  3995. PCTFREE 10
  3996. INITRANS 2
  3997. STORAGE (
  3998. INITIAL 65536
  3999. NEXT 1048576
  4000. MINEXTENTS 1
  4001. MAXEXTENTS 2147483645
  4002. BUFFER_POOL DEFAULT
  4003. );
  4004. CREATE INDEX "ACT_IDX_PRIV_USER"
  4005. ON "ACT_ID_PRIV_MAPPING" ("USER_ID_" ASC)
  4006. LOGGING
  4007. TABLESPACE "USERS"
  4008. VISIBLE
  4009. PCTFREE 10
  4010. INITRANS 2
  4011. STORAGE (
  4012. INITIAL 65536
  4013. NEXT 1048576
  4014. MINEXTENTS 1
  4015. MAXEXTENTS 2147483645
  4016. BUFFER_POOL DEFAULT
  4017. );
  4018. -- ----------------------------
  4019. -- Primary Key structure for table ACT_ID_PROPERTY
  4020. -- ----------------------------
  4021. ALTER TABLE "ACT_ID_PROPERTY" ADD CONSTRAINT "SYS_C0015377" PRIMARY KEY ("NAME_");
  4022. -- ----------------------------
  4023. -- Primary Key structure for table ACT_ID_TOKEN
  4024. -- ----------------------------
  4025. ALTER TABLE "ACT_ID_TOKEN" ADD CONSTRAINT "SYS_C0015384" PRIMARY KEY ("ID_");
  4026. -- ----------------------------
  4027. -- Checks structure for table ACT_ID_TOKEN
  4028. -- ----------------------------
  4029. ALTER TABLE "ACT_ID_TOKEN" ADD CONSTRAINT "SYS_C0015383" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4030. -- ----------------------------
  4031. -- Primary Key structure for table ACT_ID_USER
  4032. -- ----------------------------
  4033. ALTER TABLE "ACT_ID_USER" ADD CONSTRAINT "SYS_C0015381" PRIMARY KEY ("ID_");
  4034. -- ----------------------------
  4035. -- Primary Key structure for table ACT_PROCDEF_INFO
  4036. -- ----------------------------
  4037. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "SYS_C0015311" PRIMARY KEY ("ID_");
  4038. -- ----------------------------
  4039. -- Uniques structure for table ACT_PROCDEF_INFO
  4040. -- ----------------------------
  4041. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "ACT_UNIQ_INFO_PROCDEF" UNIQUE ("PROC_DEF_ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4042. -- ----------------------------
  4043. -- Checks structure for table ACT_PROCDEF_INFO
  4044. -- ----------------------------
  4045. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "SYS_C0015309" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4046. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "SYS_C0015310" CHECK ("PROC_DEF_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4047. -- ----------------------------
  4048. -- Indexes structure for table ACT_PROCDEF_INFO
  4049. -- ----------------------------
  4050. CREATE INDEX "ACT_IDX_PROCDEF_INFO_JSON"
  4051. ON "ACT_PROCDEF_INFO" ("INFO_JSON_ID_" ASC)
  4052. LOGGING
  4053. TABLESPACE "USERS"
  4054. VISIBLE
  4055. PCTFREE 10
  4056. INITRANS 2
  4057. STORAGE (
  4058. INITIAL 65536
  4059. NEXT 1048576
  4060. MINEXTENTS 1
  4061. MAXEXTENTS 2147483645
  4062. BUFFER_POOL DEFAULT
  4063. );
  4064. -- ----------------------------
  4065. -- Primary Key structure for table ACT_RE_DEPLOYMENT
  4066. -- ----------------------------
  4067. ALTER TABLE "ACT_RE_DEPLOYMENT" ADD CONSTRAINT "SYS_C0015290" PRIMARY KEY ("ID_");
  4068. -- ----------------------------
  4069. -- Primary Key structure for table ACT_RE_MODEL
  4070. -- ----------------------------
  4071. ALTER TABLE "ACT_RE_MODEL" ADD CONSTRAINT "SYS_C0015292" PRIMARY KEY ("ID_");
  4072. -- ----------------------------
  4073. -- Checks structure for table ACT_RE_MODEL
  4074. -- ----------------------------
  4075. ALTER TABLE "ACT_RE_MODEL" ADD CONSTRAINT "SYS_C0015291" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4076. -- ----------------------------
  4077. -- Indexes structure for table ACT_RE_MODEL
  4078. -- ----------------------------
  4079. CREATE INDEX "ACT_IDX_MODEL_DEPLOYMENT"
  4080. ON "ACT_RE_MODEL" ("DEPLOYMENT_ID_" ASC)
  4081. LOGGING
  4082. ONLINE
  4083. TABLESPACE "USERS"
  4084. VISIBLE
  4085. PCTFREE 10
  4086. INITRANS 2
  4087. STORAGE (
  4088. INITIAL 65536
  4089. NEXT 1048576
  4090. MINEXTENTS 1
  4091. MAXEXTENTS 2147483645
  4092. BUFFER_POOL DEFAULT
  4093. );
  4094. CREATE INDEX "ACT_IDX_MODEL_SOURCE"
  4095. ON "ACT_RE_MODEL" ("EDITOR_SOURCE_VALUE_ID_" ASC)
  4096. LOGGING
  4097. TABLESPACE "USERS"
  4098. VISIBLE
  4099. PCTFREE 10
  4100. INITRANS 2
  4101. STORAGE (
  4102. INITIAL 65536
  4103. NEXT 1048576
  4104. MINEXTENTS 1
  4105. MAXEXTENTS 2147483645
  4106. BUFFER_POOL DEFAULT
  4107. );
  4108. CREATE INDEX "ACT_IDX_MODEL_SOURCE_EXTRA"
  4109. ON "ACT_RE_MODEL" ("EDITOR_SOURCE_EXTRA_VALUE_ID_" ASC)
  4110. LOGGING
  4111. TABLESPACE "USERS"
  4112. VISIBLE
  4113. PCTFREE 10
  4114. INITRANS 2
  4115. STORAGE (
  4116. INITIAL 65536
  4117. NEXT 1048576
  4118. MINEXTENTS 1
  4119. MAXEXTENTS 2147483645
  4120. BUFFER_POOL DEFAULT
  4121. );
  4122. -- ----------------------------
  4123. -- Primary Key structure for table ACT_RE_PROCDEF
  4124. -- ----------------------------
  4125. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015306" PRIMARY KEY ("ID_");
  4126. -- ----------------------------
  4127. -- Uniques structure for table ACT_RE_PROCDEF
  4128. -- ----------------------------
  4129. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "ACT_UNIQ_PROCDEF" UNIQUE ("KEY_", "VERSION_", "DERIVED_VERSION_", "TENANT_ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4130. -- ----------------------------
  4131. -- Checks structure for table ACT_RE_PROCDEF
  4132. -- ----------------------------
  4133. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015300" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4134. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015301" CHECK ("KEY_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4135. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015302" CHECK ("VERSION_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4136. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015303" CHECK ("DERIVED_VERSION_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4137. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015304" CHECK (HAS_START_FORM_KEY_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4138. ALTER TABLE "ACT_RE_PROCDEF" ADD CONSTRAINT "SYS_C0015305" CHECK (HAS_GRAPHICAL_NOTATION_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4139. -- ----------------------------
  4140. -- Primary Key structure for table ACT_RU_ACTINST
  4141. -- ----------------------------
  4142. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015319" PRIMARY KEY ("ID_");
  4143. -- ----------------------------
  4144. -- Checks structure for table ACT_RU_ACTINST
  4145. -- ----------------------------
  4146. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015312" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4147. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015313" CHECK ("PROC_DEF_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4148. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015314" CHECK ("PROC_INST_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4149. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015315" CHECK ("EXECUTION_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4150. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015316" CHECK ("ACT_ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4151. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015317" CHECK ("ACT_TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4152. ALTER TABLE "ACT_RU_ACTINST" ADD CONSTRAINT "SYS_C0015318" CHECK ("START_TIME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4153. -- ----------------------------
  4154. -- Indexes structure for table ACT_RU_ACTINST
  4155. -- ----------------------------
  4156. CREATE INDEX "ACT_IDX_RU_ACTI_END"
  4157. ON "ACT_RU_ACTINST" ("END_TIME_" ASC)
  4158. LOGGING
  4159. ONLINE
  4160. TABLESPACE "USERS"
  4161. VISIBLE
  4162. PCTFREE 10
  4163. INITRANS 2
  4164. STORAGE (
  4165. INITIAL 65536
  4166. NEXT 1048576
  4167. MINEXTENTS 1
  4168. MAXEXTENTS 2147483645
  4169. BUFFER_POOL DEFAULT
  4170. );
  4171. CREATE INDEX "ACT_IDX_RU_ACTI_EXEC"
  4172. ON "ACT_RU_ACTINST" ("EXECUTION_ID_" ASC)
  4173. LOGGING
  4174. TABLESPACE "USERS"
  4175. VISIBLE
  4176. PCTFREE 10
  4177. INITRANS 2
  4178. STORAGE (
  4179. INITIAL 65536
  4180. NEXT 1048576
  4181. MINEXTENTS 1
  4182. MAXEXTENTS 2147483645
  4183. BUFFER_POOL DEFAULT
  4184. );
  4185. CREATE INDEX "ACT_IDX_RU_ACTI_EXEC_ACT"
  4186. ON "ACT_RU_ACTINST" ("ACT_ID_" ASC, "EXECUTION_ID_" ASC)
  4187. LOGGING
  4188. TABLESPACE "USERS"
  4189. VISIBLE
  4190. PCTFREE 10
  4191. INITRANS 2
  4192. STORAGE (
  4193. INITIAL 65536
  4194. NEXT 1048576
  4195. MINEXTENTS 1
  4196. MAXEXTENTS 2147483645
  4197. BUFFER_POOL DEFAULT
  4198. );
  4199. CREATE INDEX "ACT_IDX_RU_ACTI_PROC"
  4200. ON "ACT_RU_ACTINST" ("PROC_INST_ID_" ASC)
  4201. LOGGING
  4202. TABLESPACE "USERS"
  4203. VISIBLE
  4204. PCTFREE 10
  4205. INITRANS 2
  4206. STORAGE (
  4207. INITIAL 65536
  4208. NEXT 1048576
  4209. MINEXTENTS 1
  4210. MAXEXTENTS 2147483645
  4211. BUFFER_POOL DEFAULT
  4212. );
  4213. CREATE INDEX "ACT_IDX_RU_ACTI_PROC_ACT"
  4214. ON "ACT_RU_ACTINST" ("ACT_ID_" ASC, "PROC_INST_ID_" ASC)
  4215. LOGGING
  4216. TABLESPACE "USERS"
  4217. VISIBLE
  4218. PCTFREE 10
  4219. INITRANS 2
  4220. STORAGE (
  4221. INITIAL 65536
  4222. NEXT 1048576
  4223. MINEXTENTS 1
  4224. MAXEXTENTS 2147483645
  4225. BUFFER_POOL DEFAULT
  4226. );
  4227. CREATE INDEX "ACT_IDX_RU_ACTI_START"
  4228. ON "ACT_RU_ACTINST" ("START_TIME_" ASC)
  4229. LOGGING
  4230. ONLINE
  4231. TABLESPACE "USERS"
  4232. VISIBLE
  4233. PCTFREE 10
  4234. INITRANS 2
  4235. STORAGE (
  4236. INITIAL 65536
  4237. NEXT 1048576
  4238. MINEXTENTS 1
  4239. MAXEXTENTS 2147483645
  4240. BUFFER_POOL DEFAULT
  4241. );
  4242. -- ----------------------------
  4243. -- Primary Key structure for table ACT_RU_DEADLETTER_JOB
  4244. -- ----------------------------
  4245. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0015259" PRIMARY KEY ("ID_");
  4246. -- ----------------------------
  4247. -- Checks structure for table ACT_RU_DEADLETTER_JOB
  4248. -- ----------------------------
  4249. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0015256" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4250. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0015257" CHECK ("TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4251. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "SYS_C0015258" CHECK (EXCLUSIVE_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4252. -- ----------------------------
  4253. -- Indexes structure for table ACT_RU_DEADLETTER_JOB
  4254. -- ----------------------------
  4255. CREATE INDEX "ACT_IDX_DJOB_CUSTOM_VAL_ID"
  4256. ON "ACT_RU_DEADLETTER_JOB" ("CUSTOM_VALUES_ID_" ASC)
  4257. LOGGING
  4258. TABLESPACE "USERS"
  4259. VISIBLE
  4260. PCTFREE 10
  4261. INITRANS 2
  4262. STORAGE (
  4263. INITIAL 65536
  4264. NEXT 1048576
  4265. MINEXTENTS 1
  4266. MAXEXTENTS 2147483645
  4267. BUFFER_POOL DEFAULT
  4268. );
  4269. CREATE INDEX "ACT_IDX_DJOB_EXCEPTION"
  4270. ON "ACT_RU_DEADLETTER_JOB" ("EXCEPTION_STACK_ID_" ASC)
  4271. LOGGING
  4272. TABLESPACE "USERS"
  4273. VISIBLE
  4274. PCTFREE 10
  4275. INITRANS 2
  4276. STORAGE (
  4277. INITIAL 65536
  4278. NEXT 1048576
  4279. MINEXTENTS 1
  4280. MAXEXTENTS 2147483645
  4281. BUFFER_POOL DEFAULT
  4282. );
  4283. CREATE INDEX "ACT_IDX_DJOB_EXECUTION_ID"
  4284. ON "ACT_RU_DEADLETTER_JOB" ("EXECUTION_ID_" ASC)
  4285. LOGGING
  4286. TABLESPACE "USERS"
  4287. VISIBLE
  4288. PCTFREE 10
  4289. INITRANS 2
  4290. STORAGE (
  4291. INITIAL 65536
  4292. NEXT 1048576
  4293. MINEXTENTS 1
  4294. MAXEXTENTS 2147483645
  4295. BUFFER_POOL DEFAULT
  4296. );
  4297. CREATE INDEX "ACT_IDX_DJOB_PROC_DEF_ID"
  4298. ON "ACT_RU_DEADLETTER_JOB" ("PROC_DEF_ID_" ASC)
  4299. LOGGING
  4300. ONLINE
  4301. TABLESPACE "USERS"
  4302. VISIBLE
  4303. PCTFREE 10
  4304. INITRANS 2
  4305. STORAGE (
  4306. INITIAL 65536
  4307. NEXT 1048576
  4308. MINEXTENTS 1
  4309. MAXEXTENTS 2147483645
  4310. BUFFER_POOL DEFAULT
  4311. );
  4312. CREATE INDEX "ACT_IDX_DJOB_PROC_INST_ID"
  4313. ON "ACT_RU_DEADLETTER_JOB" ("PROCESS_INSTANCE_ID_" ASC)
  4314. LOGGING
  4315. TABLESPACE "USERS"
  4316. VISIBLE
  4317. PCTFREE 10
  4318. INITRANS 2
  4319. STORAGE (
  4320. INITIAL 65536
  4321. NEXT 1048576
  4322. MINEXTENTS 1
  4323. MAXEXTENTS 2147483645
  4324. BUFFER_POOL DEFAULT
  4325. );
  4326. CREATE INDEX "ACT_IDX_DJOB_SCOPE"
  4327. ON "ACT_RU_DEADLETTER_JOB" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  4328. LOGGING
  4329. ONLINE
  4330. TABLESPACE "USERS"
  4331. VISIBLE
  4332. PCTFREE 10
  4333. INITRANS 2
  4334. STORAGE (
  4335. INITIAL 65536
  4336. NEXT 1048576
  4337. MINEXTENTS 1
  4338. MAXEXTENTS 2147483645
  4339. BUFFER_POOL DEFAULT
  4340. );
  4341. CREATE INDEX "ACT_IDX_DJOB_SCOPE_DEF"
  4342. ON "ACT_RU_DEADLETTER_JOB" ("SCOPE_DEFINITION_ID_" ASC, "SCOPE_TYPE_" ASC)
  4343. LOGGING
  4344. ONLINE
  4345. TABLESPACE "USERS"
  4346. VISIBLE
  4347. PCTFREE 10
  4348. INITRANS 2
  4349. STORAGE (
  4350. INITIAL 65536
  4351. NEXT 1048576
  4352. MINEXTENTS 1
  4353. MAXEXTENTS 2147483645
  4354. BUFFER_POOL DEFAULT
  4355. );
  4356. CREATE INDEX "ACT_IDX_DJOB_SUB_SCOPE"
  4357. ON "ACT_RU_DEADLETTER_JOB" ("SUB_SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  4358. LOGGING
  4359. ONLINE
  4360. TABLESPACE "USERS"
  4361. VISIBLE
  4362. PCTFREE 10
  4363. INITRANS 2
  4364. STORAGE (
  4365. INITIAL 65536
  4366. NEXT 1048576
  4367. MINEXTENTS 1
  4368. MAXEXTENTS 2147483645
  4369. BUFFER_POOL DEFAULT
  4370. );
  4371. -- ----------------------------
  4372. -- Primary Key structure for table ACT_RU_ENTITYLINK
  4373. -- ----------------------------
  4374. ALTER TABLE "ACT_RU_ENTITYLINK" ADD CONSTRAINT "SYS_C0015240" PRIMARY KEY ("ID_");
  4375. -- ----------------------------
  4376. -- Indexes structure for table ACT_RU_ENTITYLINK
  4377. -- ----------------------------
  4378. CREATE INDEX "ACT_IDX_ENT_LNK_SCOPE"
  4379. ON "ACT_RU_ENTITYLINK" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC, "LINK_TYPE_" ASC)
  4380. LOGGING
  4381. ONLINE
  4382. TABLESPACE "USERS"
  4383. VISIBLE
  4384. PCTFREE 10
  4385. INITRANS 2
  4386. STORAGE (
  4387. INITIAL 65536
  4388. NEXT 1048576
  4389. MINEXTENTS 1
  4390. MAXEXTENTS 2147483645
  4391. BUFFER_POOL DEFAULT
  4392. );
  4393. CREATE INDEX "ACT_IDX_ENT_LNK_SCOPE_DEF"
  4394. ON "ACT_RU_ENTITYLINK" ("SCOPE_DEFINITION_ID_" ASC, "SCOPE_TYPE_" ASC, "LINK_TYPE_" ASC)
  4395. LOGGING
  4396. ONLINE
  4397. TABLESPACE "USERS"
  4398. VISIBLE
  4399. PCTFREE 10
  4400. INITRANS 2
  4401. STORAGE (
  4402. INITIAL 65536
  4403. NEXT 1048576
  4404. MINEXTENTS 1
  4405. MAXEXTENTS 2147483645
  4406. BUFFER_POOL DEFAULT
  4407. );
  4408. -- ----------------------------
  4409. -- Primary Key structure for table ACT_RU_EVENT_SUBSCR
  4410. -- ----------------------------
  4411. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0015289" PRIMARY KEY ("ID_");
  4412. -- ----------------------------
  4413. -- Checks structure for table ACT_RU_EVENT_SUBSCR
  4414. -- ----------------------------
  4415. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0015286" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4416. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0015287" CHECK ("EVENT_TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4417. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "SYS_C0015288" CHECK ("CREATED_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4418. -- ----------------------------
  4419. -- Indexes structure for table ACT_RU_EVENT_SUBSCR
  4420. -- ----------------------------
  4421. CREATE INDEX "ACT_IDX_EVENT_SUBSCR"
  4422. ON "ACT_RU_EVENT_SUBSCR" ("EXECUTION_ID_" ASC)
  4423. LOGGING
  4424. ONLINE
  4425. TABLESPACE "USERS"
  4426. VISIBLE
  4427. PCTFREE 10
  4428. INITRANS 2
  4429. STORAGE (
  4430. INITIAL 65536
  4431. NEXT 1048576
  4432. MINEXTENTS 1
  4433. MAXEXTENTS 2147483645
  4434. BUFFER_POOL DEFAULT
  4435. );
  4436. CREATE INDEX "ACT_IDX_EVENT_SUBSCR_CONFIG_"
  4437. ON "ACT_RU_EVENT_SUBSCR" ("CONFIGURATION_" ASC)
  4438. LOGGING
  4439. TABLESPACE "USERS"
  4440. VISIBLE
  4441. PCTFREE 10
  4442. INITRANS 2
  4443. STORAGE (
  4444. INITIAL 65536
  4445. NEXT 1048576
  4446. MINEXTENTS 1
  4447. MAXEXTENTS 2147483645
  4448. BUFFER_POOL DEFAULT
  4449. );
  4450. -- ----------------------------
  4451. -- Primary Key structure for table ACT_RU_EXECUTION
  4452. -- ----------------------------
  4453. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015299" PRIMARY KEY ("ID_");
  4454. -- ----------------------------
  4455. -- Checks structure for table ACT_RU_EXECUTION
  4456. -- ----------------------------
  4457. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015293" CHECK (IS_ACTIVE_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4458. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015294" CHECK (IS_CONCURRENT_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4459. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015295" CHECK (IS_SCOPE_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4460. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015296" CHECK (IS_EVENT_SCOPE_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4461. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015297" CHECK (IS_MI_ROOT_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4462. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "SYS_C0015298" CHECK (IS_COUNT_ENABLED_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4463. -- ----------------------------
  4464. -- Indexes structure for table ACT_RU_EXECUTION
  4465. -- ----------------------------
  4466. CREATE INDEX "ACT_IDX_EXEC_BUSKEY"
  4467. ON "ACT_RU_EXECUTION" ("BUSINESS_KEY_" ASC)
  4468. LOGGING
  4469. TABLESPACE "USERS"
  4470. VISIBLE
  4471. PCTFREE 10
  4472. INITRANS 2
  4473. STORAGE (
  4474. INITIAL 65536
  4475. NEXT 1048576
  4476. MINEXTENTS 1
  4477. MAXEXTENTS 2147483645
  4478. BUFFER_POOL DEFAULT
  4479. );
  4480. CREATE INDEX "ACT_IDX_EXEC_ROOT"
  4481. ON "ACT_RU_EXECUTION" ("ROOT_PROC_INST_ID_" ASC)
  4482. LOGGING
  4483. TABLESPACE "USERS"
  4484. VISIBLE
  4485. PCTFREE 10
  4486. INITRANS 2
  4487. STORAGE (
  4488. INITIAL 65536
  4489. NEXT 1048576
  4490. MINEXTENTS 1
  4491. MAXEXTENTS 2147483645
  4492. BUFFER_POOL DEFAULT
  4493. );
  4494. CREATE INDEX "ACT_IDX_EXE_PARENT"
  4495. ON "ACT_RU_EXECUTION" ("PARENT_ID_" ASC)
  4496. LOGGING
  4497. TABLESPACE "USERS"
  4498. VISIBLE
  4499. PCTFREE 10
  4500. INITRANS 2
  4501. STORAGE (
  4502. INITIAL 65536
  4503. NEXT 1048576
  4504. MINEXTENTS 1
  4505. MAXEXTENTS 2147483645
  4506. BUFFER_POOL DEFAULT
  4507. );
  4508. CREATE INDEX "ACT_IDX_EXE_PROCDEF"
  4509. ON "ACT_RU_EXECUTION" ("PROC_DEF_ID_" ASC)
  4510. LOGGING
  4511. TABLESPACE "USERS"
  4512. VISIBLE
  4513. PCTFREE 10
  4514. INITRANS 2
  4515. STORAGE (
  4516. INITIAL 65536
  4517. NEXT 1048576
  4518. MINEXTENTS 1
  4519. MAXEXTENTS 2147483645
  4520. BUFFER_POOL DEFAULT
  4521. );
  4522. CREATE INDEX "ACT_IDX_EXE_PROCINST"
  4523. ON "ACT_RU_EXECUTION" ("PROC_INST_ID_" ASC)
  4524. LOGGING
  4525. TABLESPACE "USERS"
  4526. VISIBLE
  4527. PCTFREE 10
  4528. INITRANS 2
  4529. STORAGE (
  4530. INITIAL 65536
  4531. NEXT 1048576
  4532. MINEXTENTS 1
  4533. MAXEXTENTS 2147483645
  4534. BUFFER_POOL DEFAULT
  4535. );
  4536. CREATE INDEX "ACT_IDX_EXE_SUPER"
  4537. ON "ACT_RU_EXECUTION" ("SUPER_EXEC_" ASC)
  4538. LOGGING
  4539. TABLESPACE "USERS"
  4540. VISIBLE
  4541. PCTFREE 10
  4542. INITRANS 2
  4543. STORAGE (
  4544. INITIAL 65536
  4545. NEXT 1048576
  4546. MINEXTENTS 1
  4547. MAXEXTENTS 2147483645
  4548. BUFFER_POOL DEFAULT
  4549. );
  4550. -- ----------------------------
  4551. -- Primary Key structure for table ACT_RU_HISTORY_JOB
  4552. -- ----------------------------
  4553. ALTER TABLE "ACT_RU_HISTORY_JOB" ADD CONSTRAINT "SYS_C0015261" PRIMARY KEY ("ID_");
  4554. -- ----------------------------
  4555. -- Checks structure for table ACT_RU_HISTORY_JOB
  4556. -- ----------------------------
  4557. ALTER TABLE "ACT_RU_HISTORY_JOB" ADD CONSTRAINT "SYS_C0015260" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4558. -- ----------------------------
  4559. -- Primary Key structure for table ACT_RU_IDENTITYLINK
  4560. -- ----------------------------
  4561. ALTER TABLE "ACT_RU_IDENTITYLINK" ADD CONSTRAINT "SYS_C0015242" PRIMARY KEY ("ID_");
  4562. -- ----------------------------
  4563. -- Indexes structure for table ACT_RU_IDENTITYLINK
  4564. -- ----------------------------
  4565. CREATE INDEX "ACT_IDX_ATHRZ_PROCEDEF"
  4566. ON "ACT_RU_IDENTITYLINK" ("PROC_DEF_ID_" ASC)
  4567. LOGGING
  4568. TABLESPACE "USERS"
  4569. VISIBLE
  4570. PCTFREE 10
  4571. INITRANS 2
  4572. STORAGE (
  4573. INITIAL 65536
  4574. NEXT 1048576
  4575. MINEXTENTS 1
  4576. MAXEXTENTS 2147483645
  4577. BUFFER_POOL DEFAULT
  4578. );
  4579. CREATE INDEX "ACT_IDX_IDENT_LNK_GROUP"
  4580. ON "ACT_RU_IDENTITYLINK" ("GROUP_ID_" ASC)
  4581. LOGGING
  4582. TABLESPACE "USERS"
  4583. VISIBLE
  4584. PCTFREE 10
  4585. INITRANS 2
  4586. STORAGE (
  4587. INITIAL 65536
  4588. NEXT 1048576
  4589. MINEXTENTS 1
  4590. MAXEXTENTS 2147483645
  4591. BUFFER_POOL DEFAULT
  4592. );
  4593. CREATE INDEX "ACT_IDX_IDENT_LNK_SCOPE"
  4594. ON "ACT_RU_IDENTITYLINK" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  4595. LOGGING
  4596. TABLESPACE "USERS"
  4597. VISIBLE
  4598. PCTFREE 10
  4599. INITRANS 2
  4600. STORAGE (
  4601. INITIAL 65536
  4602. NEXT 1048576
  4603. MINEXTENTS 1
  4604. MAXEXTENTS 2147483645
  4605. BUFFER_POOL DEFAULT
  4606. );
  4607. CREATE INDEX "ACT_IDX_IDENT_LNK_SCOPE_DEF"
  4608. ON "ACT_RU_IDENTITYLINK" ("SCOPE_TYPE_" ASC, "SCOPE_DEFINITION_ID_" ASC)
  4609. LOGGING
  4610. TABLESPACE "USERS"
  4611. VISIBLE
  4612. PCTFREE 10
  4613. INITRANS 2
  4614. STORAGE (
  4615. INITIAL 65536
  4616. NEXT 1048576
  4617. MINEXTENTS 1
  4618. MAXEXTENTS 2147483645
  4619. BUFFER_POOL DEFAULT
  4620. );
  4621. CREATE INDEX "ACT_IDX_IDENT_LNK_USER"
  4622. ON "ACT_RU_IDENTITYLINK" ("USER_ID_" ASC)
  4623. LOGGING
  4624. TABLESPACE "USERS"
  4625. VISIBLE
  4626. PCTFREE 10
  4627. INITRANS 2
  4628. STORAGE (
  4629. INITIAL 65536
  4630. NEXT 1048576
  4631. MINEXTENTS 1
  4632. MAXEXTENTS 2147483645
  4633. BUFFER_POOL DEFAULT
  4634. );
  4635. CREATE INDEX "ACT_IDX_IDL_PROCINST"
  4636. ON "ACT_RU_IDENTITYLINK" ("PROC_INST_ID_" ASC)
  4637. LOGGING
  4638. ONLINE
  4639. TABLESPACE "USERS"
  4640. VISIBLE
  4641. PCTFREE 10
  4642. INITRANS 2
  4643. STORAGE (
  4644. INITIAL 65536
  4645. NEXT 1048576
  4646. MINEXTENTS 1
  4647. MAXEXTENTS 2147483645
  4648. BUFFER_POOL DEFAULT
  4649. );
  4650. CREATE INDEX "ACT_IDX_TSKASS_TASK"
  4651. ON "ACT_RU_IDENTITYLINK" ("TASK_ID_" ASC)
  4652. LOGGING
  4653. TABLESPACE "USERS"
  4654. VISIBLE
  4655. PCTFREE 10
  4656. INITRANS 2
  4657. STORAGE (
  4658. INITIAL 65536
  4659. NEXT 1048576
  4660. MINEXTENTS 1
  4661. MAXEXTENTS 2147483645
  4662. BUFFER_POOL DEFAULT
  4663. );
  4664. -- ----------------------------
  4665. -- Primary Key structure for table ACT_RU_JOB
  4666. -- ----------------------------
  4667. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0015247" PRIMARY KEY ("ID_");
  4668. -- ----------------------------
  4669. -- Checks structure for table ACT_RU_JOB
  4670. -- ----------------------------
  4671. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0015244" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4672. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0015245" CHECK ("TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4673. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "SYS_C0015246" CHECK (EXCLUSIVE_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4674. -- ----------------------------
  4675. -- Indexes structure for table ACT_RU_JOB
  4676. -- ----------------------------
  4677. CREATE INDEX "ACT_IDX_JOB_CUSTOM_VAL_ID"
  4678. ON "ACT_RU_JOB" ("CUSTOM_VALUES_ID_" ASC)
  4679. LOGGING
  4680. TABLESPACE "USERS"
  4681. VISIBLE
  4682. PCTFREE 10
  4683. INITRANS 2
  4684. STORAGE (
  4685. INITIAL 65536
  4686. NEXT 1048576
  4687. MINEXTENTS 1
  4688. MAXEXTENTS 2147483645
  4689. BUFFER_POOL DEFAULT
  4690. );
  4691. CREATE INDEX "ACT_IDX_JOB_EXCEPTION"
  4692. ON "ACT_RU_JOB" ("EXCEPTION_STACK_ID_" ASC)
  4693. LOGGING
  4694. ONLINE
  4695. TABLESPACE "USERS"
  4696. VISIBLE
  4697. PCTFREE 10
  4698. INITRANS 2
  4699. STORAGE (
  4700. INITIAL 65536
  4701. NEXT 1048576
  4702. MINEXTENTS 1
  4703. MAXEXTENTS 2147483645
  4704. BUFFER_POOL DEFAULT
  4705. );
  4706. CREATE INDEX "ACT_IDX_JOB_EXECUTION_ID"
  4707. ON "ACT_RU_JOB" ("EXECUTION_ID_" ASC)
  4708. LOGGING
  4709. TABLESPACE "USERS"
  4710. VISIBLE
  4711. PCTFREE 10
  4712. INITRANS 2
  4713. STORAGE (
  4714. INITIAL 65536
  4715. NEXT 1048576
  4716. MINEXTENTS 1
  4717. MAXEXTENTS 2147483645
  4718. BUFFER_POOL DEFAULT
  4719. );
  4720. CREATE INDEX "ACT_IDX_JOB_PROC_DEF_ID"
  4721. ON "ACT_RU_JOB" ("PROC_DEF_ID_" ASC)
  4722. LOGGING
  4723. TABLESPACE "USERS"
  4724. VISIBLE
  4725. PCTFREE 10
  4726. INITRANS 2
  4727. STORAGE (
  4728. INITIAL 65536
  4729. NEXT 1048576
  4730. MINEXTENTS 1
  4731. MAXEXTENTS 2147483645
  4732. BUFFER_POOL DEFAULT
  4733. );
  4734. CREATE INDEX "ACT_IDX_JOB_PROC_INST_ID"
  4735. ON "ACT_RU_JOB" ("PROCESS_INSTANCE_ID_" ASC)
  4736. LOGGING
  4737. TABLESPACE "USERS"
  4738. VISIBLE
  4739. PCTFREE 10
  4740. INITRANS 2
  4741. STORAGE (
  4742. INITIAL 65536
  4743. NEXT 1048576
  4744. MINEXTENTS 1
  4745. MAXEXTENTS 2147483645
  4746. BUFFER_POOL DEFAULT
  4747. );
  4748. CREATE INDEX "ACT_IDX_JOB_SCOPE"
  4749. ON "ACT_RU_JOB" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  4750. LOGGING
  4751. ONLINE
  4752. TABLESPACE "USERS"
  4753. VISIBLE
  4754. PCTFREE 10
  4755. INITRANS 2
  4756. STORAGE (
  4757. INITIAL 65536
  4758. NEXT 1048576
  4759. MINEXTENTS 1
  4760. MAXEXTENTS 2147483645
  4761. BUFFER_POOL DEFAULT
  4762. );
  4763. CREATE INDEX "ACT_IDX_JOB_SCOPE_DEF"
  4764. ON "ACT_RU_JOB" ("SCOPE_DEFINITION_ID_" ASC, "SCOPE_TYPE_" ASC)
  4765. LOGGING
  4766. TABLESPACE "USERS"
  4767. VISIBLE
  4768. PCTFREE 10
  4769. INITRANS 2
  4770. STORAGE (
  4771. INITIAL 65536
  4772. NEXT 1048576
  4773. MINEXTENTS 1
  4774. MAXEXTENTS 2147483645
  4775. BUFFER_POOL DEFAULT
  4776. );
  4777. CREATE INDEX "ACT_IDX_JOB_SUB_SCOPE"
  4778. ON "ACT_RU_JOB" ("SUB_SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  4779. LOGGING
  4780. TABLESPACE "USERS"
  4781. VISIBLE
  4782. PCTFREE 10
  4783. INITRANS 2
  4784. STORAGE (
  4785. INITIAL 65536
  4786. NEXT 1048576
  4787. MINEXTENTS 1
  4788. MAXEXTENTS 2147483645
  4789. BUFFER_POOL DEFAULT
  4790. );
  4791. -- ----------------------------
  4792. -- Primary Key structure for table ACT_RU_SUSPENDED_JOB
  4793. -- ----------------------------
  4794. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0015255" PRIMARY KEY ("ID_");
  4795. -- ----------------------------
  4796. -- Checks structure for table ACT_RU_SUSPENDED_JOB
  4797. -- ----------------------------
  4798. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0015252" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4799. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0015253" CHECK ("TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4800. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "SYS_C0015254" CHECK (EXCLUSIVE_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4801. -- ----------------------------
  4802. -- Indexes structure for table ACT_RU_SUSPENDED_JOB
  4803. -- ----------------------------
  4804. CREATE INDEX "ACT_IDX_SJOB_CUSTOM_VAL_ID"
  4805. ON "ACT_RU_SUSPENDED_JOB" ("CUSTOM_VALUES_ID_" ASC)
  4806. LOGGING
  4807. ONLINE
  4808. TABLESPACE "USERS"
  4809. VISIBLE
  4810. PCTFREE 10
  4811. INITRANS 2
  4812. STORAGE (
  4813. INITIAL 65536
  4814. NEXT 1048576
  4815. MINEXTENTS 1
  4816. MAXEXTENTS 2147483645
  4817. BUFFER_POOL DEFAULT
  4818. );
  4819. CREATE INDEX "ACT_IDX_SJOB_EXCEPTION"
  4820. ON "ACT_RU_SUSPENDED_JOB" ("EXCEPTION_STACK_ID_" ASC)
  4821. LOGGING
  4822. ONLINE
  4823. TABLESPACE "USERS"
  4824. VISIBLE
  4825. PCTFREE 10
  4826. INITRANS 2
  4827. STORAGE (
  4828. INITIAL 65536
  4829. NEXT 1048576
  4830. MINEXTENTS 1
  4831. MAXEXTENTS 2147483645
  4832. BUFFER_POOL DEFAULT
  4833. );
  4834. CREATE INDEX "ACT_IDX_SJOB_EXECUTION_ID"
  4835. ON "ACT_RU_SUSPENDED_JOB" ("EXECUTION_ID_" ASC)
  4836. LOGGING
  4837. ONLINE
  4838. TABLESPACE "USERS"
  4839. VISIBLE
  4840. PCTFREE 10
  4841. INITRANS 2
  4842. STORAGE (
  4843. INITIAL 65536
  4844. NEXT 1048576
  4845. MINEXTENTS 1
  4846. MAXEXTENTS 2147483645
  4847. BUFFER_POOL DEFAULT
  4848. );
  4849. CREATE INDEX "ACT_IDX_SJOB_PROC_DEF_ID"
  4850. ON "ACT_RU_SUSPENDED_JOB" ("PROC_DEF_ID_" ASC)
  4851. LOGGING
  4852. ONLINE
  4853. TABLESPACE "USERS"
  4854. VISIBLE
  4855. PCTFREE 10
  4856. INITRANS 2
  4857. STORAGE (
  4858. INITIAL 65536
  4859. NEXT 1048576
  4860. MINEXTENTS 1
  4861. MAXEXTENTS 2147483645
  4862. BUFFER_POOL DEFAULT
  4863. );
  4864. CREATE INDEX "ACT_IDX_SJOB_PROC_INST_ID"
  4865. ON "ACT_RU_SUSPENDED_JOB" ("PROCESS_INSTANCE_ID_" ASC)
  4866. LOGGING
  4867. ONLINE
  4868. TABLESPACE "USERS"
  4869. VISIBLE
  4870. PCTFREE 10
  4871. INITRANS 2
  4872. STORAGE (
  4873. INITIAL 65536
  4874. NEXT 1048576
  4875. MINEXTENTS 1
  4876. MAXEXTENTS 2147483645
  4877. BUFFER_POOL DEFAULT
  4878. );
  4879. CREATE INDEX "ACT_IDX_SJOB_SCOPE"
  4880. ON "ACT_RU_SUSPENDED_JOB" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  4881. LOGGING
  4882. TABLESPACE "USERS"
  4883. VISIBLE
  4884. PCTFREE 10
  4885. INITRANS 2
  4886. STORAGE (
  4887. INITIAL 65536
  4888. NEXT 1048576
  4889. MINEXTENTS 1
  4890. MAXEXTENTS 2147483645
  4891. BUFFER_POOL DEFAULT
  4892. );
  4893. CREATE INDEX "ACT_IDX_SJOB_SCOPE_DEF"
  4894. ON "ACT_RU_SUSPENDED_JOB" ("SCOPE_DEFINITION_ID_" ASC, "SCOPE_TYPE_" ASC)
  4895. LOGGING
  4896. TABLESPACE "USERS"
  4897. VISIBLE
  4898. PCTFREE 10
  4899. INITRANS 2
  4900. STORAGE (
  4901. INITIAL 65536
  4902. NEXT 1048576
  4903. MINEXTENTS 1
  4904. MAXEXTENTS 2147483645
  4905. BUFFER_POOL DEFAULT
  4906. );
  4907. CREATE INDEX "ACT_IDX_SJOB_SUB_SCOPE"
  4908. ON "ACT_RU_SUSPENDED_JOB" ("SUB_SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  4909. LOGGING
  4910. TABLESPACE "USERS"
  4911. VISIBLE
  4912. PCTFREE 10
  4913. INITRANS 2
  4914. STORAGE (
  4915. INITIAL 65536
  4916. NEXT 1048576
  4917. MINEXTENTS 1
  4918. MAXEXTENTS 2147483645
  4919. BUFFER_POOL DEFAULT
  4920. );
  4921. -- ----------------------------
  4922. -- Primary Key structure for table ACT_RU_TASK
  4923. -- ----------------------------
  4924. ALTER TABLE "ACT_RU_TASK" ADD CONSTRAINT "SYS_C0015271" PRIMARY KEY ("ID_");
  4925. -- ----------------------------
  4926. -- Checks structure for table ACT_RU_TASK
  4927. -- ----------------------------
  4928. ALTER TABLE "ACT_RU_TASK" ADD CONSTRAINT "SYS_C0015270" CHECK (IS_COUNT_ENABLED_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  4929. -- ----------------------------
  4930. -- Indexes structure for table ACT_RU_TASK
  4931. -- ----------------------------
  4932. CREATE INDEX "ACT_IDX_TASK_CREATE"
  4933. ON "ACT_RU_TASK" ("CREATE_TIME_" ASC)
  4934. LOGGING
  4935. TABLESPACE "USERS"
  4936. VISIBLE
  4937. PCTFREE 10
  4938. INITRANS 2
  4939. STORAGE (
  4940. INITIAL 65536
  4941. NEXT 1048576
  4942. MINEXTENTS 1
  4943. MAXEXTENTS 2147483645
  4944. BUFFER_POOL DEFAULT
  4945. );
  4946. CREATE INDEX "ACT_IDX_TASK_EXEC"
  4947. ON "ACT_RU_TASK" ("EXECUTION_ID_" ASC)
  4948. LOGGING
  4949. ONLINE
  4950. TABLESPACE "USERS"
  4951. VISIBLE
  4952. PCTFREE 10
  4953. INITRANS 2
  4954. STORAGE (
  4955. INITIAL 65536
  4956. NEXT 1048576
  4957. MINEXTENTS 1
  4958. MAXEXTENTS 2147483645
  4959. BUFFER_POOL DEFAULT
  4960. );
  4961. CREATE INDEX "ACT_IDX_TASK_PROCDEF"
  4962. ON "ACT_RU_TASK" ("PROC_DEF_ID_" ASC)
  4963. LOGGING
  4964. ONLINE
  4965. TABLESPACE "USERS"
  4966. VISIBLE
  4967. PCTFREE 10
  4968. INITRANS 2
  4969. STORAGE (
  4970. INITIAL 65536
  4971. NEXT 1048576
  4972. MINEXTENTS 1
  4973. MAXEXTENTS 2147483645
  4974. BUFFER_POOL DEFAULT
  4975. );
  4976. CREATE INDEX "ACT_IDX_TASK_PROCINST"
  4977. ON "ACT_RU_TASK" ("PROC_INST_ID_" ASC)
  4978. LOGGING
  4979. ONLINE
  4980. TABLESPACE "USERS"
  4981. VISIBLE
  4982. PCTFREE 10
  4983. INITRANS 2
  4984. STORAGE (
  4985. INITIAL 65536
  4986. NEXT 1048576
  4987. MINEXTENTS 1
  4988. MAXEXTENTS 2147483645
  4989. BUFFER_POOL DEFAULT
  4990. );
  4991. CREATE INDEX "ACT_IDX_TASK_SCOPE"
  4992. ON "ACT_RU_TASK" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  4993. LOGGING
  4994. TABLESPACE "USERS"
  4995. VISIBLE
  4996. PCTFREE 10
  4997. INITRANS 2
  4998. STORAGE (
  4999. INITIAL 65536
  5000. NEXT 1048576
  5001. MINEXTENTS 1
  5002. MAXEXTENTS 2147483645
  5003. BUFFER_POOL DEFAULT
  5004. );
  5005. CREATE INDEX "ACT_IDX_TASK_SCOPE_DEF"
  5006. ON "ACT_RU_TASK" ("SCOPE_DEFINITION_ID_" ASC, "SCOPE_TYPE_" ASC)
  5007. LOGGING
  5008. TABLESPACE "USERS"
  5009. VISIBLE
  5010. PCTFREE 10
  5011. INITRANS 2
  5012. STORAGE (
  5013. INITIAL 65536
  5014. NEXT 1048576
  5015. MINEXTENTS 1
  5016. MAXEXTENTS 2147483645
  5017. BUFFER_POOL DEFAULT
  5018. );
  5019. CREATE INDEX "ACT_IDX_TASK_SUB_SCOPE"
  5020. ON "ACT_RU_TASK" ("SUB_SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  5021. LOGGING
  5022. ONLINE
  5023. TABLESPACE "USERS"
  5024. VISIBLE
  5025. PCTFREE 10
  5026. INITRANS 2
  5027. STORAGE (
  5028. INITIAL 65536
  5029. NEXT 1048576
  5030. MINEXTENTS 1
  5031. MAXEXTENTS 2147483645
  5032. BUFFER_POOL DEFAULT
  5033. );
  5034. -- ----------------------------
  5035. -- Primary Key structure for table ACT_RU_TIMER_JOB
  5036. -- ----------------------------
  5037. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0015251" PRIMARY KEY ("ID_");
  5038. -- ----------------------------
  5039. -- Checks structure for table ACT_RU_TIMER_JOB
  5040. -- ----------------------------
  5041. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0015248" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5042. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0015249" CHECK ("TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5043. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "SYS_C0015250" CHECK (EXCLUSIVE_ IN (1,0)) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5044. -- ----------------------------
  5045. -- Indexes structure for table ACT_RU_TIMER_JOB
  5046. -- ----------------------------
  5047. CREATE INDEX "ACT_IDX_TJOB_CUSTOM_VAL_ID"
  5048. ON "ACT_RU_TIMER_JOB" ("CUSTOM_VALUES_ID_" ASC)
  5049. LOGGING
  5050. TABLESPACE "USERS"
  5051. VISIBLE
  5052. PCTFREE 10
  5053. INITRANS 2
  5054. STORAGE (
  5055. INITIAL 65536
  5056. NEXT 1048576
  5057. MINEXTENTS 1
  5058. MAXEXTENTS 2147483645
  5059. BUFFER_POOL DEFAULT
  5060. );
  5061. CREATE INDEX "ACT_IDX_TJOB_EXCEPTION"
  5062. ON "ACT_RU_TIMER_JOB" ("EXCEPTION_STACK_ID_" ASC)
  5063. LOGGING
  5064. TABLESPACE "USERS"
  5065. VISIBLE
  5066. PCTFREE 10
  5067. INITRANS 2
  5068. STORAGE (
  5069. INITIAL 65536
  5070. NEXT 1048576
  5071. MINEXTENTS 1
  5072. MAXEXTENTS 2147483645
  5073. BUFFER_POOL DEFAULT
  5074. );
  5075. CREATE INDEX "ACT_IDX_TJOB_EXECUTION_ID"
  5076. ON "ACT_RU_TIMER_JOB" ("EXECUTION_ID_" ASC)
  5077. LOGGING
  5078. ONLINE
  5079. TABLESPACE "USERS"
  5080. VISIBLE
  5081. PCTFREE 10
  5082. INITRANS 2
  5083. STORAGE (
  5084. INITIAL 65536
  5085. NEXT 1048576
  5086. MINEXTENTS 1
  5087. MAXEXTENTS 2147483645
  5088. BUFFER_POOL DEFAULT
  5089. );
  5090. CREATE INDEX "ACT_IDX_TJOB_PROC_DEF_ID"
  5091. ON "ACT_RU_TIMER_JOB" ("PROC_DEF_ID_" ASC)
  5092. LOGGING
  5093. TABLESPACE "USERS"
  5094. VISIBLE
  5095. PCTFREE 10
  5096. INITRANS 2
  5097. STORAGE (
  5098. INITIAL 65536
  5099. NEXT 1048576
  5100. MINEXTENTS 1
  5101. MAXEXTENTS 2147483645
  5102. BUFFER_POOL DEFAULT
  5103. );
  5104. CREATE INDEX "ACT_IDX_TJOB_PROC_INST_ID"
  5105. ON "ACT_RU_TIMER_JOB" ("PROCESS_INSTANCE_ID_" ASC)
  5106. LOGGING
  5107. TABLESPACE "USERS"
  5108. VISIBLE
  5109. PCTFREE 10
  5110. INITRANS 2
  5111. STORAGE (
  5112. INITIAL 65536
  5113. NEXT 1048576
  5114. MINEXTENTS 1
  5115. MAXEXTENTS 2147483645
  5116. BUFFER_POOL DEFAULT
  5117. );
  5118. CREATE INDEX "ACT_IDX_TJOB_SCOPE"
  5119. ON "ACT_RU_TIMER_JOB" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  5120. LOGGING
  5121. ONLINE
  5122. TABLESPACE "USERS"
  5123. VISIBLE
  5124. PCTFREE 10
  5125. INITRANS 2
  5126. STORAGE (
  5127. INITIAL 65536
  5128. NEXT 1048576
  5129. MINEXTENTS 1
  5130. MAXEXTENTS 2147483645
  5131. BUFFER_POOL DEFAULT
  5132. );
  5133. CREATE INDEX "ACT_IDX_TJOB_SCOPE_DEF"
  5134. ON "ACT_RU_TIMER_JOB" ("SCOPE_DEFINITION_ID_" ASC, "SCOPE_TYPE_" ASC)
  5135. LOGGING
  5136. TABLESPACE "USERS"
  5137. VISIBLE
  5138. PCTFREE 10
  5139. INITRANS 2
  5140. STORAGE (
  5141. INITIAL 65536
  5142. NEXT 1048576
  5143. MINEXTENTS 1
  5144. MAXEXTENTS 2147483645
  5145. BUFFER_POOL DEFAULT
  5146. );
  5147. CREATE INDEX "ACT_IDX_TJOB_SUB_SCOPE"
  5148. ON "ACT_RU_TIMER_JOB" ("SUB_SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  5149. LOGGING
  5150. TABLESPACE "USERS"
  5151. VISIBLE
  5152. PCTFREE 10
  5153. INITRANS 2
  5154. STORAGE (
  5155. INITIAL 65536
  5156. NEXT 1048576
  5157. MINEXTENTS 1
  5158. MAXEXTENTS 2147483645
  5159. BUFFER_POOL DEFAULT
  5160. );
  5161. -- ----------------------------
  5162. -- Primary Key structure for table ACT_RU_VARIABLE
  5163. -- ----------------------------
  5164. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0015281" PRIMARY KEY ("ID_");
  5165. -- ----------------------------
  5166. -- Checks structure for table ACT_RU_VARIABLE
  5167. -- ----------------------------
  5168. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0015278" CHECK ("ID_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5169. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0015279" CHECK ("TYPE_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5170. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "SYS_C0015280" CHECK ("NAME_" IS NOT NULL) NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5171. -- ----------------------------
  5172. -- Indexes structure for table ACT_RU_VARIABLE
  5173. -- ----------------------------
  5174. CREATE INDEX "ACT_IDX_RU_VAR_SCOPE_ID_TYPE"
  5175. ON "ACT_RU_VARIABLE" ("SCOPE_ID_" ASC, "SCOPE_TYPE_" ASC)
  5176. LOGGING
  5177. TABLESPACE "USERS"
  5178. VISIBLE
  5179. PCTFREE 10
  5180. INITRANS 2
  5181. STORAGE (
  5182. INITIAL 65536
  5183. NEXT 1048576
  5184. MINEXTENTS 1
  5185. MAXEXTENTS 2147483645
  5186. BUFFER_POOL DEFAULT
  5187. );
  5188. CREATE INDEX "ACT_IDX_RU_VAR_SUB_ID_TYPE"
  5189. ON "ACT_RU_VARIABLE" ("SCOPE_TYPE_" ASC, "SUB_SCOPE_ID_" ASC)
  5190. LOGGING
  5191. ONLINE
  5192. TABLESPACE "USERS"
  5193. VISIBLE
  5194. PCTFREE 10
  5195. INITRANS 2
  5196. STORAGE (
  5197. INITIAL 65536
  5198. NEXT 1048576
  5199. MINEXTENTS 1
  5200. MAXEXTENTS 2147483645
  5201. BUFFER_POOL DEFAULT
  5202. );
  5203. CREATE INDEX "ACT_IDX_VARIABLE_TASK_ID"
  5204. ON "ACT_RU_VARIABLE" ("TASK_ID_" ASC)
  5205. LOGGING
  5206. ONLINE
  5207. TABLESPACE "USERS"
  5208. VISIBLE
  5209. PCTFREE 10
  5210. INITRANS 2
  5211. STORAGE (
  5212. INITIAL 65536
  5213. NEXT 1048576
  5214. MINEXTENTS 1
  5215. MAXEXTENTS 2147483645
  5216. BUFFER_POOL DEFAULT
  5217. );
  5218. CREATE INDEX "ACT_IDX_VAR_BYTEARRAY"
  5219. ON "ACT_RU_VARIABLE" ("BYTEARRAY_ID_" ASC)
  5220. LOGGING
  5221. TABLESPACE "USERS"
  5222. VISIBLE
  5223. PCTFREE 10
  5224. INITRANS 2
  5225. STORAGE (
  5226. INITIAL 65536
  5227. NEXT 1048576
  5228. MINEXTENTS 1
  5229. MAXEXTENTS 2147483645
  5230. BUFFER_POOL DEFAULT
  5231. );
  5232. CREATE INDEX "ACT_IDX_VAR_EXE"
  5233. ON "ACT_RU_VARIABLE" ("EXECUTION_ID_" ASC)
  5234. LOGGING
  5235. TABLESPACE "USERS"
  5236. VISIBLE
  5237. PCTFREE 10
  5238. INITRANS 2
  5239. STORAGE (
  5240. INITIAL 65536
  5241. NEXT 1048576
  5242. MINEXTENTS 1
  5243. MAXEXTENTS 2147483645
  5244. BUFFER_POOL DEFAULT
  5245. );
  5246. CREATE INDEX "ACT_IDX_VAR_PROCINST"
  5247. ON "ACT_RU_VARIABLE" ("PROC_INST_ID_" ASC)
  5248. LOGGING
  5249. TABLESPACE "USERS"
  5250. VISIBLE
  5251. PCTFREE 10
  5252. INITRANS 2
  5253. STORAGE (
  5254. INITIAL 65536
  5255. NEXT 1048576
  5256. MINEXTENTS 1
  5257. MAXEXTENTS 2147483645
  5258. BUFFER_POOL DEFAULT
  5259. );
  5260. -- ----------------------------
  5261. -- Foreign Keys structure for table ACT_APP_APPDEF
  5262. -- ----------------------------
  5263. ALTER TABLE "ACT_APP_APPDEF" ADD CONSTRAINT "ACT_FK_APP_DEF_DPLY" FOREIGN KEY ("DEPLOYMENT_ID_") REFERENCES "ACT_APP_DEPLOYMENT" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5264. -- ----------------------------
  5265. -- Foreign Keys structure for table ACT_APP_DEPLOYMENT_RESOURCE
  5266. -- ----------------------------
  5267. ALTER TABLE "ACT_APP_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "ACT_FK_APP_RSRC_DPL" FOREIGN KEY ("DEPLOYMENT_ID_") REFERENCES "ACT_APP_DEPLOYMENT" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5268. -- ----------------------------
  5269. -- Foreign Keys structure for table ACT_CMMN_CASEDEF
  5270. -- ----------------------------
  5271. ALTER TABLE "ACT_CMMN_CASEDEF" ADD CONSTRAINT "ACT_FK_CASE_DEF_DPLY" FOREIGN KEY ("DEPLOYMENT_ID_") REFERENCES "ACT_CMMN_DEPLOYMENT" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5272. -- ----------------------------
  5273. -- Foreign Keys structure for table ACT_CMMN_DEPLOYMENT_RESOURCE
  5274. -- ----------------------------
  5275. ALTER TABLE "ACT_CMMN_DEPLOYMENT_RESOURCE" ADD CONSTRAINT "ACT_FK_CMMN_RSRC_DPL" FOREIGN KEY ("DEPLOYMENT_ID_") REFERENCES "ACT_CMMN_DEPLOYMENT" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5276. -- ----------------------------
  5277. -- Foreign Keys structure for table ACT_CMMN_RU_CASE_INST
  5278. -- ----------------------------
  5279. ALTER TABLE "ACT_CMMN_RU_CASE_INST" ADD CONSTRAINT "ACT_FK_CASE_INST_CASE_DEF" FOREIGN KEY ("CASE_DEF_ID_") REFERENCES "ACT_CMMN_CASEDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5280. -- ----------------------------
  5281. -- Foreign Keys structure for table ACT_CMMN_RU_MIL_INST
  5282. -- ----------------------------
  5283. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "ACT_FK_MIL_CASE_DEF" FOREIGN KEY ("CASE_DEF_ID_") REFERENCES "ACT_CMMN_CASEDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5284. ALTER TABLE "ACT_CMMN_RU_MIL_INST" ADD CONSTRAINT "ACT_FK_MIL_CASE_INST" FOREIGN KEY ("CASE_INST_ID_") REFERENCES "ACT_CMMN_RU_CASE_INST" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5285. -- ----------------------------
  5286. -- Foreign Keys structure for table ACT_CMMN_RU_PLAN_ITEM_INST
  5287. -- ----------------------------
  5288. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "ACT_FK_PLAN_ITEM_CASE_DEF" FOREIGN KEY ("CASE_DEF_ID_") REFERENCES "ACT_CMMN_CASEDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5289. ALTER TABLE "ACT_CMMN_RU_PLAN_ITEM_INST" ADD CONSTRAINT "ACT_FK_PLAN_ITEM_CASE_INST" FOREIGN KEY ("CASE_INST_ID_") REFERENCES "ACT_CMMN_RU_CASE_INST" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5290. -- ----------------------------
  5291. -- Foreign Keys structure for table ACT_CMMN_RU_SENTRY_PART_INST
  5292. -- ----------------------------
  5293. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "ACT_FK_SENTRY_CASE_DEF" FOREIGN KEY ("CASE_DEF_ID_") REFERENCES "ACT_CMMN_CASEDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5294. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "ACT_FK_SENTRY_CASE_INST" FOREIGN KEY ("CASE_INST_ID_") REFERENCES "ACT_CMMN_RU_CASE_INST" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5295. ALTER TABLE "ACT_CMMN_RU_SENTRY_PART_INST" ADD CONSTRAINT "ACT_FK_SENTRY_PLAN_ITEM" FOREIGN KEY ("PLAN_ITEM_INST_ID_") REFERENCES "ACT_CMMN_RU_PLAN_ITEM_INST" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5296. -- ----------------------------
  5297. -- Foreign Keys structure for table ACT_DE_MODEL_RELATION
  5298. -- ----------------------------
  5299. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "FK_RELATION_CHILD" FOREIGN KEY ("MODEL_ID") REFERENCES "ACT_DE_MODEL" ("ID") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5300. ALTER TABLE "ACT_DE_MODEL_RELATION" ADD CONSTRAINT "FK_RELATION_PARENT" FOREIGN KEY ("PARENT_MODEL_ID") REFERENCES "ACT_DE_MODEL" ("ID") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5301. -- ----------------------------
  5302. -- Foreign Keys structure for table ACT_GE_BYTEARRAY
  5303. -- ----------------------------
  5304. ALTER TABLE "ACT_GE_BYTEARRAY" ADD CONSTRAINT "ACT_FK_BYTEARR_DEPL" FOREIGN KEY ("DEPLOYMENT_ID_") REFERENCES "ACT_RE_DEPLOYMENT" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5305. -- ----------------------------
  5306. -- Foreign Keys structure for table ACT_ID_MEMBERSHIP
  5307. -- ----------------------------
  5308. ALTER TABLE "ACT_ID_MEMBERSHIP" ADD CONSTRAINT "ACT_FK_MEMB_GROUP" FOREIGN KEY ("GROUP_ID_") REFERENCES "ACT_ID_GROUP" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5309. ALTER TABLE "ACT_ID_MEMBERSHIP" ADD CONSTRAINT "ACT_FK_MEMB_USER" FOREIGN KEY ("USER_ID_") REFERENCES "ACT_ID_USER" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5310. -- ----------------------------
  5311. -- Foreign Keys structure for table ACT_ID_PRIV_MAPPING
  5312. -- ----------------------------
  5313. ALTER TABLE "ACT_ID_PRIV_MAPPING" ADD CONSTRAINT "ACT_FK_PRIV_MAPPING" FOREIGN KEY ("PRIV_ID_") REFERENCES "ACT_ID_PRIV" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5314. -- ----------------------------
  5315. -- Foreign Keys structure for table ACT_PROCDEF_INFO
  5316. -- ----------------------------
  5317. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "ACT_FK_INFO_JSON_BA" FOREIGN KEY ("INFO_JSON_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5318. ALTER TABLE "ACT_PROCDEF_INFO" ADD CONSTRAINT "ACT_FK_INFO_PROCDEF" FOREIGN KEY ("PROC_DEF_ID_") REFERENCES "ACT_RE_PROCDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5319. -- ----------------------------
  5320. -- Foreign Keys structure for table ACT_RE_MODEL
  5321. -- ----------------------------
  5322. ALTER TABLE "ACT_RE_MODEL" ADD CONSTRAINT "ACT_FK_MODEL_DEPLOYMENT" FOREIGN KEY ("DEPLOYMENT_ID_") REFERENCES "ACT_RE_DEPLOYMENT" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5323. ALTER TABLE "ACT_RE_MODEL" ADD CONSTRAINT "ACT_FK_MODEL_SOURCE" FOREIGN KEY ("EDITOR_SOURCE_VALUE_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5324. ALTER TABLE "ACT_RE_MODEL" ADD CONSTRAINT "ACT_FK_MODEL_SOURCE_EXTRA" FOREIGN KEY ("EDITOR_SOURCE_EXTRA_VALUE_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5325. -- ----------------------------
  5326. -- Foreign Keys structure for table ACT_RU_DEADLETTER_JOB
  5327. -- ----------------------------
  5328. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "ACT_FK_DJOB_CUSTOM_VAL" FOREIGN KEY ("CUSTOM_VALUES_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5329. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "ACT_FK_DJOB_EXCEPTION" FOREIGN KEY ("EXCEPTION_STACK_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5330. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "ACT_FK_DJOB_EXECUTION" FOREIGN KEY ("EXECUTION_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5331. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "ACT_FK_DJOB_PROCESS_INSTANCE" FOREIGN KEY ("PROCESS_INSTANCE_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5332. ALTER TABLE "ACT_RU_DEADLETTER_JOB" ADD CONSTRAINT "ACT_FK_DJOB_PROC_DEF" FOREIGN KEY ("PROC_DEF_ID_") REFERENCES "ACT_RE_PROCDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5333. -- ----------------------------
  5334. -- Foreign Keys structure for table ACT_RU_EVENT_SUBSCR
  5335. -- ----------------------------
  5336. ALTER TABLE "ACT_RU_EVENT_SUBSCR" ADD CONSTRAINT "ACT_FK_EVENT_EXEC" FOREIGN KEY ("EXECUTION_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5337. -- ----------------------------
  5338. -- Foreign Keys structure for table ACT_RU_EXECUTION
  5339. -- ----------------------------
  5340. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "ACT_FK_EXE_PARENT" FOREIGN KEY ("PARENT_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5341. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "ACT_FK_EXE_PROCDEF" FOREIGN KEY ("PROC_DEF_ID_") REFERENCES "ACT_RE_PROCDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5342. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "ACT_FK_EXE_PROCINST" FOREIGN KEY ("PROC_INST_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5343. ALTER TABLE "ACT_RU_EXECUTION" ADD CONSTRAINT "ACT_FK_EXE_SUPER" FOREIGN KEY ("SUPER_EXEC_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5344. -- ----------------------------
  5345. -- Foreign Keys structure for table ACT_RU_IDENTITYLINK
  5346. -- ----------------------------
  5347. ALTER TABLE "ACT_RU_IDENTITYLINK" ADD CONSTRAINT "ACT_FK_ATHRZ_PROCEDEF" FOREIGN KEY ("PROC_DEF_ID_") REFERENCES "ACT_RE_PROCDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5348. ALTER TABLE "ACT_RU_IDENTITYLINK" ADD CONSTRAINT "ACT_FK_IDL_PROCINST" FOREIGN KEY ("PROC_INST_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5349. ALTER TABLE "ACT_RU_IDENTITYLINK" ADD CONSTRAINT "ACT_FK_TSKASS_TASK" FOREIGN KEY ("TASK_ID_") REFERENCES "ACT_RU_TASK" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5350. -- ----------------------------
  5351. -- Foreign Keys structure for table ACT_RU_JOB
  5352. -- ----------------------------
  5353. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "ACT_FK_JOB_CUSTOM_VAL" FOREIGN KEY ("CUSTOM_VALUES_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5354. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "ACT_FK_JOB_EXCEPTION" FOREIGN KEY ("EXCEPTION_STACK_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5355. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "ACT_FK_JOB_EXECUTION" FOREIGN KEY ("EXECUTION_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5356. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "ACT_FK_JOB_PROCESS_INSTANCE" FOREIGN KEY ("PROCESS_INSTANCE_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5357. ALTER TABLE "ACT_RU_JOB" ADD CONSTRAINT "ACT_FK_JOB_PROC_DEF" FOREIGN KEY ("PROC_DEF_ID_") REFERENCES "ACT_RE_PROCDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5358. -- ----------------------------
  5359. -- Foreign Keys structure for table ACT_RU_SUSPENDED_JOB
  5360. -- ----------------------------
  5361. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "ACT_FK_SJOB_CUSTOM_VAL" FOREIGN KEY ("CUSTOM_VALUES_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5362. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "ACT_FK_SJOB_EXCEPTION" FOREIGN KEY ("EXCEPTION_STACK_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5363. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "ACT_FK_SJOB_EXECUTION" FOREIGN KEY ("EXECUTION_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5364. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "ACT_FK_SJOB_PROCESS_INSTANCE" FOREIGN KEY ("PROCESS_INSTANCE_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5365. ALTER TABLE "ACT_RU_SUSPENDED_JOB" ADD CONSTRAINT "ACT_FK_SJOB_PROC_DEF" FOREIGN KEY ("PROC_DEF_ID_") REFERENCES "ACT_RE_PROCDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5366. -- ----------------------------
  5367. -- Foreign Keys structure for table ACT_RU_TASK
  5368. -- ----------------------------
  5369. ALTER TABLE "ACT_RU_TASK" ADD CONSTRAINT "ACT_FK_TASK_EXE" FOREIGN KEY ("EXECUTION_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5370. ALTER TABLE "ACT_RU_TASK" ADD CONSTRAINT "ACT_FK_TASK_PROCDEF" FOREIGN KEY ("PROC_DEF_ID_") REFERENCES "ACT_RE_PROCDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5371. ALTER TABLE "ACT_RU_TASK" ADD CONSTRAINT "ACT_FK_TASK_PROCINST" FOREIGN KEY ("PROC_INST_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5372. -- ----------------------------
  5373. -- Foreign Keys structure for table ACT_RU_TIMER_JOB
  5374. -- ----------------------------
  5375. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "ACT_FK_TJOB_CUSTOM_VAL" FOREIGN KEY ("CUSTOM_VALUES_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5376. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "ACT_FK_TJOB_EXCEPTION" FOREIGN KEY ("EXCEPTION_STACK_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5377. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "ACT_FK_TJOB_EXECUTION" FOREIGN KEY ("EXECUTION_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5378. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "ACT_FK_TJOB_PROCESS_INSTANCE" FOREIGN KEY ("PROCESS_INSTANCE_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5379. ALTER TABLE "ACT_RU_TIMER_JOB" ADD CONSTRAINT "ACT_FK_TJOB_PROC_DEF" FOREIGN KEY ("PROC_DEF_ID_") REFERENCES "ACT_RE_PROCDEF" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5380. -- ----------------------------
  5381. -- Foreign Keys structure for table ACT_RU_VARIABLE
  5382. -- ----------------------------
  5383. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "ACT_FK_VAR_BYTEARRAY" FOREIGN KEY ("BYTEARRAY_ID_") REFERENCES "ACT_GE_BYTEARRAY" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5384. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "ACT_FK_VAR_EXE" FOREIGN KEY ("EXECUTION_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;
  5385. ALTER TABLE "ACT_RU_VARIABLE" ADD CONSTRAINT "ACT_FK_VAR_PROCINST" FOREIGN KEY ("PROC_INST_ID_") REFERENCES "ACT_RU_EXECUTION" ("ID_") NOT DEFERRABLE INITIALLY IMMEDIATE NORELY VALIDATE;