bladex-flowable-oracle.sql 178 KB

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