bladex-flowable-oracle.sql 168 KB

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