dev_hyperm_v2.sql 243 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666
  1. -- MySQL dump 10.13 Distrib 8.0.25, for Linux (x86_64)
  2. --
  3. -- Host: localhost Database: dev_hyperm_v2
  4. -- ------------------------------------------------------
  5. -- Server version 8.0.25-0ubuntu0.20.04.1
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!50503 SET NAMES utf8mb4 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `tbl__assessment`
  18. --
  19. DROP TABLE IF EXISTS `tbl__assessment`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!50503 SET character_set_client = utf8mb4 */;
  22. CREATE TABLE `tbl__assessment` (
  23. `assessmentid` int NOT NULL AUTO_INCREMENT,
  24. `user_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0- Normal DSE, 1-Super bike, 2- HO, 3-Zonal Manager, 4- Trainer, 5-Regional Manager, 6-Area Manager, 7-Dealer, 8-Customer Experience',
  25. `segment` tinyint(1) NOT NULL DEFAULT '0',
  26. `atype` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0 Normal,1 Level Based',
  27. `lvl_id` int NOT NULL,
  28. `assessmentname` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  29. `description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  30. `assessmentimage` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  31. `assessmenttype` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0-Offline,1-Online',
  32. `assettypeid` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1-Assessment, 2-Survey',
  33. `assessmenttimetype` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0- No timer 1- Timer',
  34. `assessmenttime` int NOT NULL,
  35. `attemptslimit` int NOT NULL,
  36. `publisheddate` datetime NOT NULL,
  37. `enddate` datetime NOT NULL,
  38. `randomcond` tinyint(1) NOT NULL COMMENT '0 -no random question ,1-random question',
  39. `filter_role` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  40. `filter_zone` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  41. `filter_region` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  42. `filter_dealer` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  43. `assessmentnotification` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  44. `assessmentpoints` int NOT NULL,
  45. `total_question` int NOT NULL,
  46. `pass_score` tinyint NOT NULL,
  47. `schedule_id` int NOT NULL,
  48. `status` tinyint(1) NOT NULL,
  49. `creatorid` int NOT NULL,
  50. `created_on` datetime NOT NULL,
  51. `modified_on` datetime NOT NULL,
  52. PRIMARY KEY (`assessmentid`),
  53. KEY `trainingid` (`assettypeid`),
  54. KEY `publisheddate` (`publisheddate`,`enddate`),
  55. KEY `segment` (`segment`)
  56. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci ROW_FORMAT=COMPACT;
  57. /*!40101 SET character_set_client = @saved_cs_client */;
  58. --
  59. -- Dumping data for table `tbl__assessment`
  60. --
  61. LOCK TABLES `tbl__assessment` WRITE;
  62. /*!40000 ALTER TABLE `tbl__assessment` DISABLE KEYS */;
  63. INSERT INTO `tbl__assessment` VALUES (1,0,0,0,0,'General Assessment',' ',' ',1,1,1,15,1,'2021-02-07 00:00:00','2021-05-31 00:00:00',1,'10',' ',' ',' ','0',0,5,80,0,0,2,'2021-03-18 12:22:22','2021-03-18 12:22:22'),(2,0,0,0,0,'Child Safety Awareness','','',1,1,1,30,20,'2021-05-29 00:00:00','2021-08-15 23:40:00',0,'','','','','1',0,6,80,0,1,2,'2021-05-30 12:05:02','2021-05-30 12:05:02');
  64. /*!40000 ALTER TABLE `tbl__assessment` ENABLE KEYS */;
  65. UNLOCK TABLES;
  66. --
  67. -- Table structure for table `tbl__assessmentquest`
  68. --
  69. DROP TABLE IF EXISTS `tbl__assessmentquest`;
  70. /*!40101 SET @saved_cs_client = @@character_set_client */;
  71. /*!50503 SET character_set_client = utf8mb4 */;
  72. CREATE TABLE `tbl__assessmentquest` (
  73. `aqid` int NOT NULL AUTO_INCREMENT,
  74. `assessmentid` int NOT NULL,
  75. `qid` int NOT NULL,
  76. `is_mandatory` tinyint(1) NOT NULL,
  77. `creatorid` int NOT NULL,
  78. `created_on` datetime NOT NULL,
  79. `modified_on` datetime NOT NULL,
  80. PRIMARY KEY (`aqid`),
  81. KEY `assessmentid` (`assessmentid`),
  82. KEY `qid` (`qid`)
  83. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  84. /*!40101 SET character_set_client = @saved_cs_client */;
  85. --
  86. -- Dumping data for table `tbl__assessmentquest`
  87. --
  88. LOCK TABLES `tbl__assessmentquest` WRITE;
  89. /*!40000 ALTER TABLE `tbl__assessmentquest` DISABLE KEYS */;
  90. INSERT INTO `tbl__assessmentquest` VALUES (1,1,1,1,1,'2021-02-07 00:00:00','2021-02-07 00:00:00'),(2,1,2,1,1,'2021-02-07 00:00:00','2021-02-07 00:00:00'),(3,1,3,1,1,'2021-02-07 00:00:00','2021-02-07 00:00:00'),(4,1,4,1,1,'2021-02-07 00:00:00','2021-02-07 00:00:00'),(5,1,5,1,1,'2021-02-07 00:00:00','2021-02-07 00:00:00'),(6,1,6,1,1,'2021-02-07 00:00:00','2021-02-07 00:00:00'),(7,2,7,0,2,'2021-05-30 12:05:02','2021-05-30 12:05:02'),(8,2,8,0,2,'2021-05-30 12:05:02','2021-05-30 12:05:02'),(9,2,9,0,2,'2021-05-30 12:05:02','2021-05-30 12:05:02'),(10,2,10,0,2,'2021-05-30 12:05:02','2021-05-30 12:05:02'),(11,2,11,0,2,'2021-05-30 12:05:02','2021-05-30 12:05:02'),(12,2,12,0,2,'2021-05-30 12:05:02','2021-05-30 12:05:02');
  91. /*!40000 ALTER TABLE `tbl__assessmentquest` ENABLE KEYS */;
  92. UNLOCK TABLES;
  93. --
  94. -- Table structure for table `tbl__assessmentresult`
  95. --
  96. DROP TABLE IF EXISTS `tbl__assessmentresult`;
  97. /*!40101 SET @saved_cs_client = @@character_set_client */;
  98. /*!50503 SET character_set_client = utf8mb4 */;
  99. CREATE TABLE `tbl__assessmentresult` (
  100. `arid` int NOT NULL AUTO_INCREMENT,
  101. `assessmentid` int NOT NULL,
  102. `attempt_time` int NOT NULL,
  103. `userid` int NOT NULL,
  104. `assettypeid` tinyint(1) NOT NULL,
  105. `assessmenttype` tinyint(1) NOT NULL,
  106. `remarks` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  107. `assessmentdate` date NOT NULL,
  108. `userscore` double NOT NULL,
  109. `totalscore` double NOT NULL,
  110. `percentage_score` double NOT NULL,
  111. `startdatetime` datetime NOT NULL,
  112. `enddatetime` datetime NOT NULL,
  113. `time_taken` int NOT NULL,
  114. `status` tinyint(1) NOT NULL,
  115. `created_on` datetime NOT NULL,
  116. `modified_on` datetime NOT NULL,
  117. PRIMARY KEY (`arid`),
  118. KEY `assessmentid` (`assessmentid`),
  119. KEY `userid` (`userid`)
  120. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  121. /*!40101 SET character_set_client = @saved_cs_client */;
  122. --
  123. -- Dumping data for table `tbl__assessmentresult`
  124. --
  125. LOCK TABLES `tbl__assessmentresult` WRITE;
  126. /*!40000 ALTER TABLE `tbl__assessmentresult` DISABLE KEYS */;
  127. /*!40000 ALTER TABLE `tbl__assessmentresult` ENABLE KEYS */;
  128. UNLOCK TABLES;
  129. --
  130. -- Table structure for table `tbl__assessmentuser`
  131. --
  132. DROP TABLE IF EXISTS `tbl__assessmentuser`;
  133. /*!40101 SET @saved_cs_client = @@character_set_client */;
  134. /*!50503 SET character_set_client = utf8mb4 */;
  135. CREATE TABLE `tbl__assessmentuser` (
  136. `id` int NOT NULL AUTO_INCREMENT,
  137. `assessmentid` int NOT NULL,
  138. `userid` int NOT NULL,
  139. `attemptslimit` int NOT NULL,
  140. `publisheddate` datetime NOT NULL,
  141. `enddate` datetime NOT NULL,
  142. `highscore` double NOT NULL,
  143. `highscorearid` int NOT NULL,
  144. `lvl_status` tinyint NOT NULL COMMENT '0-Not Started Grey, 1-Current Orange ,2 failed red,3 Completed Green',
  145. `creatorid` int NOT NULL,
  146. `status` int NOT NULL,
  147. `created_on` datetime NOT NULL,
  148. `modified_on` datetime NOT NULL,
  149. PRIMARY KEY (`id`),
  150. KEY `assessmentid` (`assessmentid`),
  151. KEY `userid` (`userid`),
  152. KEY `highscorearid` (`highscorearid`)
  153. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  154. /*!40101 SET character_set_client = @saved_cs_client */;
  155. --
  156. -- Dumping data for table `tbl__assessmentuser`
  157. --
  158. LOCK TABLES `tbl__assessmentuser` WRITE;
  159. /*!40000 ALTER TABLE `tbl__assessmentuser` DISABLE KEYS */;
  160. /*!40000 ALTER TABLE `tbl__assessmentuser` ENABLE KEYS */;
  161. UNLOCK TABLES;
  162. --
  163. -- Table structure for table `tbl__assessmentuserresult`
  164. --
  165. DROP TABLE IF EXISTS `tbl__assessmentuserresult`;
  166. /*!40101 SET @saved_cs_client = @@character_set_client */;
  167. /*!50503 SET character_set_client = utf8mb4 */;
  168. CREATE TABLE `tbl__assessmentuserresult` (
  169. `userresultid` int NOT NULL AUTO_INCREMENT,
  170. `arid` int NOT NULL,
  171. `assessmentid` int NOT NULL,
  172. `userid` int NOT NULL,
  173. `aqid` int NOT NULL,
  174. `qid` int NOT NULL,
  175. `choiseid` int NOT NULL,
  176. `survey_rating` tinyint(1) NOT NULL,
  177. `survey_text` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  178. `remarks` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  179. `created_on` datetime NOT NULL,
  180. `modified_on` datetime NOT NULL,
  181. PRIMARY KEY (`userresultid`),
  182. KEY `assessmentid` (`assessmentid`),
  183. KEY `userid` (`userid`),
  184. KEY `qid` (`qid`),
  185. KEY `arid` (`arid`),
  186. KEY `choiseid` (`choiseid`)
  187. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  188. /*!40101 SET character_set_client = @saved_cs_client */;
  189. --
  190. -- Dumping data for table `tbl__assessmentuserresult`
  191. --
  192. LOCK TABLES `tbl__assessmentuserresult` WRITE;
  193. /*!40000 ALTER TABLE `tbl__assessmentuserresult` DISABLE KEYS */;
  194. /*!40000 ALTER TABLE `tbl__assessmentuserresult` ENABLE KEYS */;
  195. UNLOCK TABLES;
  196. --
  197. -- Table structure for table `tbl__asset_content`
  198. --
  199. DROP TABLE IF EXISTS `tbl__asset_content`;
  200. /*!40101 SET @saved_cs_client = @@character_set_client */;
  201. /*!50503 SET character_set_client = utf8mb4 */;
  202. CREATE TABLE `tbl__asset_content` (
  203. `contentid` int NOT NULL AUTO_INCREMENT,
  204. `assettopicid` int NOT NULL,
  205. `segment` tinyint(1) NOT NULL DEFAULT '0',
  206. `title` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  207. `description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  208. `uploaddate` datetime NOT NULL,
  209. `filter_role` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  210. `filter_zone` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  211. `filter_region` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  212. `filter_dealer` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  213. `version` int NOT NULL,
  214. `status` tinyint(1) NOT NULL DEFAULT '1',
  215. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  216. `created_on` datetime NOT NULL,
  217. `modified_on` datetime NOT NULL,
  218. PRIMARY KEY (`contentid`),
  219. KEY `assettopicid` (`assettopicid`),
  220. KEY `segment` (`segment`)
  221. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  222. /*!40101 SET character_set_client = @saved_cs_client */;
  223. --
  224. -- Dumping data for table `tbl__asset_content`
  225. --
  226. LOCK TABLES `tbl__asset_content` WRITE;
  227. /*!40000 ALTER TABLE `tbl__asset_content` DISABLE KEYS */;
  228. INSERT INTO `tbl__asset_content` VALUES (1,1,0,'Introduction to Sexting & Grooming','Introduction to Sexting & Grooming','2021-05-30 00:00:00','',' ',' ','',3,1,0,'2021-02-14 00:00:00','2021-05-30 11:58:25');
  229. /*!40000 ALTER TABLE `tbl__asset_content` ENABLE KEYS */;
  230. UNLOCK TABLES;
  231. --
  232. -- Table structure for table `tbl__asset_file`
  233. --
  234. DROP TABLE IF EXISTS `tbl__asset_file`;
  235. /*!40101 SET @saved_cs_client = @@character_set_client */;
  236. /*!50503 SET character_set_client = utf8mb4 */;
  237. CREATE TABLE `tbl__asset_file` (
  238. `id` int NOT NULL AUTO_INCREMENT,
  239. `contentid` int NOT NULL,
  240. `language_id` int NOT NULL,
  241. `filepath` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  242. `thumbpath` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  243. `filetypeid` int NOT NULL,
  244. `filetype` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  245. `filesize` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  246. `filequality` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  247. `created_on` datetime NOT NULL,
  248. `modified_on` datetime NOT NULL,
  249. PRIMARY KEY (`id`),
  250. KEY `contentid` (`contentid`)
  251. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  252. /*!40101 SET character_set_client = @saved_cs_client */;
  253. --
  254. -- Dumping data for table `tbl__asset_file`
  255. --
  256. LOCK TABLES `tbl__asset_file` WRITE;
  257. /*!40000 ALTER TABLE `tbl__asset_file` DISABLE KEYS */;
  258. INSERT INTO `tbl__asset_file` VALUES (1,1,1,'content_20210214_5ca5a6984140b.pdf','thumbimage_20210214_5ca5a69988561.png',1,'PDF','6435','HIGH','2021-02-14 00:00:00','2021-02-14 00:00:00');
  259. /*!40000 ALTER TABLE `tbl__asset_file` ENABLE KEYS */;
  260. UNLOCK TABLES;
  261. --
  262. -- Table structure for table `tbl__asset_topics`
  263. --
  264. DROP TABLE IF EXISTS `tbl__asset_topics`;
  265. /*!40101 SET @saved_cs_client = @@character_set_client */;
  266. /*!50503 SET character_set_client = utf8mb4 */;
  267. CREATE TABLE `tbl__asset_topics` (
  268. `assettopicid` int NOT NULL AUTO_INCREMENT,
  269. `user_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0- Normal,1-Super bike',
  270. `segment` tinyint(1) NOT NULL DEFAULT '0',
  271. `cateid` int NOT NULL,
  272. `lvl_id` int NOT NULL,
  273. `parentid` int NOT NULL,
  274. `topicname` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  275. `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  276. `position` int NOT NULL,
  277. `listorder` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0 - ASC , 1 - DESC',
  278. `status` tinyint(1) NOT NULL DEFAULT '1',
  279. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  280. `created_on` datetime NOT NULL,
  281. `modified_on` datetime NOT NULL,
  282. PRIMARY KEY (`assettopicid`),
  283. KEY `cateid` (`cateid`),
  284. KEY `segment` (`segment`)
  285. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  286. /*!40101 SET character_set_client = @saved_cs_client */;
  287. --
  288. -- Dumping data for table `tbl__asset_topics`
  289. --
  290. LOCK TABLES `tbl__asset_topics` WRITE;
  291. /*!40000 ALTER TABLE `tbl__asset_topics` DISABLE KEYS */;
  292. INSERT INTO `tbl__asset_topics` VALUES (1,0,0,1,0,0,'Our Standard','topic_1.png',0,0,1,0,'2021-02-14 00:00:00','2021-02-14 00:00:00');
  293. /*!40000 ALTER TABLE `tbl__asset_topics` ENABLE KEYS */;
  294. UNLOCK TABLES;
  295. --
  296. -- Table structure for table `tbl__banners`
  297. --
  298. DROP TABLE IF EXISTS `tbl__banners`;
  299. /*!40101 SET @saved_cs_client = @@character_set_client */;
  300. /*!50503 SET character_set_client = utf8mb4 */;
  301. CREATE TABLE `tbl__banners` (
  302. `banner_id` int NOT NULL AUTO_INCREMENT,
  303. `banner_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-Mobile,1.Web',
  304. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  305. `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  306. `filter_role` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  307. `filter_zone` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  308. `filter_region` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  309. `filter_dealer` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  310. `published_date` date NOT NULL,
  311. `expired_date` date NOT NULL,
  312. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  313. `created_on` datetime NOT NULL,
  314. `modified_on` datetime NOT NULL,
  315. PRIMARY KEY (`banner_id`)
  316. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  317. /*!40101 SET character_set_client = @saved_cs_client */;
  318. --
  319. -- Dumping data for table `tbl__banners`
  320. --
  321. LOCK TABLES `tbl__banners` WRITE;
  322. /*!40000 ALTER TABLE `tbl__banners` DISABLE KEYS */;
  323. INSERT INTO `tbl__banners` VALUES (1,0,'Mob 1','mob_1.jpg',' ',' ',' ',' ','2021-02-07','0000-00-00',0,'2021-02-21 00:00:00','2021-02-21 00:00:00');
  324. /*!40000 ALTER TABLE `tbl__banners` ENABLE KEYS */;
  325. UNLOCK TABLES;
  326. --
  327. -- Table structure for table `tbl__bulletin`
  328. --
  329. DROP TABLE IF EXISTS `tbl__bulletin`;
  330. /*!40101 SET @saved_cs_client = @@character_set_client */;
  331. /*!50503 SET character_set_client = utf8mb4 */;
  332. CREATE TABLE `tbl__bulletin` (
  333. `bulletin_id` int NOT NULL AUTO_INCREMENT,
  334. `user_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0- Normal,1-Super bike',
  335. `segment` tinyint(1) NOT NULL DEFAULT '0',
  336. `bulletin_title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  337. `bulletin_sdesc` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  338. `bulletin_desc` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  339. `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  340. `file` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  341. `filter_role` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  342. `filter_zone` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  343. `filter_region` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  344. `filter_dealer` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  345. `published_date` datetime NOT NULL,
  346. `status` tinyint(1) NOT NULL DEFAULT '1',
  347. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  348. `created_on` datetime NOT NULL,
  349. `modified_on` datetime NOT NULL,
  350. PRIMARY KEY (`bulletin_id`),
  351. KEY `segment` (`segment`)
  352. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  353. /*!40101 SET character_set_client = @saved_cs_client */;
  354. --
  355. -- Dumping data for table `tbl__bulletin`
  356. --
  357. LOCK TABLES `tbl__bulletin` WRITE;
  358. /*!40000 ALTER TABLE `tbl__bulletin` DISABLE KEYS */;
  359. /*!40000 ALTER TABLE `tbl__bulletin` ENABLE KEYS */;
  360. UNLOCK TABLES;
  361. --
  362. -- Table structure for table `tbl__category`
  363. --
  364. DROP TABLE IF EXISTS `tbl__category`;
  365. /*!40101 SET @saved_cs_client = @@character_set_client */;
  366. /*!50503 SET character_set_client = utf8mb4 */;
  367. CREATE TABLE `tbl__category` (
  368. `cateid` int NOT NULL AUTO_INCREMENT,
  369. `catename` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  370. `created_on` datetime NOT NULL,
  371. `modified_on` datetime NOT NULL,
  372. PRIMARY KEY (`cateid`)
  373. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  374. /*!40101 SET character_set_client = @saved_cs_client */;
  375. --
  376. -- Dumping data for table `tbl__category`
  377. --
  378. LOCK TABLES `tbl__category` WRITE;
  379. /*!40000 ALTER TABLE `tbl__category` DISABLE KEYS */;
  380. INSERT INTO `tbl__category` VALUES (1,'Company','2018-06-12 05:04:00','2018-06-12 05:04:00'),(2,'Products','2018-02-01 05:04:00','2018-02-01 05:04:00'),(3,'Skills','2018-02-01 05:04:00','2018-02-01 05:04:00'),(4,'Monthly Theme','2018-02-01 05:04:00','2018-02-01 05:04:00');
  381. /*!40000 ALTER TABLE `tbl__category` ENABLE KEYS */;
  382. UNLOCK TABLES;
  383. --
  384. -- Table structure for table `tbl__country`
  385. --
  386. DROP TABLE IF EXISTS `tbl__country`;
  387. /*!40101 SET @saved_cs_client = @@character_set_client */;
  388. /*!50503 SET character_set_client = utf8mb4 */;
  389. CREATE TABLE `tbl__country` (
  390. `id` int NOT NULL AUTO_INCREMENT,
  391. `code` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  392. `name` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  393. PRIMARY KEY (`id`)
  394. ) ENGINE=InnoDB AUTO_INCREMENT=250 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  395. /*!40101 SET character_set_client = @saved_cs_client */;
  396. --
  397. -- Dumping data for table `tbl__country`
  398. --
  399. LOCK TABLES `tbl__country` WRITE;
  400. /*!40000 ALTER TABLE `tbl__country` DISABLE KEYS */;
  401. INSERT INTO `tbl__country` VALUES (1,'AD','Andorra'),(2,'AE','United Arab Emirates'),(3,'AF','Afghanistan'),(4,'AG','Antigua and Barbuda'),(5,'AI','Anguilla'),(6,'AL','Albania'),(7,'AM','Armenia'),(8,'AO','Angola'),(9,'AQ','Antarctica'),(10,'AR','Argentina'),(11,'AS','American Samoa'),(12,'AT','Austria'),(13,'AU','Australia'),(14,'AW','Aruba'),(15,'AX','Åland Islands'),(16,'AZ','Azerbaijan'),(17,'BA','Bosnia and Herzegovina'),(18,'BB','Barbados'),(19,'BD','Bangladesh'),(20,'BE','Belgium'),(21,'BF','Burkina Faso'),(22,'BG','Bulgaria'),(23,'BH','Bahrain'),(24,'BI','Burundi'),(25,'BJ','Benin'),(26,'BL','Saint Barthélemy'),(27,'BM','Bermuda'),(28,'BN','Brunei Darussalam'),(29,'BO','Bolivia'),(30,'BQ','Caribbean Netherlands '),(31,'BR','Brazil'),(32,'BS','Bahamas'),(33,'BT','Bhutan'),(34,'BV','Bouvet Island'),(35,'BW','Botswana'),(36,'BY','Belarus'),(37,'BZ','Belize'),(38,'CA','Canada'),(39,'CC','Cocos (Keeling) Islands'),(40,'CD','Congo, Democratic Republic of'),(41,'CF','Central African Republic'),(42,'CG','Congo'),(43,'CH','Switzerland'),(44,'CI','Côte D’Ivoire'),(45,'CK','Cook Islands'),(46,'CL','Chile'),(47,'CM','Cameroon'),(48,'CN','China'),(49,'CO','Colombia'),(50,'CR','Costa Rica'),(51,'CU','Cuba'),(52,'CV','Cape Verde'),(53,'CW','Curaçao'),(54,'CX','Christmas Island'),(55,'CY','Cyprus'),(56,'CZ','Czech Republic'),(57,'DE','Germany'),(58,'DJ','Djibouti'),(59,'DK','Denmark'),(60,'DM','Dominica'),(61,'DO','Dominican Republic'),(62,'DZ','Algeria'),(63,'EC','Ecuador'),(64,'EE','Estonia'),(65,'EG','Egypt'),(66,'EH','Western Sahara'),(67,'ER','Eritrea'),(68,'ES','Spain'),(69,'ET','Ethiopia'),(70,'FI','Finland'),(71,'FJ','Fiji'),(72,'FK','Falkland Islands'),(73,'FM','Micronesia, Federated States of'),(74,'FO','Faroe Islands'),(75,'FR','France'),(76,'GA','Gabon'),(77,'GB','United Kingdom'),(78,'GD','Grenada'),(79,'GE','Georgia'),(80,'GF','French Guiana'),(81,'GG','Guernsey'),(82,'GH','Ghana'),(83,'GI','Gibraltar'),(84,'GL','Greenland'),(85,'GM','Gambia'),(86,'GN','Guinea'),(87,'GP','Guadeloupe'),(88,'GQ','Equatorial Guinea'),(89,'GR','Greece'),(90,'GS','South Georgia and the South Sandwich Islands'),(91,'GT','Guatemala'),(92,'GU','Guam'),(93,'GW','Guinea-Bissau'),(94,'GY','Guyana'),(95,'HK','Hong Kong'),(96,'HM','Heard and McDonald Islands'),(97,'HN','Honduras'),(98,'HR','Croatia'),(99,'HT','Haiti'),(100,'HU','Hungary'),(101,'ID','Indonesia'),(102,'IE','Ireland'),(103,'IL','Israel'),(104,'IM','Isle of Man'),(105,'IN','India'),(106,'IO','British Indian Ocean Territory'),(107,'IQ','Iraq'),(108,'IR','Iran'),(109,'IS','Iceland'),(110,'IT','Italy'),(111,'JE','Jersey'),(112,'JM','Jamaica'),(113,'JO','Jordan'),(114,'JP','Japan'),(115,'KE','Kenya'),(116,'KG','Kyrgyzstan'),(117,'KH','Cambodia'),(118,'KI','Kiribati'),(119,'KM','Comoros'),(120,'KN','Saint Kitts and Nevis'),(121,'KP','North Korea'),(122,'KR','South Korea'),(123,'KW','Kuwait'),(124,'KY','Cayman Islands'),(125,'KZ','Kazakhstan'),(126,'LA','Lao People’s Democratic Republic'),(127,'LB','Lebanon'),(128,'LC','Saint Lucia'),(129,'LI','Liechtenstein'),(130,'LK','Sri Lanka'),(131,'LR','Liberia'),(132,'LS','Lesotho'),(133,'LT','Lithuania'),(134,'LU','Luxembourg'),(135,'LV','Latvia'),(136,'LY','Libya'),(137,'MA','Morocco'),(138,'MC','Monaco'),(139,'MD','Moldova'),(140,'ME','Montenegro'),(141,'MF','Saint-Martin (France)'),(142,'MG','Madagascar'),(143,'MH','Marshall Islands'),(144,'MK','Macedonia'),(145,'ML','Mali'),(146,'MM','Myanmar'),(147,'MN','Mongolia'),(148,'MO','Macau'),(149,'MP','Northern Mariana Islands'),(150,'MQ','Martinique'),(151,'MR','Mauritania'),(152,'MS','Montserrat'),(153,'MT','Malta'),(154,'MU','Mauritius'),(155,'MV','Maldives'),(156,'MW','Malawi'),(157,'MX','Mexico'),(158,'MY','Malaysia'),(159,'MZ','Mozambique'),(160,'NA','Namibia'),(161,'NC','New Caledonia'),(162,'NE','Niger'),(163,'NF','Norfolk Island'),(164,'NG','Nigeria'),(165,'NI','Nicaragua'),(166,'NL','The Netherlands'),(167,'NO','Norway'),(168,'NP','Nepal'),(169,'NR','Nauru'),(170,'NU','Niue'),(171,'NZ','New Zealand'),(172,'OM','Oman'),(173,'PA','Panama'),(174,'PE','Peru'),(175,'PF','French Polynesia'),(176,'PG','Papua New Guinea'),(177,'PH','Philippines'),(178,'PK','Pakistan'),(179,'PL','Poland'),(180,'PM','St. Pierre and Miquelon'),(181,'PN','Pitcairn'),(182,'PR','Puerto Rico'),(183,'PS','Palestinian Territory, Occupied'),(184,'PT','Portugal'),(185,'PW','Palau'),(186,'PY','Paraguay'),(187,'QA','Qatar'),(188,'RE','Reunion'),(189,'RO','Romania'),(190,'RS','Serbia'),(191,'RU','Russian Federation'),(192,'RW','Rwanda'),(193,'SA','Saudi Arabia'),(194,'SB','Solomon Islands'),(195,'SC','Seychelles'),(196,'SD','Sudan'),(197,'SE','Sweden'),(198,'SG','Singapore'),(199,'SH','Saint Helena'),(200,'SI','Slovenia'),(201,'SJ','Svalbard and Jan Mayen Islands'),(202,'SK','Slovakia (Slovak Republic)'),(203,'SL','Sierra Leone'),(204,'SM','San Marino'),(205,'SN','Senegal'),(206,'SO','Somalia'),(207,'SR','Suriname'),(208,'SS','South Sudan'),(209,'ST','Sao Tome and Principe'),(210,'SV','El Salvador'),(211,'SX','Saint-Martin (Pays-Bas)'),(212,'SY','Syria'),(213,'SZ','Swaziland'),(214,'TC','Turks and Caicos Islands'),(215,'TD','Chad'),(216,'TF','French Southern Territories'),(217,'TG','Togo'),(218,'TH','Thailand'),(219,'TJ','Tajikistan'),(220,'TK','Tokelau'),(221,'TL','Timor-Leste'),(222,'TM','Turkmenistan'),(223,'TN','Tunisia'),(224,'TO','Tonga'),(225,'TR','Turkey'),(226,'TT','Trinidad and Tobago'),(227,'TV','Tuvalu'),(228,'TW','Taiwan'),(229,'TZ','Tanzania'),(230,'UA','Ukraine'),(231,'UG','Uganda'),(232,'UM','United States Minor Outlying Islands'),(233,'US','United States'),(234,'UY','Uruguay'),(235,'UZ','Uzbekistan'),(236,'VA','Vatican'),(237,'VC','Saint Vincent and the Grenadines'),(238,'VE','Venezuela'),(239,'VG','Virgin Islands (British)'),(240,'VI','Virgin Islands (U.S.)'),(241,'VN','Vietnam'),(242,'VU','Vanuatu'),(243,'WF','Wallis and Futuna Islands'),(244,'WS','Samoa'),(245,'YE','Yemen'),(246,'YT','Mayotte'),(247,'ZA','South Africa'),(248,'ZM','Zambia'),(249,'ZW','Zimbabwe');
  402. /*!40000 ALTER TABLE `tbl__country` ENABLE KEYS */;
  403. UNLOCK TABLES;
  404. --
  405. -- Table structure for table `tbl__cron_log`
  406. --
  407. DROP TABLE IF EXISTS `tbl__cron_log`;
  408. /*!40101 SET @saved_cs_client = @@character_set_client */;
  409. /*!50503 SET character_set_client = utf8mb4 */;
  410. CREATE TABLE `tbl__cron_log` (
  411. `id` int NOT NULL AUTO_INCREMENT,
  412. `type` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  413. `insert_count` int NOT NULL,
  414. `update_count` int NOT NULL,
  415. `apirequest` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  416. `apiresponse` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  417. `status` tinyint(1) NOT NULL,
  418. `userid` int NOT NULL,
  419. `created_on` datetime NOT NULL,
  420. PRIMARY KEY (`id`)
  421. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  422. /*!40101 SET character_set_client = @saved_cs_client */;
  423. --
  424. -- Dumping data for table `tbl__cron_log`
  425. --
  426. LOCK TABLES `tbl__cron_log` WRITE;
  427. /*!40000 ALTER TABLE `tbl__cron_log` DISABLE KEYS */;
  428. /*!40000 ALTER TABLE `tbl__cron_log` ENABLE KEYS */;
  429. UNLOCK TABLES;
  430. --
  431. -- Table structure for table `tbl__dms_dealer`
  432. --
  433. DROP TABLE IF EXISTS `tbl__dms_dealer`;
  434. /*!40101 SET @saved_cs_client = @@character_set_client */;
  435. /*!50503 SET character_set_client = utf8mb4 */;
  436. CREATE TABLE `tbl__dms_dealer` (
  437. `id` int NOT NULL AUTO_INCREMENT,
  438. `dealer_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  439. `dealer_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  440. `address` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  441. `email` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  442. `city` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  443. `state` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  444. `zone` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  445. `country` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  446. `phone` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  447. `zm_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  448. `rm_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  449. `am_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  450. `zm_email` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  451. `rm_email` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  452. `am_email` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  453. `zm_mobile` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  454. `rm_mobile` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  455. `am_mobile` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  456. `status` tinyint(1) NOT NULL,
  457. `is_enquiry` tinyint(1) NOT NULL DEFAULT '0',
  458. `for_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  459. `parent_group` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  460. `dealer_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  461. `loc_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  462. `city_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  463. `state_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  464. `zone_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  465. `is_enquirymodule` tinyint(1) NOT NULL DEFAULT '0',
  466. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  467. `created_on` datetime NOT NULL,
  468. `modified_on` datetime NOT NULL,
  469. PRIMARY KEY (`id`),
  470. KEY `dealer_code` (`dealer_code`),
  471. KEY `zm_email` (`zm_email`),
  472. KEY `rm_email` (`rm_email`),
  473. KEY `am_email` (`am_email`),
  474. KEY `zone` (`zone`)
  475. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  476. /*!40101 SET character_set_client = @saved_cs_client */;
  477. --
  478. -- Dumping data for table `tbl__dms_dealer`
  479. --
  480. LOCK TABLES `tbl__dms_dealer` WRITE;
  481. /*!40000 ALTER TABLE `tbl__dms_dealer` DISABLE KEYS */;
  482. INSERT INTO `tbl__dms_dealer` VALUES (1,'INS001','INSTITUTE001','Chennai','dealer1@tempmail.com','Chennai','Tamilnadu','South','India','9999999999','Zonal Lead','Regional Lead','Area Lead','hypermzm@cygnusa.in','hypermrm@cygnusa.in','hypermam@cygnusa.in','1234567890','1234567891','1234567892',1,0,' ',' ',' ',' ',' ',' ',' ',1,0,'2021-05-17 09:54:00','2021-05-30 11:12:28'),(2,'UNI','UNICEF','Chennai','unicef@tempmail.com','Chennai','Tamilnadu','South','India','1234567891','Zonal Lead','Regional Lead','Area Lead','hypermzm@cygnusa.in','hypermrm@cygnusa.in','hypermam@cygnusa.in','1234567890','1234567891','1234567892',1,0,' ',' ',' ',' ',' ',' ',' ',1,0,'2021-05-17 09:54:00','2021-05-30 11:13:06');
  483. /*!40000 ALTER TABLE `tbl__dms_dealer` ENABLE KEYS */;
  484. UNLOCK TABLES;
  485. --
  486. -- Table structure for table `tbl__dms_employee`
  487. --
  488. DROP TABLE IF EXISTS `tbl__dms_employee`;
  489. /*!40101 SET @saved_cs_client = @@character_set_client */;
  490. /*!50503 SET character_set_client = utf8mb4 */;
  491. CREATE TABLE `tbl__dms_employee` (
  492. `id` int NOT NULL AUTO_INCREMENT,
  493. `smpin` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  494. `emp_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  495. `fname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  496. `lname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  497. `dealer_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  498. `role` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  499. `emailid` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  500. `mobile` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  501. `zone` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  502. `state` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  503. `city` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  504. `date_of_join` date NOT NULL,
  505. `segment` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-All, 1-Motorcycle, 2-Scooter',
  506. `status` tinyint(1) NOT NULL DEFAULT '1',
  507. `is_current` tinyint(1) NOT NULL DEFAULT '0',
  508. `dealer_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  509. `loc_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  510. `emp_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  511. `emp_desg_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  512. `emp_desg` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  513. `tl` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  514. `team_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  515. `team_id` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  516. `tl_mspin` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  517. `tl_desg` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  518. `p_channel` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  519. `mul_dealer_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  520. `for_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  521. `is_enquiry` tinyint(1) NOT NULL DEFAULT '1',
  522. `created_on` datetime NOT NULL,
  523. `modified_on` datetime NOT NULL,
  524. PRIMARY KEY (`id`),
  525. KEY `smpin` (`smpin`),
  526. KEY `dealer_code` (`dealer_code`),
  527. KEY `is_current` (`is_current`)
  528. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  529. /*!40101 SET character_set_client = @saved_cs_client */;
  530. --
  531. -- Dumping data for table `tbl__dms_employee`
  532. --
  533. LOCK TABLES `tbl__dms_employee` WRITE;
  534. /*!40000 ALTER TABLE `tbl__dms_employee` DISABLE KEYS */;
  535. INSERT INTO `tbl__dms_employee` VALUES (1,'HYPERM01',' ','Hyper-M','Employee','DL001','Employee','hyperm01@cygnusa.com','1234567890',' ',' ',' ','2020-10-01',1,1,0,' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',0,'2021-02-21 00:00:00','2021-02-21 00:00:00'),(2,'HYPERM02',' ','Lokesh','B','DL001','Employee','lokesh@gmail.com','1234567890',' ',' ',' ','2020-02-21',2,1,0,' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',0,'2021-02-21 00:00:00','2021-02-21 00:00:00'),(3,'venturefund',' ','Venture','Unicef','UNICEF','Employee','venturefund@unicef.org','1234567890',' ',' ',' ','2021-02-10',1,1,0,' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',0,'2021-05-21 00:00:00','2021-05-21 00:00:00');
  536. /*!40000 ALTER TABLE `tbl__dms_employee` ENABLE KEYS */;
  537. UNLOCK TABLES;
  538. --
  539. -- Table structure for table `tbl__dms_employee_log`
  540. --
  541. DROP TABLE IF EXISTS `tbl__dms_employee_log`;
  542. /*!40101 SET @saved_cs_client = @@character_set_client */;
  543. /*!50503 SET character_set_client = utf8mb4 */;
  544. CREATE TABLE `tbl__dms_employee_log` (
  545. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  546. `emp_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  547. `fname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  548. `lname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  549. `dealer_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  550. `role` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  551. `emailid` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  552. `mobile` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  553. `zone` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  554. `state` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  555. `city` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  556. `date_of_join` date NOT NULL,
  557. `segment` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-All, 1-Motorcycle, 2-Scooter',
  558. `status` tinyint(1) NOT NULL DEFAULT '1',
  559. `is_current` tinyint(1) NOT NULL DEFAULT '0',
  560. `created_on` datetime NOT NULL,
  561. `modified_on` datetime NOT NULL,
  562. `is_segment_check` tinyint(1) NOT NULL DEFAULT '0',
  563. KEY `smpin` (`smpin`),
  564. KEY `created_on` (`created_on`)
  565. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  566. /*!40101 SET character_set_client = @saved_cs_client */;
  567. --
  568. -- Dumping data for table `tbl__dms_employee_log`
  569. --
  570. LOCK TABLES `tbl__dms_employee_log` WRITE;
  571. /*!40000 ALTER TABLE `tbl__dms_employee_log` DISABLE KEYS */;
  572. /*!40000 ALTER TABLE `tbl__dms_employee_log` ENABLE KEYS */;
  573. UNLOCK TABLES;
  574. --
  575. -- Table structure for table `tbl__dms_employee_sales`
  576. --
  577. DROP TABLE IF EXISTS `tbl__dms_employee_sales`;
  578. /*!40101 SET @saved_cs_client = @@character_set_client */;
  579. /*!50503 SET character_set_client = utf8mb4 */;
  580. CREATE TABLE `tbl__dms_employee_sales` (
  581. `id` int NOT NULL AUTO_INCREMENT,
  582. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  583. `model` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  584. `in_num` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  585. `model_cd` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  586. `variant_cd` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  587. `enq_num` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  588. `sale_date` date NOT NULL,
  589. `sales_count` int NOT NULL,
  590. `created_on` datetime NOT NULL,
  591. `modified_on` datetime NOT NULL,
  592. PRIMARY KEY (`id`),
  593. KEY `smpin` (`smpin`),
  594. KEY `sale_date` (`sale_date`),
  595. KEY `in_num` (`in_num`)
  596. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  597. /*!40101 SET character_set_client = @saved_cs_client */;
  598. --
  599. -- Dumping data for table `tbl__dms_employee_sales`
  600. --
  601. LOCK TABLES `tbl__dms_employee_sales` WRITE;
  602. /*!40000 ALTER TABLE `tbl__dms_employee_sales` DISABLE KEYS */;
  603. /*!40000 ALTER TABLE `tbl__dms_employee_sales` ENABLE KEYS */;
  604. UNLOCK TABLES;
  605. --
  606. -- Table structure for table `tbl__dms_enquiryactionplan`
  607. --
  608. DROP TABLE IF EXISTS `tbl__dms_enquiryactionplan`;
  609. /*!40101 SET @saved_cs_client = @@character_set_client */;
  610. /*!50503 SET character_set_client = utf8mb4 */;
  611. CREATE TABLE `tbl__dms_enquiryactionplan` (
  612. `id` int NOT NULL AUTO_INCREMENT,
  613. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  614. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  615. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  616. `status` tinyint(1) NOT NULL,
  617. `created_on` datetime NOT NULL,
  618. PRIMARY KEY (`id`)
  619. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  620. /*!40101 SET character_set_client = @saved_cs_client */;
  621. --
  622. -- Dumping data for table `tbl__dms_enquiryactionplan`
  623. --
  624. LOCK TABLES `tbl__dms_enquiryactionplan` WRITE;
  625. /*!40000 ALTER TABLE `tbl__dms_enquiryactionplan` DISABLE KEYS */;
  626. INSERT INTO `tbl__dms_enquiryactionplan` VALUES (1,'EMail','E','2',1,'2020-08-28 16:21:44'),(2,'FAX','F','2',1,'2020-08-28 16:21:44'),(3,'Outbound SMS','O','2',1,'2020-08-28 16:21:44'),(4,'Showroom Visit','S','2',1,'2020-08-28 16:21:44'),(5,'Telephone','T','2',1,'2020-08-28 16:21:44'),(6,'Visit','V','2',1,'2020-08-28 16:21:44');
  627. /*!40000 ALTER TABLE `tbl__dms_enquiryactionplan` ENABLE KEYS */;
  628. UNLOCK TABLES;
  629. --
  630. -- Table structure for table `tbl__dms_enquirybuyertype`
  631. --
  632. DROP TABLE IF EXISTS `tbl__dms_enquirybuyertype`;
  633. /*!40101 SET @saved_cs_client = @@character_set_client */;
  634. /*!50503 SET character_set_client = utf8mb4 */;
  635. CREATE TABLE `tbl__dms_enquirybuyertype` (
  636. `id` int NOT NULL AUTO_INCREMENT,
  637. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  638. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  639. `status` tinyint(1) NOT NULL,
  640. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  641. `created_on` datetime NOT NULL,
  642. PRIMARY KEY (`id`)
  643. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  644. /*!40101 SET character_set_client = @saved_cs_client */;
  645. --
  646. -- Dumping data for table `tbl__dms_enquirybuyertype`
  647. --
  648. LOCK TABLES `tbl__dms_enquirybuyertype` WRITE;
  649. /*!40000 ALTER TABLE `tbl__dms_enquirybuyertype` DISABLE KEYS */;
  650. INSERT INTO `tbl__dms_enquirybuyertype` VALUES (1,'Replacement Buyer','01',0,'2','2020-08-27 11:15:44'),(2,'Old Vehicle Seller','04',0,'2','2020-08-27 11:15:44'),(3,'First Time Buyer','03',1,'2','2020-08-27 11:15:44');
  651. /*!40000 ALTER TABLE `tbl__dms_enquirybuyertype` ENABLE KEYS */;
  652. UNLOCK TABLES;
  653. --
  654. -- Table structure for table `tbl__dms_enquirycommunicate`
  655. --
  656. DROP TABLE IF EXISTS `tbl__dms_enquirycommunicate`;
  657. /*!40101 SET @saved_cs_client = @@character_set_client */;
  658. /*!50503 SET character_set_client = utf8mb4 */;
  659. CREATE TABLE `tbl__dms_enquirycommunicate` (
  660. `id` int NOT NULL AUTO_INCREMENT,
  661. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  662. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  663. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  664. `status` tinyint(1) NOT NULL,
  665. `created_on` datetime NOT NULL,
  666. PRIMARY KEY (`id`)
  667. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  668. /*!40101 SET character_set_client = @saved_cs_client */;
  669. --
  670. -- Dumping data for table `tbl__dms_enquirycommunicate`
  671. --
  672. LOCK TABLES `tbl__dms_enquirycommunicate` WRITE;
  673. /*!40000 ALTER TABLE `tbl__dms_enquirycommunicate` DISABLE KEYS */;
  674. INSERT INTO `tbl__dms_enquirycommunicate` VALUES (1,'E-Mail','E','2',1,'2020-08-27 11:28:33'),(2,'Mobile','M','2',1,'2020-08-27 11:28:33'),(3,'Office','O','2',1,'2020-08-27 11:28:33'),(4,'Residence','R','2',1,'2020-08-27 11:28:33');
  675. /*!40000 ALTER TABLE `tbl__dms_enquirycommunicate` ENABLE KEYS */;
  676. UNLOCK TABLES;
  677. --
  678. -- Table structure for table `tbl__dms_enquirycustage`
  679. --
  680. DROP TABLE IF EXISTS `tbl__dms_enquirycustage`;
  681. /*!40101 SET @saved_cs_client = @@character_set_client */;
  682. /*!50503 SET character_set_client = utf8mb4 */;
  683. CREATE TABLE `tbl__dms_enquirycustage` (
  684. `id` int NOT NULL AUTO_INCREMENT,
  685. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  686. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  687. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  688. `status` tinyint(1) NOT NULL,
  689. `created_on` datetime NOT NULL,
  690. PRIMARY KEY (`id`)
  691. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  692. /*!40101 SET character_set_client = @saved_cs_client */;
  693. --
  694. -- Dumping data for table `tbl__dms_enquirycustage`
  695. --
  696. LOCK TABLES `tbl__dms_enquirycustage` WRITE;
  697. /*!40000 ALTER TABLE `tbl__dms_enquirycustage` DISABLE KEYS */;
  698. INSERT INTO `tbl__dms_enquirycustage` VALUES (1,'18-35','A','2',1,'2020-08-27 11:40:11'),(2,'36-50','B','2',1,'2020-08-27 11:40:11'),(3,'51-65','C','2',1,'2020-08-27 11:40:11');
  699. /*!40000 ALTER TABLE `tbl__dms_enquirycustage` ENABLE KEYS */;
  700. UNLOCK TABLES;
  701. --
  702. -- Table structure for table `tbl__dms_enquirycusttype`
  703. --
  704. DROP TABLE IF EXISTS `tbl__dms_enquirycusttype`;
  705. /*!40101 SET @saved_cs_client = @@character_set_client */;
  706. /*!50503 SET character_set_client = utf8mb4 */;
  707. CREATE TABLE `tbl__dms_enquirycusttype` (
  708. `id` int NOT NULL AUTO_INCREMENT,
  709. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  710. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  711. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  712. `status` tinyint(1) NOT NULL,
  713. `created_on` datetime NOT NULL,
  714. PRIMARY KEY (`id`)
  715. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  716. /*!40101 SET character_set_client = @saved_cs_client */;
  717. --
  718. -- Dumping data for table `tbl__dms_enquirycusttype`
  719. --
  720. LOCK TABLES `tbl__dms_enquirycusttype` WRITE;
  721. /*!40000 ALTER TABLE `tbl__dms_enquirycusttype` DISABLE KEYS */;
  722. INSERT INTO `tbl__dms_enquirycusttype` VALUES (1,'Company','Z','2',1,'2020-09-08 22:51:20'),(2,'Individual','I','2',1,'2020-09-08 22:51:20');
  723. /*!40000 ALTER TABLE `tbl__dms_enquirycusttype` ENABLE KEYS */;
  724. UNLOCK TABLES;
  725. --
  726. -- Table structure for table `tbl__dms_enquirylostmodel`
  727. --
  728. DROP TABLE IF EXISTS `tbl__dms_enquirylostmodel`;
  729. /*!40101 SET @saved_cs_client = @@character_set_client */;
  730. /*!50503 SET character_set_client = utf8mb4 */;
  731. CREATE TABLE `tbl__dms_enquirylostmodel` (
  732. `id` smallint NOT NULL AUTO_INCREMENT,
  733. `cmodel_desc` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  734. `cmodel_cd` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  735. `status` tinyint(1) NOT NULL,
  736. `created_on` datetime NOT NULL,
  737. PRIMARY KEY (`id`)
  738. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  739. /*!40101 SET character_set_client = @saved_cs_client */;
  740. --
  741. -- Dumping data for table `tbl__dms_enquirylostmodel`
  742. --
  743. LOCK TABLES `tbl__dms_enquirylostmodel` WRITE;
  744. /*!40000 ALTER TABLE `tbl__dms_enquirylostmodel` DISABLE KEYS */;
  745. /*!40000 ALTER TABLE `tbl__dms_enquirylostmodel` ENABLE KEYS */;
  746. UNLOCK TABLES;
  747. --
  748. -- Table structure for table `tbl__dms_enquirymaster`
  749. --
  750. DROP TABLE IF EXISTS `tbl__dms_enquirymaster`;
  751. /*!40101 SET @saved_cs_client = @@character_set_client */;
  752. /*!50503 SET character_set_client = utf8mb4 */;
  753. CREATE TABLE `tbl__dms_enquirymaster` (
  754. `id` int NOT NULL AUTO_INCREMENT,
  755. `enq_num` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  756. `transaction_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  757. `enq_salesman_cd` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  758. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  759. `dealer_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  760. `mobile` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  761. `email` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  762. `buyer_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  763. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  764. `first_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  765. `middle_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  766. `last_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  767. `ind_sex` varchar(5) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  768. `address1` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  769. `address2` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  770. `address3` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  771. `city` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  772. `state` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  773. `ofc_address1` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  774. `ofc_address2` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  775. `ofc_address3` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  776. `ofc_city` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  777. `ofc_state` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  778. `workplace_id` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  779. `company` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  780. `work_place_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  781. `communicate` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  782. `newvechicledate` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  783. `newvechicletime` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  784. `newvechicledatatime` datetime NOT NULL,
  785. `newvechicletactionplan` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  786. `oldvechicledate` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  787. `oldvechicletime` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  788. `oldvechicletactionplan` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  789. `model1` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  790. `variant1` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  791. `color1` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  792. `model2` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  793. `variant2` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  794. `color2` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  795. `oldvechiclemaker` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  796. `oldvechiclemodel` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  797. `profession` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  798. `source` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  799. `custtype` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  800. `custage` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  801. `modeofcontact` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  802. `enquiry_stage` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  803. `lik_pur_days` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  804. `followup_remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  805. `status` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  806. `save_level` tinyint(1) NOT NULL,
  807. `share_token` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  808. `access_count` int NOT NULL,
  809. `license` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  810. `license_expiry` date NOT NULL,
  811. `otp` varchar(6) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  812. `is_testride` tinyint(1) NOT NULL,
  813. `is_dms` tinyint(1) NOT NULL,
  814. `is_starapp` tinyint(1) NOT NULL,
  815. `is_dealersubmit` tinyint(1) NOT NULL DEFAULT '0',
  816. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  817. `created_on` datetime NOT NULL,
  818. `modified_on` datetime NOT NULL,
  819. PRIMARY KEY (`id`),
  820. KEY `enq_num` (`enq_num`),
  821. KEY `smpin` (`smpin`),
  822. KEY `newvechicledatatime` (`newvechicledatatime`),
  823. KEY `enquiry_stage` (`enquiry_stage`),
  824. KEY `modeofcontact` (`modeofcontact`),
  825. KEY `status` (`status`),
  826. KEY `created_on` (`created_on`)
  827. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  828. /*!40101 SET character_set_client = @saved_cs_client */;
  829. --
  830. -- Dumping data for table `tbl__dms_enquirymaster`
  831. --
  832. LOCK TABLES `tbl__dms_enquirymaster` WRITE;
  833. /*!40000 ALTER TABLE `tbl__dms_enquirymaster` DISABLE KEYS */;
  834. /*!40000 ALTER TABLE `tbl__dms_enquirymaster` ENABLE KEYS */;
  835. UNLOCK TABLES;
  836. --
  837. -- Table structure for table `tbl__dms_enquirymodel`
  838. --
  839. DROP TABLE IF EXISTS `tbl__dms_enquirymodel`;
  840. /*!40101 SET @saved_cs_client = @@character_set_client */;
  841. /*!50503 SET character_set_client = utf8mb4 */;
  842. CREATE TABLE `tbl__dms_enquirymodel` (
  843. `id` int NOT NULL AUTO_INCREMENT,
  844. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  845. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  846. `variant` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  847. `variant_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  848. `color` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  849. `color_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  850. `segment` tinyint(1) NOT NULL,
  851. `make_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  852. `make` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  853. `channel` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  854. `enq_yn` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  855. `fuel_type` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  856. `fuel_type_desc` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  857. `color_type` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  858. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  859. `status` tinyint(1) NOT NULL,
  860. `created_on` datetime NOT NULL,
  861. PRIMARY KEY (`id`)
  862. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  863. /*!40101 SET character_set_client = @saved_cs_client */;
  864. --
  865. -- Dumping data for table `tbl__dms_enquirymodel`
  866. --
  867. LOCK TABLES `tbl__dms_enquirymodel` WRITE;
  868. /*!40000 ALTER TABLE `tbl__dms_enquirymodel` DISABLE KEYS */;
  869. /*!40000 ALTER TABLE `tbl__dms_enquirymodel` ENABLE KEYS */;
  870. UNLOCK TABLES;
  871. --
  872. -- Table structure for table `tbl__dms_enquirymodeofcontact`
  873. --
  874. DROP TABLE IF EXISTS `tbl__dms_enquirymodeofcontact`;
  875. /*!40101 SET @saved_cs_client = @@character_set_client */;
  876. /*!50503 SET character_set_client = utf8mb4 */;
  877. CREATE TABLE `tbl__dms_enquirymodeofcontact` (
  878. `id` int NOT NULL AUTO_INCREMENT,
  879. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  880. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  881. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  882. `status` tinyint(1) NOT NULL,
  883. `created_on` datetime NOT NULL,
  884. PRIMARY KEY (`id`)
  885. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  886. /*!40101 SET character_set_client = @saved_cs_client */;
  887. --
  888. -- Dumping data for table `tbl__dms_enquirymodeofcontact`
  889. --
  890. LOCK TABLES `tbl__dms_enquirymodeofcontact` WRITE;
  891. /*!40000 ALTER TABLE `tbl__dms_enquirymodeofcontact` DISABLE KEYS */;
  892. INSERT INTO `tbl__dms_enquirymodeofcontact` VALUES (1,'EMail','E','2',1,'2020-08-28 16:42:36'),(2,'FAX','F','2',1,'2020-08-28 16:42:36'),(3,'Outbound SMS','O','2',1,'2020-08-28 16:42:36'),(4,'Showroom Visit','S','2',1,'2020-08-28 16:42:36'),(5,'Telephone','T','2',1,'2020-08-28 16:42:36'),(6,'Visit','V','2',1,'2020-08-28 16:42:36');
  893. /*!40000 ALTER TABLE `tbl__dms_enquirymodeofcontact` ENABLE KEYS */;
  894. UNLOCK TABLES;
  895. --
  896. -- Table structure for table `tbl__dms_enquiryorganisation`
  897. --
  898. DROP TABLE IF EXISTS `tbl__dms_enquiryorganisation`;
  899. /*!40101 SET @saved_cs_client = @@character_set_client */;
  900. /*!50503 SET character_set_client = utf8mb4 */;
  901. CREATE TABLE `tbl__dms_enquiryorganisation` (
  902. `id` int NOT NULL AUTO_INCREMENT,
  903. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  904. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  905. `status` tinyint(1) NOT NULL,
  906. `created_on` datetime NOT NULL,
  907. PRIMARY KEY (`id`)
  908. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  909. /*!40101 SET character_set_client = @saved_cs_client */;
  910. --
  911. -- Dumping data for table `tbl__dms_enquiryorganisation`
  912. --
  913. LOCK TABLES `tbl__dms_enquiryorganisation` WRITE;
  914. /*!40000 ALTER TABLE `tbl__dms_enquiryorganisation` DISABLE KEYS */;
  915. /*!40000 ALTER TABLE `tbl__dms_enquiryorganisation` ENABLE KEYS */;
  916. UNLOCK TABLES;
  917. --
  918. -- Table structure for table `tbl__dms_enquiryprofession`
  919. --
  920. DROP TABLE IF EXISTS `tbl__dms_enquiryprofession`;
  921. /*!40101 SET @saved_cs_client = @@character_set_client */;
  922. /*!50503 SET character_set_client = utf8mb4 */;
  923. CREATE TABLE `tbl__dms_enquiryprofession` (
  924. `id` int NOT NULL AUTO_INCREMENT,
  925. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  926. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  927. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  928. `status` tinyint(1) NOT NULL,
  929. `created_on` datetime NOT NULL,
  930. PRIMARY KEY (`id`)
  931. ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  932. /*!40101 SET character_set_client = @saved_cs_client */;
  933. --
  934. -- Dumping data for table `tbl__dms_enquiryprofession`
  935. --
  936. LOCK TABLES `tbl__dms_enquiryprofession` WRITE;
  937. /*!40000 ALTER TABLE `tbl__dms_enquiryprofession` DISABLE KEYS */;
  938. INSERT INTO `tbl__dms_enquiryprofession` VALUES (1,'CA','C','2',1,'2020-09-08 11:11:48'),(2,'Defense','X','2',1,'2020-09-08 11:11:48'),(3,'Doctor','K','2',1,'2020-09-08 11:11:48'),(4,'Farmers','A','2',1,'2020-09-08 11:11:48'),(5,'Housewife','H','2',1,'2020-09-08 11:11:48'),(6,'Lawyer','L','2',1,'2020-09-08 11:11:48'),(7,'NRI','N','2',1,'2020-09-08 11:11:48'),(8,'Others','O','2',1,'2020-09-08 11:11:48'),(9,'Panchayat Member / Politician','M','2',1,'2020-09-08 11:11:48'),(10,'Proprietor / Trader','Q','2',1,'2020-09-08 11:11:48'),(11,'Retired','R','2',1,'2020-09-08 11:11:48'),(12,'Salaried Govt','G','2',1,'2020-09-08 11:11:48'),(13,'Salaried Private','I','2',1,'2020-09-08 11:11:48'),(14,'Student','D','2',1,'2020-09-08 11:11:48');
  939. /*!40000 ALTER TABLE `tbl__dms_enquiryprofession` ENABLE KEYS */;
  940. UNLOCK TABLES;
  941. --
  942. -- Table structure for table `tbl__dms_enquirypurpose`
  943. --
  944. DROP TABLE IF EXISTS `tbl__dms_enquirypurpose`;
  945. /*!40101 SET @saved_cs_client = @@character_set_client */;
  946. /*!50503 SET character_set_client = utf8mb4 */;
  947. CREATE TABLE `tbl__dms_enquirypurpose` (
  948. `id` int NOT NULL AUTO_INCREMENT,
  949. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  950. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  951. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  952. `status` tinyint(1) NOT NULL,
  953. `created_on` datetime NOT NULL,
  954. PRIMARY KEY (`id`)
  955. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  956. /*!40101 SET character_set_client = @saved_cs_client */;
  957. --
  958. -- Dumping data for table `tbl__dms_enquirypurpose`
  959. --
  960. LOCK TABLES `tbl__dms_enquirypurpose` WRITE;
  961. /*!40000 ALTER TABLE `tbl__dms_enquirypurpose` DISABLE KEYS */;
  962. INSERT INTO `tbl__dms_enquirypurpose` VALUES (1,'Evaluation for Exchange','C','2',1,'2020-08-28 16:33:05'),(2,'Finance Documentation','D','2',1,'2020-08-28 16:33:05'),(3,'Finance Options Evaluation','I','2',1,'2020-08-28 16:33:05'),(4,'Hot','H','2',1,'2020-08-28 16:33:05'),(5,'Invoiced ','Z','2',1,'2020-08-28 16:33:05'),(6,'Negotiation','N','2',1,'2020-08-28 16:33:05'),(7,'Order Booking','O','2',1,'2020-08-28 16:33:05'),(8,'Proforma Invoice','P','2',1,'2020-08-28 16:33:05'),(9,'Test Drive','T','2',1,'2020-08-28 16:33:05'),(10,'Vehicle Delivered','V','2',1,'2020-08-28 16:33:05');
  963. /*!40000 ALTER TABLE `tbl__dms_enquirypurpose` ENABLE KEYS */;
  964. UNLOCK TABLES;
  965. --
  966. -- Table structure for table `tbl__dms_enquiryreason`
  967. --
  968. DROP TABLE IF EXISTS `tbl__dms_enquiryreason`;
  969. /*!40101 SET @saved_cs_client = @@character_set_client */;
  970. /*!50503 SET character_set_client = utf8mb4 */;
  971. CREATE TABLE `tbl__dms_enquiryreason` (
  972. `id` smallint NOT NULL AUTO_INCREMENT,
  973. `list_desc` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  974. `list_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  975. `list_flag` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  976. `status` tinyint(1) NOT NULL,
  977. `created_on` datetime NOT NULL,
  978. PRIMARY KEY (`id`)
  979. ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  980. /*!40101 SET character_set_client = @saved_cs_client */;
  981. --
  982. -- Dumping data for table `tbl__dms_enquiryreason`
  983. --
  984. LOCK TABLES `tbl__dms_enquiryreason` WRITE;
  985. /*!40000 ALTER TABLE `tbl__dms_enquiryreason` DISABLE KEYS */;
  986. INSERT INTO `tbl__dms_enquiryreason` VALUES (1,'Changed to a another model with same dealer','MR9','L',1,'2020-10-29 11:49:01'),(2,'Family decision','PMR10','E',1,'2020-10-29 11:49:01'),(3,'Financial reason','PMR7','E',1,'2020-10-29 11:49:01'),(4,'Financing Problem','MR7','L',1,'2020-10-29 11:49:01'),(5,'Loan application rejected','PMR6','E',1,'2020-10-29 11:49:01'),(6,'Lost to Co-dealer','MR1','L',1,'2020-10-29 11:49:01'),(7,'Lost to Competition','MR2','L',1,'2020-10-29 11:49:01'),(8,'Not interested now','PMR1','E',1,'2020-10-29 11:49:01'),(9,'Others','MR8','L',1,'2020-10-29 11:49:01'),(10,'Personal decision','PMR9','E',1,'2020-10-29 11:49:01'),(11,'To buy during festivals','PMR5','E',1,'2020-10-29 11:49:01'),(12,'To decide after 1-3 months','PMR2','E',1,'2020-10-29 11:49:01'),(13,'To decide after 4-6 months','PMR3','E',1,'2020-10-29 11:49:01'),(14,'To decide after more than 6 months','PMR4','E',1,'2020-10-29 11:49:01'),(15,'Will wait for better offer','PMR8','E',1,'2020-10-29 11:49:01'),(16,'Will wait for new model','PMR11','E',1,'2020-10-29 11:49:01');
  987. /*!40000 ALTER TABLE `tbl__dms_enquiryreason` ENABLE KEYS */;
  988. UNLOCK TABLES;
  989. --
  990. -- Table structure for table `tbl__dms_enquirysource`
  991. --
  992. DROP TABLE IF EXISTS `tbl__dms_enquirysource`;
  993. /*!40101 SET @saved_cs_client = @@character_set_client */;
  994. /*!50503 SET character_set_client = utf8mb4 */;
  995. CREATE TABLE `tbl__dms_enquirysource` (
  996. `id` int NOT NULL AUTO_INCREMENT,
  997. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  998. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  999. `etype_flag` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1000. `status` tinyint(1) NOT NULL,
  1001. `created_on` datetime NOT NULL,
  1002. PRIMARY KEY (`id`)
  1003. ) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1004. /*!40101 SET character_set_client = @saved_cs_client */;
  1005. --
  1006. -- Dumping data for table `tbl__dms_enquirysource`
  1007. --
  1008. LOCK TABLES `tbl__dms_enquirysource` WRITE;
  1009. /*!40000 ALTER TABLE `tbl__dms_enquirysource` DISABLE KEYS */;
  1010. INSERT INTO `tbl__dms_enquirysource` VALUES (1,'Advertisement','ADV','C',1,'2020-09-16 15:16:52'),(2,'Banner/ Hoarding','OTH','D',1,'2020-09-16 15:16:52'),(3,'Business Associates','DSA','C',1,'2020-09-16 15:16:52'),(4,'Campaign/Events','EVT','D',1,'2020-09-16 15:16:52'),(5,'Campaign/Events','EVE','C',1,'2020-09-16 15:16:52'),(6,'Cold Visits','DCV','C',1,'2020-09-16 15:16:52'),(7,'DSE Visit','VST','D',1,'2020-09-16 15:16:52'),(8,'Email','EMA','C',1,'2020-09-16 15:16:52'),(9,'Existing Customers','EML','D',1,'2020-09-16 15:16:52'),(10,'Inbound Calls','IBC','C',1,'2020-09-16 15:16:52'),(11,'Insurance Database','IND','D',1,'2020-09-16 15:16:52'),(12,'Maruti Driving School','MDS','C',1,'2020-09-16 15:16:52'),(13,'Mobile Enquiry','MOB','D',1,'2020-09-16 15:16:52'),(14,'Online Booking','OBK','C',1,'2020-09-16 15:16:52'),(15,'Panchayat','PCH','D',1,'2020-09-16 15:16:52'),(16,'References','REF','C',1,'2020-09-16 15:16:52'),(17,'SMS Campaign','FIN','D',1,'2020-09-16 15:16:52'),(18,'Showroom Walk-In','WLK','C',1,'2020-09-16 15:16:52'),(19,'Enquiry','ENQ','D',1,'2020-09-16 15:16:52'),(20,'TeleCalling','TCL','C',1,'2020-09-16 15:16:52'),(21,'Telephoning','TLP','D',1,'2020-09-16 15:16:52'),(22,'True Value','EXM','D',1,'2020-09-16 15:16:52'),(23,'Web Enquiry','WEB','C',1,'2020-09-16 15:16:52'),(24,'Wheels of India','WOI','D',1,'2020-09-16 15:16:52'),(25,'Workshop Enquiry','WKE','C',1,'2020-09-16 15:16:52'),(26,'aCRM','CRM','D',1,'2020-09-16 15:16:52'),(27,'aCRM Others','ACR','D',1,'2020-09-16 15:16:52');
  1011. /*!40000 ALTER TABLE `tbl__dms_enquirysource` ENABLE KEYS */;
  1012. UNLOCK TABLES;
  1013. --
  1014. -- Table structure for table `tbl__dms_enquirystagetype`
  1015. --
  1016. DROP TABLE IF EXISTS `tbl__dms_enquirystagetype`;
  1017. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1018. /*!50503 SET character_set_client = utf8mb4 */;
  1019. CREATE TABLE `tbl__dms_enquirystagetype` (
  1020. `id` int NOT NULL AUTO_INCREMENT,
  1021. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1022. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1023. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1024. `status` tinyint(1) NOT NULL,
  1025. `created_on` datetime NOT NULL,
  1026. PRIMARY KEY (`id`)
  1027. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1028. /*!40101 SET character_set_client = @saved_cs_client */;
  1029. --
  1030. -- Dumping data for table `tbl__dms_enquirystagetype`
  1031. --
  1032. LOCK TABLES `tbl__dms_enquirystagetype` WRITE;
  1033. /*!40000 ALTER TABLE `tbl__dms_enquirystagetype` DISABLE KEYS */;
  1034. INSERT INTO `tbl__dms_enquirystagetype` VALUES (1,'Evaluation for Exchange','C','2',1,'2020-08-28 16:42:53'),(2,'Finance Documentation','D','2',1,'2020-08-28 16:42:53'),(3,'Finance Options Evaluation','I','2',1,'2020-08-28 16:42:53'),(4,'Hot','H','2',1,'2020-08-28 16:42:53'),(5,'Invoiced ','Z','2',1,'2020-08-28 16:42:53'),(6,'Negotiation','N','2',1,'2020-08-28 16:42:53'),(7,'Order Booking','O','2',1,'2020-08-28 16:42:53'),(8,'Proforma Invoice','P','2',1,'2020-08-28 16:42:53'),(9,'Test Drive','T','2',1,'2020-08-28 16:42:53'),(10,'Vehicle Delivered','V','2',1,'2020-08-28 16:42:53');
  1035. /*!40000 ALTER TABLE `tbl__dms_enquirystagetype` ENABLE KEYS */;
  1036. UNLOCK TABLES;
  1037. --
  1038. -- Table structure for table `tbl__dms_enquirystatus`
  1039. --
  1040. DROP TABLE IF EXISTS `tbl__dms_enquirystatus`;
  1041. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1042. /*!50503 SET character_set_client = utf8mb4 */;
  1043. CREATE TABLE `tbl__dms_enquirystatus` (
  1044. `id` int NOT NULL AUTO_INCREMENT,
  1045. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1046. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1047. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1048. `status` tinyint(1) NOT NULL,
  1049. `created_on` datetime NOT NULL,
  1050. PRIMARY KEY (`id`)
  1051. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1052. /*!40101 SET character_set_client = @saved_cs_client */;
  1053. --
  1054. -- Dumping data for table `tbl__dms_enquirystatus`
  1055. --
  1056. LOCK TABLES `tbl__dms_enquirystatus` WRITE;
  1057. /*!40000 ALTER TABLE `tbl__dms_enquirystatus` DISABLE KEYS */;
  1058. INSERT INTO `tbl__dms_enquirystatus` VALUES (1,'Cold','P','2',1,'2020-12-21 16:26:11'),(2,'Hot','H','2',1,'2020-12-21 16:26:11'),(3,'Lost','L','2',1,'2020-12-21 16:26:11'),(4,'Postponed','E','2',1,'2020-12-21 16:26:11'),(5,'Warm','W','2',1,'2020-12-21 16:26:11');
  1059. /*!40000 ALTER TABLE `tbl__dms_enquirystatus` ENABLE KEYS */;
  1060. UNLOCK TABLES;
  1061. --
  1062. -- Table structure for table `tbl__dms_enquirysubreason`
  1063. --
  1064. DROP TABLE IF EXISTS `tbl__dms_enquirysubreason`;
  1065. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1066. /*!50503 SET character_set_client = utf8mb4 */;
  1067. CREATE TABLE `tbl__dms_enquirysubreason` (
  1068. `id` smallint NOT NULL AUTO_INCREMENT,
  1069. `list_desc` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1070. `list_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1071. `reason_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1072. `status` tinyint(1) NOT NULL,
  1073. `created_on` datetime NOT NULL,
  1074. PRIMARY KEY (`id`)
  1075. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1076. /*!40101 SET character_set_client = @saved_cs_client */;
  1077. --
  1078. -- Dumping data for table `tbl__dms_enquirysubreason`
  1079. --
  1080. LOCK TABLES `tbl__dms_enquirysubreason` WRITE;
  1081. /*!40000 ALTER TABLE `tbl__dms_enquirysubreason` DISABLE KEYS */;
  1082. /*!40000 ALTER TABLE `tbl__dms_enquirysubreason` ENABLE KEYS */;
  1083. UNLOCK TABLES;
  1084. --
  1085. -- Table structure for table `tbl__dms_enquirytitle`
  1086. --
  1087. DROP TABLE IF EXISTS `tbl__dms_enquirytitle`;
  1088. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1089. /*!50503 SET character_set_client = utf8mb4 */;
  1090. CREATE TABLE `tbl__dms_enquirytitle` (
  1091. `id` int NOT NULL AUTO_INCREMENT,
  1092. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1093. `title_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1094. `principal_map_cd` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1095. `status` tinyint(1) NOT NULL,
  1096. `created_on` datetime NOT NULL,
  1097. PRIMARY KEY (`id`)
  1098. ) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1099. /*!40101 SET character_set_client = @saved_cs_client */;
  1100. --
  1101. -- Dumping data for table `tbl__dms_enquirytitle`
  1102. --
  1103. LOCK TABLES `tbl__dms_enquirytitle` WRITE;
  1104. /*!40000 ALTER TABLE `tbl__dms_enquirytitle` DISABLE KEYS */;
  1105. INSERT INTO `tbl__dms_enquirytitle` VALUES (1,'Air V Mar','AVM','2',0,'2020-10-05 10:48:05'),(2,'Brigadier','BRIG','2',0,'2020-10-05 10:48:05'),(3,'Captain','CAPT','2',0,'2020-10-05 10:48:05'),(4,'Col.','COL','2',1,'2020-10-05 10:48:05'),(5,'Commander','COMM','2',0,'2020-10-05 10:48:05'),(6,'Dr.','DR','2',1,'2020-10-05 10:48:05'),(7,'Flight Lieutenant','FLT.L','2',0,'2020-10-05 10:48:05'),(8,'Fr.','FR','2',0,'2020-10-05 10:48:05'),(9,'Gen.','Gen','2',1,'2020-10-05 10:48:05'),(10,'Honarary.Captin','HO.CA','2',0,'2020-10-05 10:48:05'),(11,'Honarary Lieutenant','HO.LT','2',0,'2020-10-05 10:48:05'),(12,'Judge','JD','2',0,'2020-10-05 10:48:05'),(13,'Lessee.','LES','2',0,'2020-10-05 10:48:05'),(14,'Lieutenant','LT.','2',0,'2020-10-05 10:48:05'),(15,'Lt.Col','LT.CO','2',0,'2020-10-05 10:48:05'),(16,'Lieutenant General','LT.GE','2',0,'2020-10-05 10:48:05'),(17,'M/s.','M/S','2',1,'2020-10-05 10:48:05'),(18,'Maj.','MAJ','2',0,'2020-10-05 10:48:05'),(19,'Md.','MD','2',1,'2020-10-05 10:48:05'),(20,'Mr.','MR','2',1,'2020-10-05 10:48:05'),(21,'Air Marshal','MRH','2',0,'2020-10-05 10:48:05'),(22,'Mrs.','MRS','2',1,'2020-10-05 10:48:05'),(23,'MS.','MS','2',1,'2020-10-05 10:48:05'),(24,'Major General','Maj.G','2',0,'2020-10-05 10:48:05'),(25,'Pandit.','PAND','2',0,'2020-10-05 10:48:05'),(26,'Prof.','PROF','2',1,'2020-10-05 10:48:05'),(27,'SC \"A\"','SC.A','2',0,'2020-10-05 10:48:05'),(28,'SC \"B\"','SC.B','2',0,'2020-10-05 10:48:05'),(29,'SC \"C\"','SC.C','2',0,'2020-10-05 10:48:05'),(30,'SC \"D\"','SC.D','2',0,'2020-10-05 10:48:05'),(31,'Smt.','SMT','2',1,'2020-10-05 10:48:05'),(32,'Sqdn Leadr','SQ.LD','2',0,'2020-10-05 10:48:05'),(33,'Sri.','SRI','2',1,'2020-10-05 10:48:05'),(34,'The.','THE','2',0,'2020-10-05 10:48:05'),(35,'Wing Commander','WG.CM','2',0,'2020-10-05 10:48:05');
  1106. /*!40000 ALTER TABLE `tbl__dms_enquirytitle` ENABLE KEYS */;
  1107. UNLOCK TABLES;
  1108. --
  1109. -- Table structure for table `tbl__dms_houser`
  1110. --
  1111. DROP TABLE IF EXISTS `tbl__dms_houser`;
  1112. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1113. /*!50503 SET character_set_client = utf8mb4 */;
  1114. CREATE TABLE `tbl__dms_houser` (
  1115. `id` int NOT NULL AUTO_INCREMENT,
  1116. `emp_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1117. `fname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1118. `lname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1119. `role` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1120. `emailid` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1121. `mobile` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1122. `dealer_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1123. `zone` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1124. `state` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1125. `city` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1126. `date_of_join` date NOT NULL,
  1127. `status` tinyint(1) NOT NULL DEFAULT '1',
  1128. `created_on` datetime NOT NULL,
  1129. `modified_on` datetime NOT NULL,
  1130. PRIMARY KEY (`id`),
  1131. KEY `emp_code` (`emp_code`)
  1132. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1133. /*!40101 SET character_set_client = @saved_cs_client */;
  1134. --
  1135. -- Dumping data for table `tbl__dms_houser`
  1136. --
  1137. LOCK TABLES `tbl__dms_houser` WRITE;
  1138. /*!40000 ALTER TABLE `tbl__dms_houser` DISABLE KEYS */;
  1139. /*!40000 ALTER TABLE `tbl__dms_houser` ENABLE KEYS */;
  1140. UNLOCK TABLES;
  1141. --
  1142. -- Table structure for table `tbl__dse_active_deactive_list`
  1143. --
  1144. DROP TABLE IF EXISTS `tbl__dse_active_deactive_list`;
  1145. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1146. /*!50503 SET character_set_client = utf8mb4 */;
  1147. CREATE TABLE `tbl__dse_active_deactive_list` (
  1148. `id` tinyint NOT NULL AUTO_INCREMENT,
  1149. `name` varchar(255) NOT NULL,
  1150. `status` int NOT NULL,
  1151. `created_on` datetime NOT NULL,
  1152. `modified_on` datetime NOT NULL,
  1153. PRIMARY KEY (`id`)
  1154. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  1155. /*!40101 SET character_set_client = @saved_cs_client */;
  1156. --
  1157. -- Dumping data for table `tbl__dse_active_deactive_list`
  1158. --
  1159. LOCK TABLES `tbl__dse_active_deactive_list` WRITE;
  1160. /*!40000 ALTER TABLE `tbl__dse_active_deactive_list` DISABLE KEYS */;
  1161. INSERT INTO `tbl__dse_active_deactive_list` VALUES (1,'Absconding [Morethan 3 Days]',2,'2021-02-15 00:00:00','2021-02-15 00:00:00'),(2,'Resigned',2,'2021-02-15 00:00:00','2021-02-15 00:00:00'),(3,'Re-join ',1,'2021-02-15 00:00:00','2021-02-15 00:00:00'),(4,'Retained',1,'2021-02-15 00:00:00','2021-02-15 00:00:00'),(5,'By Mistake',1,'2021-02-15 00:00:00','2021-02-15 00:00:00');
  1162. /*!40000 ALTER TABLE `tbl__dse_active_deactive_list` ENABLE KEYS */;
  1163. UNLOCK TABLES;
  1164. --
  1165. -- Table structure for table `tbl__email_log`
  1166. --
  1167. DROP TABLE IF EXISTS `tbl__email_log`;
  1168. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1169. /*!50503 SET character_set_client = utf8mb4 */;
  1170. CREATE TABLE `tbl__email_log` (
  1171. `id` int NOT NULL AUTO_INCREMENT,
  1172. `to_mail` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1173. `from_mail` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1174. `cc_mail` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1175. `subject` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1176. `is_success` tinyint(1) NOT NULL DEFAULT '0',
  1177. `created_on` datetime NOT NULL,
  1178. PRIMARY KEY (`id`)
  1179. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1180. /*!40101 SET character_set_client = @saved_cs_client */;
  1181. --
  1182. -- Dumping data for table `tbl__email_log`
  1183. --
  1184. LOCK TABLES `tbl__email_log` WRITE;
  1185. /*!40000 ALTER TABLE `tbl__email_log` DISABLE KEYS */;
  1186. /*!40000 ALTER TABLE `tbl__email_log` ENABLE KEYS */;
  1187. UNLOCK TABLES;
  1188. --
  1189. -- Table structure for table `tbl__enquiry_otp`
  1190. --
  1191. DROP TABLE IF EXISTS `tbl__enquiry_otp`;
  1192. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1193. /*!50503 SET character_set_client = utf8mb4 */;
  1194. CREATE TABLE `tbl__enquiry_otp` (
  1195. `id` int NOT NULL AUTO_INCREMENT,
  1196. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1197. `mobile` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1198. `otp` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1199. `otp_expiry` datetime NOT NULL,
  1200. `is_checked` tinyint(1) NOT NULL DEFAULT '0',
  1201. `created_on` datetime NOT NULL,
  1202. `modified_on` datetime NOT NULL,
  1203. PRIMARY KEY (`id`),
  1204. KEY `smpin` (`smpin`)
  1205. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1206. /*!40101 SET character_set_client = @saved_cs_client */;
  1207. --
  1208. -- Dumping data for table `tbl__enquiry_otp`
  1209. --
  1210. LOCK TABLES `tbl__enquiry_otp` WRITE;
  1211. /*!40000 ALTER TABLE `tbl__enquiry_otp` DISABLE KEYS */;
  1212. /*!40000 ALTER TABLE `tbl__enquiry_otp` ENABLE KEYS */;
  1213. UNLOCK TABLES;
  1214. --
  1215. -- Table structure for table `tbl__enquirybrochureshare`
  1216. --
  1217. DROP TABLE IF EXISTS `tbl__enquirybrochureshare`;
  1218. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1219. /*!50503 SET character_set_client = utf8mb4 */;
  1220. CREATE TABLE `tbl__enquirybrochureshare` (
  1221. `id` int NOT NULL AUTO_INCREMENT,
  1222. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1223. `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1224. `email` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1225. `model` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1226. `variant` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1227. `created_on` datetime NOT NULL,
  1228. PRIMARY KEY (`id`)
  1229. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1230. /*!40101 SET character_set_client = @saved_cs_client */;
  1231. --
  1232. -- Dumping data for table `tbl__enquirybrochureshare`
  1233. --
  1234. LOCK TABLES `tbl__enquirybrochureshare` WRITE;
  1235. /*!40000 ALTER TABLE `tbl__enquirybrochureshare` DISABLE KEYS */;
  1236. /*!40000 ALTER TABLE `tbl__enquirybrochureshare` ENABLE KEYS */;
  1237. UNLOCK TABLES;
  1238. --
  1239. -- Table structure for table `tbl__enquiryplanner`
  1240. --
  1241. DROP TABLE IF EXISTS `tbl__enquiryplanner`;
  1242. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1243. /*!50503 SET character_set_client = utf8mb4 */;
  1244. CREATE TABLE `tbl__enquiryplanner` (
  1245. `id` int NOT NULL AUTO_INCREMENT,
  1246. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1247. `userid` int NOT NULL,
  1248. `plan_date` date NOT NULL,
  1249. `plan_title` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1250. `plan_description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1251. `plan_fromtime` datetime NOT NULL,
  1252. `plan_totime` datetime NOT NULL,
  1253. `is_deleted` tinyint(1) NOT NULL,
  1254. `created_on` datetime NOT NULL,
  1255. `modified_on` datetime NOT NULL,
  1256. PRIMARY KEY (`id`),
  1257. KEY `smpin` (`smpin`),
  1258. KEY `plan_date` (`plan_date`)
  1259. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1260. /*!40101 SET character_set_client = @saved_cs_client */;
  1261. --
  1262. -- Dumping data for table `tbl__enquiryplanner`
  1263. --
  1264. LOCK TABLES `tbl__enquiryplanner` WRITE;
  1265. /*!40000 ALTER TABLE `tbl__enquiryplanner` DISABLE KEYS */;
  1266. /*!40000 ALTER TABLE `tbl__enquiryplanner` ENABLE KEYS */;
  1267. UNLOCK TABLES;
  1268. --
  1269. -- Table structure for table `tbl__ex_360hotspot`
  1270. --
  1271. DROP TABLE IF EXISTS `tbl__ex_360hotspot`;
  1272. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1273. /*!50503 SET character_set_client = utf8mb4 */;
  1274. CREATE TABLE `tbl__ex_360hotspot` (
  1275. `id` int NOT NULL AUTO_INCREMENT,
  1276. `image_id` int NOT NULL,
  1277. `pointvalue` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1278. `contentid` int NOT NULL,
  1279. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1280. `created_on` datetime NOT NULL,
  1281. `modified_on` datetime NOT NULL,
  1282. PRIMARY KEY (`id`),
  1283. KEY `image_id` (`image_id`),
  1284. KEY `contentid` (`contentid`)
  1285. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1286. /*!40101 SET character_set_client = @saved_cs_client */;
  1287. --
  1288. -- Dumping data for table `tbl__ex_360hotspot`
  1289. --
  1290. LOCK TABLES `tbl__ex_360hotspot` WRITE;
  1291. /*!40000 ALTER TABLE `tbl__ex_360hotspot` DISABLE KEYS */;
  1292. /*!40000 ALTER TABLE `tbl__ex_360hotspot` ENABLE KEYS */;
  1293. UNLOCK TABLES;
  1294. --
  1295. -- Table structure for table `tbl__ex_360image`
  1296. --
  1297. DROP TABLE IF EXISTS `tbl__ex_360image`;
  1298. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1299. /*!50503 SET character_set_client = utf8mb4 */;
  1300. CREATE TABLE `tbl__ex_360image` (
  1301. `id` int NOT NULL AUTO_INCREMENT,
  1302. `model_id` int NOT NULL,
  1303. `variant_id` int NOT NULL,
  1304. `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1305. `position` int NOT NULL,
  1306. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1307. `created_on` datetime NOT NULL,
  1308. `modified_on` datetime NOT NULL,
  1309. PRIMARY KEY (`id`),
  1310. KEY `variant_id` (`variant_id`),
  1311. KEY `model_id` (`model_id`)
  1312. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1313. /*!40101 SET character_set_client = @saved_cs_client */;
  1314. --
  1315. -- Dumping data for table `tbl__ex_360image`
  1316. --
  1317. LOCK TABLES `tbl__ex_360image` WRITE;
  1318. /*!40000 ALTER TABLE `tbl__ex_360image` DISABLE KEYS */;
  1319. /*!40000 ALTER TABLE `tbl__ex_360image` ENABLE KEYS */;
  1320. UNLOCK TABLES;
  1321. --
  1322. -- Table structure for table `tbl__ex_360variant`
  1323. --
  1324. DROP TABLE IF EXISTS `tbl__ex_360variant`;
  1325. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1326. /*!50503 SET character_set_client = utf8mb4 */;
  1327. CREATE TABLE `tbl__ex_360variant` (
  1328. `id` int NOT NULL AUTO_INCREMENT,
  1329. `model_id` int NOT NULL,
  1330. `color_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1331. `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1332. `position` int NOT NULL,
  1333. `is_deleted` tinyint(1) NOT NULL,
  1334. `created_on` datetime NOT NULL,
  1335. `modified_on` datetime NOT NULL,
  1336. PRIMARY KEY (`id`),
  1337. KEY `model_id` (`model_id`)
  1338. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1339. /*!40101 SET character_set_client = @saved_cs_client */;
  1340. --
  1341. -- Dumping data for table `tbl__ex_360variant`
  1342. --
  1343. LOCK TABLES `tbl__ex_360variant` WRITE;
  1344. /*!40000 ALTER TABLE `tbl__ex_360variant` DISABLE KEYS */;
  1345. /*!40000 ALTER TABLE `tbl__ex_360variant` ENABLE KEYS */;
  1346. UNLOCK TABLES;
  1347. --
  1348. -- Table structure for table `tbl__ex_accessoriescategory`
  1349. --
  1350. DROP TABLE IF EXISTS `tbl__ex_accessoriescategory`;
  1351. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1352. /*!50503 SET character_set_client = utf8mb4 */;
  1353. CREATE TABLE `tbl__ex_accessoriescategory` (
  1354. `id` int NOT NULL AUTO_INCREMENT,
  1355. `cat_title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1356. `cat_pos` int NOT NULL,
  1357. `is_deleted` tinyint(1) NOT NULL,
  1358. `created_on` datetime NOT NULL,
  1359. `modified_on` datetime NOT NULL,
  1360. PRIMARY KEY (`id`),
  1361. KEY `cat_pos` (`cat_pos`)
  1362. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1363. /*!40101 SET character_set_client = @saved_cs_client */;
  1364. --
  1365. -- Dumping data for table `tbl__ex_accessoriescategory`
  1366. --
  1367. LOCK TABLES `tbl__ex_accessoriescategory` WRITE;
  1368. /*!40000 ALTER TABLE `tbl__ex_accessoriescategory` DISABLE KEYS */;
  1369. INSERT INTO `tbl__ex_accessoriescategory` VALUES (1,'Cap',1,0,'2018-11-30 15:11:43','2018-11-30 15:11:43'),(2,'Goggles',2,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(3,'Helmet',3,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(4,'Apparels',4,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(5,'Generic Accessory',5,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(6,'Riding Safety Accessories',6,0,'2020-05-19 00:00:00','2020-05-19 00:00:00');
  1370. /*!40000 ALTER TABLE `tbl__ex_accessoriescategory` ENABLE KEYS */;
  1371. UNLOCK TABLES;
  1372. --
  1373. -- Table structure for table `tbl__ex_assets_version`
  1374. --
  1375. DROP TABLE IF EXISTS `tbl__ex_assets_version`;
  1376. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1377. /*!50503 SET character_set_client = utf8mb4 */;
  1378. CREATE TABLE `tbl__ex_assets_version` (
  1379. `id` int NOT NULL AUTO_INCREMENT,
  1380. `model_id` int NOT NULL,
  1381. `variant_id` int NOT NULL,
  1382. `file_version` int NOT NULL,
  1383. `created_on` datetime NOT NULL,
  1384. `modified_on` datetime NOT NULL,
  1385. PRIMARY KEY (`id`),
  1386. KEY `model_id` (`model_id`)
  1387. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1388. /*!40101 SET character_set_client = @saved_cs_client */;
  1389. --
  1390. -- Dumping data for table `tbl__ex_assets_version`
  1391. --
  1392. LOCK TABLES `tbl__ex_assets_version` WRITE;
  1393. /*!40000 ALTER TABLE `tbl__ex_assets_version` DISABLE KEYS */;
  1394. /*!40000 ALTER TABLE `tbl__ex_assets_version` ENABLE KEYS */;
  1395. UNLOCK TABLES;
  1396. --
  1397. -- Table structure for table `tbl__ex_comparecategory`
  1398. --
  1399. DROP TABLE IF EXISTS `tbl__ex_comparecategory`;
  1400. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1401. /*!50503 SET character_set_client = utf8mb4 */;
  1402. CREATE TABLE `tbl__ex_comparecategory` (
  1403. `id` int NOT NULL AUTO_INCREMENT,
  1404. `cat_title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1405. `cat_pos` int NOT NULL,
  1406. `model_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0- Normal,1-Super bike',
  1407. `is_deleted` tinyint(1) NOT NULL,
  1408. `created_on` datetime NOT NULL,
  1409. `modified_on` datetime NOT NULL,
  1410. PRIMARY KEY (`id`),
  1411. KEY `cat_pos` (`cat_pos`,`model_type`)
  1412. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1413. /*!40101 SET character_set_client = @saved_cs_client */;
  1414. --
  1415. -- Dumping data for table `tbl__ex_comparecategory`
  1416. --
  1417. LOCK TABLES `tbl__ex_comparecategory` WRITE;
  1418. /*!40000 ALTER TABLE `tbl__ex_comparecategory` DISABLE KEYS */;
  1419. INSERT INTO `tbl__ex_comparecategory` VALUES (1,'ENGINE',1,0,0,'2018-11-30 15:11:43','2018-11-30 15:11:43'),(2,'DIMENSIONS & WEIGHT',2,0,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(3,'BRAKES',3,0,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(4,'TYRE SIZE',4,0,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(5,'SUSPENSION',5,0,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(6,'FEATURES',7,0,0,'2018-11-30 15:13:10','2018-11-30 15:13:10'),(7,'ELECTRICALS',6,0,0,'2018-11-30 15:13:10','2018-11-30 15:13:10');
  1420. /*!40000 ALTER TABLE `tbl__ex_comparecategory` ENABLE KEYS */;
  1421. UNLOCK TABLES;
  1422. --
  1423. -- Table structure for table `tbl__ex_comparefields`
  1424. --
  1425. DROP TABLE IF EXISTS `tbl__ex_comparefields`;
  1426. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1427. /*!50503 SET character_set_client = utf8mb4 */;
  1428. CREATE TABLE `tbl__ex_comparefields` (
  1429. `id` int NOT NULL AUTO_INCREMENT,
  1430. `cat_id` int NOT NULL,
  1431. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1432. `position` int NOT NULL,
  1433. `is_deleted` tinyint(1) NOT NULL,
  1434. `created_on` datetime NOT NULL,
  1435. `modified_on` datetime NOT NULL,
  1436. PRIMARY KEY (`id`),
  1437. KEY `cat_id` (`cat_id`)
  1438. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1439. /*!40101 SET character_set_client = @saved_cs_client */;
  1440. --
  1441. -- Dumping data for table `tbl__ex_comparefields`
  1442. --
  1443. LOCK TABLES `tbl__ex_comparefields` WRITE;
  1444. /*!40000 ALTER TABLE `tbl__ex_comparefields` DISABLE KEYS */;
  1445. /*!40000 ALTER TABLE `tbl__ex_comparefields` ENABLE KEYS */;
  1446. UNLOCK TABLES;
  1447. --
  1448. -- Table structure for table `tbl__ex_comparevalue`
  1449. --
  1450. DROP TABLE IF EXISTS `tbl__ex_comparevalue`;
  1451. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1452. /*!50503 SET character_set_client = utf8mb4 */;
  1453. CREATE TABLE `tbl__ex_comparevalue` (
  1454. `id` int NOT NULL AUTO_INCREMENT,
  1455. `model_id` int NOT NULL,
  1456. `field_id` int NOT NULL,
  1457. `cvalue` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1458. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1459. `created_on` datetime NOT NULL,
  1460. `modified_on` datetime NOT NULL,
  1461. PRIMARY KEY (`id`),
  1462. KEY `model_id` (`model_id`),
  1463. KEY `field_id` (`field_id`)
  1464. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1465. /*!40101 SET character_set_client = @saved_cs_client */;
  1466. --
  1467. -- Dumping data for table `tbl__ex_comparevalue`
  1468. --
  1469. LOCK TABLES `tbl__ex_comparevalue` WRITE;
  1470. /*!40000 ALTER TABLE `tbl__ex_comparevalue` DISABLE KEYS */;
  1471. /*!40000 ALTER TABLE `tbl__ex_comparevalue` ENABLE KEYS */;
  1472. UNLOCK TABLES;
  1473. --
  1474. -- Table structure for table `tbl__ex_cuscontent`
  1475. --
  1476. DROP TABLE IF EXISTS `tbl__ex_cuscontent`;
  1477. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1478. /*!50503 SET character_set_client = utf8mb4 */;
  1479. CREATE TABLE `tbl__ex_cuscontent` (
  1480. `contentid` int NOT NULL AUTO_INCREMENT,
  1481. `model_id` int NOT NULL,
  1482. `title` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1483. `description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1484. `uploaddate` datetime NOT NULL,
  1485. `version` int NOT NULL,
  1486. `status` tinyint(1) NOT NULL DEFAULT '1',
  1487. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1488. `created_on` datetime NOT NULL,
  1489. `modified_on` datetime NOT NULL,
  1490. PRIMARY KEY (`contentid`),
  1491. KEY `model_id` (`model_id`)
  1492. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1493. /*!40101 SET character_set_client = @saved_cs_client */;
  1494. --
  1495. -- Dumping data for table `tbl__ex_cuscontent`
  1496. --
  1497. LOCK TABLES `tbl__ex_cuscontent` WRITE;
  1498. /*!40000 ALTER TABLE `tbl__ex_cuscontent` DISABLE KEYS */;
  1499. /*!40000 ALTER TABLE `tbl__ex_cuscontent` ENABLE KEYS */;
  1500. UNLOCK TABLES;
  1501. --
  1502. -- Table structure for table `tbl__ex_cusfile`
  1503. --
  1504. DROP TABLE IF EXISTS `tbl__ex_cusfile`;
  1505. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1506. /*!50503 SET character_set_client = utf8mb4 */;
  1507. CREATE TABLE `tbl__ex_cusfile` (
  1508. `id` int NOT NULL AUTO_INCREMENT,
  1509. `contentid` int NOT NULL,
  1510. `language_id` int NOT NULL,
  1511. `filepath` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1512. `thumbpath` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1513. `filetypeid` int NOT NULL,
  1514. `filetype` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1515. `filesize` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1516. `filequality` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1517. `created_on` datetime NOT NULL,
  1518. `modified_on` datetime NOT NULL,
  1519. PRIMARY KEY (`id`),
  1520. KEY `contentid` (`contentid`)
  1521. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1522. /*!40101 SET character_set_client = @saved_cs_client */;
  1523. --
  1524. -- Dumping data for table `tbl__ex_cusfile`
  1525. --
  1526. LOCK TABLES `tbl__ex_cusfile` WRITE;
  1527. /*!40000 ALTER TABLE `tbl__ex_cusfile` DISABLE KEYS */;
  1528. /*!40000 ALTER TABLE `tbl__ex_cusfile` ENABLE KEYS */;
  1529. UNLOCK TABLES;
  1530. --
  1531. -- Table structure for table `tbl__ex_enquiry`
  1532. --
  1533. DROP TABLE IF EXISTS `tbl__ex_enquiry`;
  1534. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1535. /*!50503 SET character_set_client = utf8mb4 */;
  1536. CREATE TABLE `tbl__ex_enquiry` (
  1537. `id` int NOT NULL AUTO_INCREMENT,
  1538. `user_id` int NOT NULL,
  1539. `customerid` int NOT NULL,
  1540. `model_id` int NOT NULL,
  1541. `variant_id` int NOT NULL,
  1542. `name` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1543. `mobile` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1544. `email` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1545. `is_brochure` tinyint(1) NOT NULL,
  1546. `created_on` datetime NOT NULL,
  1547. `modified_on` datetime NOT NULL,
  1548. PRIMARY KEY (`id`),
  1549. KEY `user_id` (`user_id`),
  1550. KEY `customerid` (`customerid`),
  1551. KEY `created_on` (`created_on`)
  1552. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1553. /*!40101 SET character_set_client = @saved_cs_client */;
  1554. --
  1555. -- Dumping data for table `tbl__ex_enquiry`
  1556. --
  1557. LOCK TABLES `tbl__ex_enquiry` WRITE;
  1558. /*!40000 ALTER TABLE `tbl__ex_enquiry` DISABLE KEYS */;
  1559. /*!40000 ALTER TABLE `tbl__ex_enquiry` ENABLE KEYS */;
  1560. UNLOCK TABLES;
  1561. --
  1562. -- Table structure for table `tbl__ex_feedbackresult`
  1563. --
  1564. DROP TABLE IF EXISTS `tbl__ex_feedbackresult`;
  1565. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1566. /*!50503 SET character_set_client = utf8mb4 */;
  1567. CREATE TABLE `tbl__ex_feedbackresult` (
  1568. `userresultid` int NOT NULL AUTO_INCREMENT,
  1569. `arid` int NOT NULL,
  1570. `customerid` int NOT NULL,
  1571. `qid` int NOT NULL,
  1572. `choiseid` int NOT NULL,
  1573. `survey_rating` tinyint(1) NOT NULL,
  1574. `survey_text` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1575. `remarks` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1576. `created_on` datetime NOT NULL,
  1577. `modified_on` datetime NOT NULL,
  1578. PRIMARY KEY (`userresultid`),
  1579. KEY `arid` (`arid`),
  1580. KEY `customerid` (`customerid`),
  1581. KEY `qid` (`qid`),
  1582. KEY `choiseid` (`choiseid`)
  1583. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1584. /*!40101 SET character_set_client = @saved_cs_client */;
  1585. --
  1586. -- Dumping data for table `tbl__ex_feedbackresult`
  1587. --
  1588. LOCK TABLES `tbl__ex_feedbackresult` WRITE;
  1589. /*!40000 ALTER TABLE `tbl__ex_feedbackresult` DISABLE KEYS */;
  1590. /*!40000 ALTER TABLE `tbl__ex_feedbackresult` ENABLE KEYS */;
  1591. UNLOCK TABLES;
  1592. --
  1593. -- Table structure for table `tbl__ex_feedbackuser`
  1594. --
  1595. DROP TABLE IF EXISTS `tbl__ex_feedbackuser`;
  1596. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1597. /*!50503 SET character_set_client = utf8mb4 */;
  1598. CREATE TABLE `tbl__ex_feedbackuser` (
  1599. `id` int NOT NULL AUTO_INCREMENT,
  1600. `customerid` int NOT NULL,
  1601. `creatorid` int NOT NULL,
  1602. `created_on` datetime NOT NULL,
  1603. `modified_on` datetime NOT NULL,
  1604. PRIMARY KEY (`id`),
  1605. KEY `assessmentid` (`customerid`)
  1606. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1607. /*!40101 SET character_set_client = @saved_cs_client */;
  1608. --
  1609. -- Dumping data for table `tbl__ex_feedbackuser`
  1610. --
  1611. LOCK TABLES `tbl__ex_feedbackuser` WRITE;
  1612. /*!40000 ALTER TABLE `tbl__ex_feedbackuser` DISABLE KEYS */;
  1613. /*!40000 ALTER TABLE `tbl__ex_feedbackuser` ENABLE KEYS */;
  1614. UNLOCK TABLES;
  1615. --
  1616. -- Table structure for table `tbl__ex_hotspot_content`
  1617. --
  1618. DROP TABLE IF EXISTS `tbl__ex_hotspot_content`;
  1619. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1620. /*!50503 SET character_set_client = utf8mb4 */;
  1621. CREATE TABLE `tbl__ex_hotspot_content` (
  1622. `id` int NOT NULL AUTO_INCREMENT,
  1623. `model_id` int NOT NULL,
  1624. `title` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1625. `description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1626. `file` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1627. `file_type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1-image,2-mp4',
  1628. `thumb_image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'for video file',
  1629. `created_on` datetime NOT NULL,
  1630. `modified_on` datetime NOT NULL,
  1631. PRIMARY KEY (`id`),
  1632. KEY `model_id` (`model_id`)
  1633. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1634. /*!40101 SET character_set_client = @saved_cs_client */;
  1635. --
  1636. -- Dumping data for table `tbl__ex_hotspot_content`
  1637. --
  1638. LOCK TABLES `tbl__ex_hotspot_content` WRITE;
  1639. /*!40000 ALTER TABLE `tbl__ex_hotspot_content` DISABLE KEYS */;
  1640. /*!40000 ALTER TABLE `tbl__ex_hotspot_content` ENABLE KEYS */;
  1641. UNLOCK TABLES;
  1642. --
  1643. -- Table structure for table `tbl__ex_imageviewtype`
  1644. --
  1645. DROP TABLE IF EXISTS `tbl__ex_imageviewtype`;
  1646. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1647. /*!50503 SET character_set_client = utf8mb4 */;
  1648. CREATE TABLE `tbl__ex_imageviewtype` (
  1649. `id` int NOT NULL AUTO_INCREMENT,
  1650. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1651. `position` int NOT NULL,
  1652. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1653. `created_on` datetime NOT NULL,
  1654. `modified_on` datetime NOT NULL,
  1655. PRIMARY KEY (`id`)
  1656. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1657. /*!40101 SET character_set_client = @saved_cs_client */;
  1658. --
  1659. -- Dumping data for table `tbl__ex_imageviewtype`
  1660. --
  1661. LOCK TABLES `tbl__ex_imageviewtype` WRITE;
  1662. /*!40000 ALTER TABLE `tbl__ex_imageviewtype` DISABLE KEYS */;
  1663. INSERT INTO `tbl__ex_imageviewtype` VALUES (1,'Left',4,0,'2018-11-30 17:51:44','2018-11-30 17:51:44'),(2,'Right',2,0,'2018-11-30 17:51:44','2018-11-30 17:51:44'),(3,'Front',1,0,'2018-11-30 17:51:44','2018-11-30 17:51:44'),(4,'Rear',3,0,'2018-11-30 17:51:44','2018-11-30 17:51:44'),(5,'Top',5,0,'2018-11-30 17:51:44','2018-11-30 17:51:44');
  1664. /*!40000 ALTER TABLE `tbl__ex_imageviewtype` ENABLE KEYS */;
  1665. UNLOCK TABLES;
  1666. --
  1667. -- Table structure for table `tbl__ex_model`
  1668. --
  1669. DROP TABLE IF EXISTS `tbl__ex_model`;
  1670. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1671. /*!50503 SET character_set_client = utf8mb4 */;
  1672. CREATE TABLE `tbl__ex_model` (
  1673. `model_id` int NOT NULL AUTO_INCREMENT,
  1674. `model_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0- Normal,1-Super bike',
  1675. `title` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1676. `description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1677. `model_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1678. `model_image` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1679. `model_brochure_image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1680. `model_banner_image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1681. `model_brochure` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1682. `position` int NOT NULL,
  1683. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1684. `is_other` tinyint(1) NOT NULL DEFAULT '0',
  1685. `is_experience` tinyint(1) NOT NULL DEFAULT '0',
  1686. `compare_model` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1687. PRIMARY KEY (`model_id`)
  1688. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1689. /*!40101 SET character_set_client = @saved_cs_client */;
  1690. --
  1691. -- Dumping data for table `tbl__ex_model`
  1692. --
  1693. LOCK TABLES `tbl__ex_model` WRITE;
  1694. /*!40000 ALTER TABLE `tbl__ex_model` DISABLE KEYS */;
  1695. /*!40000 ALTER TABLE `tbl__ex_model` ENABLE KEYS */;
  1696. UNLOCK TABLES;
  1697. --
  1698. -- Table structure for table `tbl__ex_modelaccessories`
  1699. --
  1700. DROP TABLE IF EXISTS `tbl__ex_modelaccessories`;
  1701. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1702. /*!50503 SET character_set_client = utf8mb4 */;
  1703. CREATE TABLE `tbl__ex_modelaccessories` (
  1704. `id` int NOT NULL AUTO_INCREMENT,
  1705. `type` tinyint NOT NULL DEFAULT '1' COMMENT '1-for Bike,2-for Riders',
  1706. `cat_id` int NOT NULL,
  1707. `model_id` int NOT NULL,
  1708. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1709. `description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1710. `price` double NOT NULL,
  1711. `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1712. `position` int NOT NULL,
  1713. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1714. `created_on` datetime NOT NULL,
  1715. `modified_on` datetime NOT NULL,
  1716. PRIMARY KEY (`id`),
  1717. KEY `model_id` (`model_id`),
  1718. KEY `cat_id` (`cat_id`)
  1719. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1720. /*!40101 SET character_set_client = @saved_cs_client */;
  1721. --
  1722. -- Dumping data for table `tbl__ex_modelaccessories`
  1723. --
  1724. LOCK TABLES `tbl__ex_modelaccessories` WRITE;
  1725. /*!40000 ALTER TABLE `tbl__ex_modelaccessories` DISABLE KEYS */;
  1726. /*!40000 ALTER TABLE `tbl__ex_modelaccessories` ENABLE KEYS */;
  1727. UNLOCK TABLES;
  1728. --
  1729. -- Table structure for table `tbl__ex_modelimageview`
  1730. --
  1731. DROP TABLE IF EXISTS `tbl__ex_modelimageview`;
  1732. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1733. /*!50503 SET character_set_client = utf8mb4 */;
  1734. CREATE TABLE `tbl__ex_modelimageview` (
  1735. `id` int NOT NULL AUTO_INCREMENT,
  1736. `model_id` int NOT NULL,
  1737. `view_id` int NOT NULL,
  1738. `image` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1739. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1740. `created_on` datetime NOT NULL,
  1741. `modified_on` datetime NOT NULL,
  1742. PRIMARY KEY (`id`),
  1743. KEY `model_id` (`model_id`),
  1744. KEY `view_id` (`view_id`)
  1745. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1746. /*!40101 SET character_set_client = @saved_cs_client */;
  1747. --
  1748. -- Dumping data for table `tbl__ex_modelimageview`
  1749. --
  1750. LOCK TABLES `tbl__ex_modelimageview` WRITE;
  1751. /*!40000 ALTER TABLE `tbl__ex_modelimageview` DISABLE KEYS */;
  1752. /*!40000 ALTER TABLE `tbl__ex_modelimageview` ENABLE KEYS */;
  1753. UNLOCK TABLES;
  1754. --
  1755. -- Table structure for table `tbl__ex_modelvariant`
  1756. --
  1757. DROP TABLE IF EXISTS `tbl__ex_modelvariant`;
  1758. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1759. /*!50503 SET character_set_client = utf8mb4 */;
  1760. CREATE TABLE `tbl__ex_modelvariant` (
  1761. `id` int NOT NULL AUTO_INCREMENT,
  1762. `model_id` int NOT NULL,
  1763. `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1764. `position` int NOT NULL,
  1765. `is_deleted` tinyint(1) NOT NULL,
  1766. `created_on` datetime NOT NULL,
  1767. `modified_on` datetime NOT NULL,
  1768. PRIMARY KEY (`id`),
  1769. KEY `model_id` (`model_id`)
  1770. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1771. /*!40101 SET character_set_client = @saved_cs_client */;
  1772. --
  1773. -- Dumping data for table `tbl__ex_modelvariant`
  1774. --
  1775. LOCK TABLES `tbl__ex_modelvariant` WRITE;
  1776. /*!40000 ALTER TABLE `tbl__ex_modelvariant` DISABLE KEYS */;
  1777. /*!40000 ALTER TABLE `tbl__ex_modelvariant` ENABLE KEYS */;
  1778. UNLOCK TABLES;
  1779. --
  1780. -- Table structure for table `tbl__ex_modelvariantcolor`
  1781. --
  1782. DROP TABLE IF EXISTS `tbl__ex_modelvariantcolor`;
  1783. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1784. /*!50503 SET character_set_client = utf8mb4 */;
  1785. CREATE TABLE `tbl__ex_modelvariantcolor` (
  1786. `id` int NOT NULL AUTO_INCREMENT,
  1787. `variant_id` int NOT NULL,
  1788. `color_title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1789. `color` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1790. `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1791. `position` int NOT NULL,
  1792. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1793. `created_on` datetime NOT NULL,
  1794. `modified_on` datetime NOT NULL,
  1795. PRIMARY KEY (`id`),
  1796. KEY `variant_id` (`variant_id`)
  1797. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1798. /*!40101 SET character_set_client = @saved_cs_client */;
  1799. --
  1800. -- Dumping data for table `tbl__ex_modelvariantcolor`
  1801. --
  1802. LOCK TABLES `tbl__ex_modelvariantcolor` WRITE;
  1803. /*!40000 ALTER TABLE `tbl__ex_modelvariantcolor` DISABLE KEYS */;
  1804. /*!40000 ALTER TABLE `tbl__ex_modelvariantcolor` ENABLE KEYS */;
  1805. UNLOCK TABLES;
  1806. --
  1807. -- Table structure for table `tbl__ex_modelviewhotspot`
  1808. --
  1809. DROP TABLE IF EXISTS `tbl__ex_modelviewhotspot`;
  1810. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1811. /*!50503 SET character_set_client = utf8mb4 */;
  1812. CREATE TABLE `tbl__ex_modelviewhotspot` (
  1813. `id` int NOT NULL AUTO_INCREMENT,
  1814. `view_id` int NOT NULL,
  1815. `pointvalue` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1816. `contentid` int NOT NULL,
  1817. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1818. `created_on` datetime NOT NULL,
  1819. `modified_on` datetime NOT NULL,
  1820. PRIMARY KEY (`id`),
  1821. KEY `contentid` (`contentid`),
  1822. KEY `view_id` (`view_id`)
  1823. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1824. /*!40101 SET character_set_client = @saved_cs_client */;
  1825. --
  1826. -- Dumping data for table `tbl__ex_modelviewhotspot`
  1827. --
  1828. LOCK TABLES `tbl__ex_modelviewhotspot` WRITE;
  1829. /*!40000 ALTER TABLE `tbl__ex_modelviewhotspot` DISABLE KEYS */;
  1830. /*!40000 ALTER TABLE `tbl__ex_modelviewhotspot` ENABLE KEYS */;
  1831. UNLOCK TABLES;
  1832. --
  1833. -- Table structure for table `tbl__ex_question`
  1834. --
  1835. DROP TABLE IF EXISTS `tbl__ex_question`;
  1836. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1837. /*!50503 SET character_set_client = utf8mb4 */;
  1838. CREATE TABLE `tbl__ex_question` (
  1839. `id` int NOT NULL AUTO_INCREMENT,
  1840. `questiontypeid` int NOT NULL,
  1841. `cateid` int NOT NULL,
  1842. `tag` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1843. `questiontext` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1844. `qimage` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1845. `qvideo` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1846. `creatorid` int NOT NULL,
  1847. `status` int NOT NULL,
  1848. `created_on` datetime NOT NULL,
  1849. `modified_on` datetime NOT NULL,
  1850. PRIMARY KEY (`id`),
  1851. KEY `cateid` (`cateid`)
  1852. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1853. /*!40101 SET character_set_client = @saved_cs_client */;
  1854. --
  1855. -- Dumping data for table `tbl__ex_question`
  1856. --
  1857. LOCK TABLES `tbl__ex_question` WRITE;
  1858. /*!40000 ALTER TABLE `tbl__ex_question` DISABLE KEYS */;
  1859. INSERT INTO `tbl__ex_question` VALUES (1,7,0,'BRAND WEEK 1','How do you rate the Digital Product Demonstration and Experience at Dealership?','','',1,1,'2018-12-18 14:59:00','2018-12-18 14:59:00'),(2,7,0,'BRAND WEEK 1','How well our sales consultant demonstrated the product features?','','',1,1,'2018-12-18 14:59:00','2018-12-18 14:59:00'),(3,7,0,'BRAND WEEK 1','How would you rate overall product range?','','',1,1,'2018-12-18 14:59:00','2018-12-18 14:59:00');
  1860. /*!40000 ALTER TABLE `tbl__ex_question` ENABLE KEYS */;
  1861. UNLOCK TABLES;
  1862. --
  1863. -- Table structure for table `tbl__ex_questionoption`
  1864. --
  1865. DROP TABLE IF EXISTS `tbl__ex_questionoption`;
  1866. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1867. /*!50503 SET character_set_client = utf8mb4 */;
  1868. CREATE TABLE `tbl__ex_questionoption` (
  1869. `optid` int NOT NULL AUTO_INCREMENT,
  1870. `qid` int NOT NULL,
  1871. `opttext` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1872. `score` double NOT NULL DEFAULT '0',
  1873. `iscorrect` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0.Wrong,1.Correct',
  1874. `creatorid` int NOT NULL DEFAULT '0',
  1875. `created_on` datetime NOT NULL,
  1876. `modified_on` datetime NOT NULL,
  1877. PRIMARY KEY (`optid`),
  1878. KEY `qid` (`qid`)
  1879. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1880. /*!40101 SET character_set_client = @saved_cs_client */;
  1881. --
  1882. -- Dumping data for table `tbl__ex_questionoption`
  1883. --
  1884. LOCK TABLES `tbl__ex_questionoption` WRITE;
  1885. /*!40000 ALTER TABLE `tbl__ex_questionoption` DISABLE KEYS */;
  1886. INSERT INTO `tbl__ex_questionoption` VALUES (1,1,'Q1 option text 01',0,0,0,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(2,1,'Q1 option text 02',0,0,0,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(3,1,'Q1 option text 03',1,1,0,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(4,1,'Q1 option text 04',0,0,0,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(5,2,'Q2 option text 01',1,1,0,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(6,2,'Q2 option text 02',0,0,0,'2021-02-08 14:04:43','2021-02-08 14:04:43');
  1887. /*!40000 ALTER TABLE `tbl__ex_questionoption` ENABLE KEYS */;
  1888. UNLOCK TABLES;
  1889. --
  1890. -- Table structure for table `tbl__ex_questiontype`
  1891. --
  1892. DROP TABLE IF EXISTS `tbl__ex_questiontype`;
  1893. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1894. /*!50503 SET character_set_client = utf8mb4 */;
  1895. CREATE TABLE `tbl__ex_questiontype` (
  1896. `id` tinyint(1) NOT NULL AUTO_INCREMENT,
  1897. `questiontype` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '3.Feedback Rating, 4.Feedback Answer 5.Feedback Single Choice 6.Feedback Multi Choice',
  1898. `status` int NOT NULL,
  1899. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  1900. `created_on` datetime NOT NULL,
  1901. `modified_on` datetime NOT NULL,
  1902. PRIMARY KEY (`id`)
  1903. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1904. /*!40101 SET character_set_client = @saved_cs_client */;
  1905. --
  1906. -- Dumping data for table `tbl__ex_questiontype`
  1907. --
  1908. LOCK TABLES `tbl__ex_questiontype` WRITE;
  1909. /*!40000 ALTER TABLE `tbl__ex_questiontype` DISABLE KEYS */;
  1910. INSERT INTO `tbl__ex_questiontype` VALUES (7,'Feedback Rating',1,0,'2019-05-28 09:59:42','2019-05-28 09:59:42'),(8,'Feedback Remark',1,0,'2019-05-28 09:59:42','2019-05-28 09:59:42'),(9,'Feedback Single Choice',1,0,'2019-05-28 09:59:42','2019-05-28 09:59:42'),(10,'Feedback Multi Choice',1,0,'2019-05-28 09:59:42','2019-05-28 09:59:42');
  1911. /*!40000 ALTER TABLE `tbl__ex_questiontype` ENABLE KEYS */;
  1912. UNLOCK TABLES;
  1913. --
  1914. -- Table structure for table `tbl__expiredtype`
  1915. --
  1916. DROP TABLE IF EXISTS `tbl__expiredtype`;
  1917. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1918. /*!50503 SET character_set_client = utf8mb4 */;
  1919. CREATE TABLE `tbl__expiredtype` (
  1920. `id` int NOT NULL AUTO_INCREMENT,
  1921. `expiredtype` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '1.Never,2.Date,3.Days',
  1922. `status` int NOT NULL,
  1923. `created_on` datetime NOT NULL,
  1924. `modified_on` datetime NOT NULL,
  1925. PRIMARY KEY (`id`)
  1926. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1927. /*!40101 SET character_set_client = @saved_cs_client */;
  1928. --
  1929. -- Dumping data for table `tbl__expiredtype`
  1930. --
  1931. LOCK TABLES `tbl__expiredtype` WRITE;
  1932. /*!40000 ALTER TABLE `tbl__expiredtype` DISABLE KEYS */;
  1933. INSERT INTO `tbl__expiredtype` VALUES (1,'Never',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(2,'Date',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(3,'Days',0,'0000-00-00 00:00:00','0000-00-00 00:00:00');
  1934. /*!40000 ALTER TABLE `tbl__expiredtype` ENABLE KEYS */;
  1935. UNLOCK TABLES;
  1936. --
  1937. -- Table structure for table `tbl__filetype`
  1938. --
  1939. DROP TABLE IF EXISTS `tbl__filetype`;
  1940. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1941. /*!50503 SET character_set_client = utf8mb4 */;
  1942. CREATE TABLE `tbl__filetype` (
  1943. `id` int NOT NULL AUTO_INCREMENT,
  1944. `filetype` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '1.PDF,2.Video',
  1945. `created_on` datetime NOT NULL,
  1946. `modified_on` datetime NOT NULL,
  1947. PRIMARY KEY (`id`)
  1948. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1949. /*!40101 SET character_set_client = @saved_cs_client */;
  1950. --
  1951. -- Dumping data for table `tbl__filetype`
  1952. --
  1953. LOCK TABLES `tbl__filetype` WRITE;
  1954. /*!40000 ALTER TABLE `tbl__filetype` DISABLE KEYS */;
  1955. INSERT INTO `tbl__filetype` VALUES (1,'PDF','0000-00-00 00:00:00','0000-00-00 00:00:00'),(2,'VIDEO','0000-00-00 00:00:00','0000-00-00 00:00:00'),(3,'MP3','0000-00-00 00:00:00','0000-00-00 00:00:00');
  1956. /*!40000 ALTER TABLE `tbl__filetype` ENABLE KEYS */;
  1957. UNLOCK TABLES;
  1958. --
  1959. -- Table structure for table `tbl__lead`
  1960. --
  1961. DROP TABLE IF EXISTS `tbl__lead`;
  1962. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1963. /*!50503 SET character_set_client = utf8mb4 */;
  1964. CREATE TABLE `tbl__lead` (
  1965. `id` int NOT NULL AUTO_INCREMENT,
  1966. `lead_json` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1967. `created_on` datetime NOT NULL,
  1968. PRIMARY KEY (`id`)
  1969. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1970. /*!40101 SET character_set_client = @saved_cs_client */;
  1971. --
  1972. -- Dumping data for table `tbl__lead`
  1973. --
  1974. LOCK TABLES `tbl__lead` WRITE;
  1975. /*!40000 ALTER TABLE `tbl__lead` DISABLE KEYS */;
  1976. /*!40000 ALTER TABLE `tbl__lead` ENABLE KEYS */;
  1977. UNLOCK TABLES;
  1978. --
  1979. -- Table structure for table `tbl__localey`
  1980. --
  1981. DROP TABLE IF EXISTS `tbl__localey`;
  1982. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1983. /*!50503 SET character_set_client = utf8mb4 */;
  1984. CREATE TABLE `tbl__localey` (
  1985. `id` int NOT NULL AUTO_INCREMENT,
  1986. `keyid` int NOT NULL,
  1987. `keyname` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1988. `lang` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1989. `langtext` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  1990. PRIMARY KEY (`id`)
  1991. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  1992. /*!40101 SET character_set_client = @saved_cs_client */;
  1993. --
  1994. -- Dumping data for table `tbl__localey`
  1995. --
  1996. LOCK TABLES `tbl__localey` WRITE;
  1997. /*!40000 ALTER TABLE `tbl__localey` DISABLE KEYS */;
  1998. /*!40000 ALTER TABLE `tbl__localey` ENABLE KEYS */;
  1999. UNLOCK TABLES;
  2000. --
  2001. -- Table structure for table `tbl__lockauthrozation`
  2002. --
  2003. DROP TABLE IF EXISTS `tbl__lockauthrozation`;
  2004. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2005. /*!50503 SET character_set_client = utf8mb4 */;
  2006. CREATE TABLE `tbl__lockauthrozation` (
  2007. `id` int NOT NULL AUTO_INCREMENT,
  2008. `auth_token` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2009. `ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2010. `lock_count` int NOT NULL,
  2011. `page` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2012. `is_deleted` tinyint(1) NOT NULL DEFAULT '1',
  2013. `created_on` datetime NOT NULL,
  2014. `modified_on` datetime NOT NULL,
  2015. PRIMARY KEY (`id`),
  2016. KEY `auth_token` (`auth_token`),
  2017. KEY `auth_token_2` (`auth_token`)
  2018. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2019. /*!40101 SET character_set_client = @saved_cs_client */;
  2020. --
  2021. -- Dumping data for table `tbl__lockauthrozation`
  2022. --
  2023. LOCK TABLES `tbl__lockauthrozation` WRITE;
  2024. /*!40000 ALTER TABLE `tbl__lockauthrozation` DISABLE KEYS */;
  2025. /*!40000 ALTER TABLE `tbl__lockauthrozation` ENABLE KEYS */;
  2026. UNLOCK TABLES;
  2027. --
  2028. -- Table structure for table `tbl__master_language`
  2029. --
  2030. DROP TABLE IF EXISTS `tbl__master_language`;
  2031. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2032. /*!50503 SET character_set_client = utf8mb4 */;
  2033. CREATE TABLE `tbl__master_language` (
  2034. `language_id` int NOT NULL AUTO_INCREMENT,
  2035. `language_code` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2036. `language_title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2037. `is_site_language` tinyint(1) NOT NULL DEFAULT '0',
  2038. `is_default` tinyint(1) NOT NULL DEFAULT '0',
  2039. `is_active` tinyint(1) NOT NULL DEFAULT '0',
  2040. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  2041. `created_on` datetime NOT NULL,
  2042. `modified_on` datetime NOT NULL,
  2043. PRIMARY KEY (`language_id`),
  2044. KEY `language_code` (`language_code`)
  2045. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2046. /*!40101 SET character_set_client = @saved_cs_client */;
  2047. --
  2048. -- Dumping data for table `tbl__master_language`
  2049. --
  2050. LOCK TABLES `tbl__master_language` WRITE;
  2051. /*!40000 ALTER TABLE `tbl__master_language` DISABLE KEYS */;
  2052. INSERT INTO `tbl__master_language` VALUES (1,'en_us','English',1,1,1,0,'2017-12-14 17:18:43','2017-12-14 17:18:43'),(2,'ta_in','Tamil',0,0,1,0,'2017-12-14 17:18:43','2017-12-14 17:18:43'),(3,'te_in','Telugu',0,0,1,0,'2017-12-14 17:18:43','2017-12-14 17:18:43'),(4,'hi_in','Hindi',0,0,1,0,'2017-12-14 17:18:43','2017-12-14 17:18:43'),(5,'ml_in','Malayalam',0,0,1,0,'2017-12-14 17:18:43','2017-12-14 17:18:43'),(6,'kn_in','Kannada',0,0,1,0,'2017-12-14 17:18:43','2017-12-14 17:18:43');
  2053. /*!40000 ALTER TABLE `tbl__master_language` ENABLE KEYS */;
  2054. UNLOCK TABLES;
  2055. --
  2056. -- Table structure for table `tbl__model`
  2057. --
  2058. DROP TABLE IF EXISTS `tbl__model`;
  2059. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2060. /*!50503 SET character_set_client = utf8mb4 */;
  2061. CREATE TABLE `tbl__model` (
  2062. `model_id` int NOT NULL AUTO_INCREMENT,
  2063. `user_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0- Normal,1-Super bike',
  2064. `model_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2065. `model_image` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2066. `model_is_target` tinyint(1) NOT NULL DEFAULT '1',
  2067. `segment` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-All, 1-Motorcycle, 2-Scooter',
  2068. `min_target` int NOT NULL,
  2069. PRIMARY KEY (`model_id`)
  2070. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2071. /*!40101 SET character_set_client = @saved_cs_client */;
  2072. --
  2073. -- Dumping data for table `tbl__model`
  2074. --
  2075. LOCK TABLES `tbl__model` WRITE;
  2076. /*!40000 ALTER TABLE `tbl__model` DISABLE KEYS */;
  2077. /*!40000 ALTER TABLE `tbl__model` ENABLE KEYS */;
  2078. UNLOCK TABLES;
  2079. --
  2080. -- Table structure for table `tbl__module`
  2081. --
  2082. DROP TABLE IF EXISTS `tbl__module`;
  2083. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2084. /*!50503 SET character_set_client = utf8mb4 */;
  2085. CREATE TABLE `tbl__module` (
  2086. `moduleid` int NOT NULL AUTO_INCREMENT,
  2087. `modulename` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2088. `modulepath` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2089. `issubmodule` int NOT NULL DEFAULT '0',
  2090. `parentid` int NOT NULL DEFAULT '0',
  2091. `status` int NOT NULL,
  2092. `created_on` datetime NOT NULL,
  2093. `modified_on` datetime NOT NULL,
  2094. PRIMARY KEY (`moduleid`)
  2095. ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2096. /*!40101 SET character_set_client = @saved_cs_client */;
  2097. --
  2098. -- Dumping data for table `tbl__module`
  2099. --
  2100. LOCK TABLES `tbl__module` WRITE;
  2101. /*!40000 ALTER TABLE `tbl__module` DISABLE KEYS */;
  2102. INSERT INTO `tbl__module` VALUES (1,'User','/user',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(2,'Institute','/dealer',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(3,'Dealer Employees','/dealer_employee',0,0,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(4,'Supplier','/supplier',0,0,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(5,'Question Bank','/question',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(7,'Content Management','/content',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(8,'Report','/report',0,0,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(9,'Assessment','/assessment',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(11,'Survey','/survey',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(12,'Training','/training',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(13,'Bulletin','/bulletin',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(14,'Redeem','/redeem',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(15,'Notification','/notification',0,0,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(16,'Import','/import',0,0,0,'2019-10-22 09:16:50','2019-10-22 09:16:50'),(17,'Virtual Session','/ilearning',0,0,1,'2020-04-29 00:00:00','2020-04-29 00:00:00');
  2103. /*!40000 ALTER TABLE `tbl__module` ENABLE KEYS */;
  2104. UNLOCK TABLES;
  2105. --
  2106. -- Table structure for table `tbl__notification`
  2107. --
  2108. DROP TABLE IF EXISTS `tbl__notification`;
  2109. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2110. /*!50503 SET character_set_client = utf8mb4 */;
  2111. CREATE TABLE `tbl__notification` (
  2112. `id` int NOT NULL AUTO_INCREMENT,
  2113. `notificationtitle` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2114. `notificationtext` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2115. `notificationdata` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2116. `notificationtype` int NOT NULL,
  2117. `filter_role` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2118. `filter_zone` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2119. `filter_region` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2120. `filter_dealer` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2121. `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 - inactive,1-published, 2-saved',
  2122. `publisheddate` datetime NOT NULL,
  2123. `is_admin` tinyint(1) NOT NULL DEFAULT '0',
  2124. `created_on` datetime NOT NULL,
  2125. `modified_on` datetime NOT NULL,
  2126. PRIMARY KEY (`id`)
  2127. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2128. /*!40101 SET character_set_client = @saved_cs_client */;
  2129. --
  2130. -- Dumping data for table `tbl__notification`
  2131. --
  2132. LOCK TABLES `tbl__notification` WRITE;
  2133. /*!40000 ALTER TABLE `tbl__notification` DISABLE KEYS */;
  2134. INSERT INTO `tbl__notification` VALUES (1,'Child Safety Awareness','New Assessment - `Child Safety Awareness` assigned for date : 29 May 2021 - 15 Aug 2021','{\"id\":\"2\",\"assessmentid\":\"2\"}',2,'','','','',1,'2021-05-30 12:05:02',0,'2021-05-30 12:05:02','2021-05-30 12:05:02');
  2135. /*!40000 ALTER TABLE `tbl__notification` ENABLE KEYS */;
  2136. UNLOCK TABLES;
  2137. --
  2138. -- Table structure for table `tbl__notification_type`
  2139. --
  2140. DROP TABLE IF EXISTS `tbl__notification_type`;
  2141. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2142. /*!50503 SET character_set_client = utf8mb4 */;
  2143. CREATE TABLE `tbl__notification_type` (
  2144. `notificationtype` int NOT NULL AUTO_INCREMENT,
  2145. `notificationtypename` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2146. `created_on` datetime NOT NULL,
  2147. `modified_on` datetime NOT NULL,
  2148. PRIMARY KEY (`notificationtype`)
  2149. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2150. /*!40101 SET character_set_client = @saved_cs_client */;
  2151. --
  2152. -- Dumping data for table `tbl__notification_type`
  2153. --
  2154. LOCK TABLES `tbl__notification_type` WRITE;
  2155. /*!40000 ALTER TABLE `tbl__notification_type` DISABLE KEYS */;
  2156. INSERT INTO `tbl__notification_type` VALUES (1,'Training Content','2018-03-13 21:16:40','2018-03-13 21:16:40'),(2,'Assessment','2018-03-13 21:16:40','2018-03-13 21:16:40'),(3,'Survey','2018-03-13 21:17:16','2018-03-13 21:17:16'),(4,'Bulletin','2018-03-13 21:17:16','2018-03-13 21:17:16'),(5,'General','2018-03-13 21:17:16','2018-03-13 21:17:16'),(6,'Reward Point','2018-03-13 21:17:16','2018-03-13 21:17:16'),(7,'Wallet','2018-03-13 21:17:16','2018-03-13 21:17:16'),(8,'User Report','2019-09-26 06:52:30','2019-09-26 06:52:30'),(9,'Video Training','2020-04-21 10:21:02','2020-04-21 10:21:02'),(10,'Class Room Training','2020-07-27 10:21:02','2020-07-27 10:21:02'),(11,'Class Room Training Feedback','2020-07-27 10:21:02','2020-07-27 10:21:02'),(12,'Enquiry Module','2020-10-16 06:26:47','2020-10-16 06:26:47');
  2157. /*!40000 ALTER TABLE `tbl__notification_type` ENABLE KEYS */;
  2158. UNLOCK TABLES;
  2159. --
  2160. -- Table structure for table `tbl__notification_user`
  2161. --
  2162. DROP TABLE IF EXISTS `tbl__notification_user`;
  2163. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2164. /*!50503 SET character_set_client = utf8mb4 */;
  2165. CREATE TABLE `tbl__notification_user` (
  2166. `id` bigint NOT NULL AUTO_INCREMENT,
  2167. `notificationid` int NOT NULL,
  2168. `userid` int NOT NULL,
  2169. `status` tinyint(1) NOT NULL COMMENT '0-Not Read,1-Read',
  2170. `read_date` datetime NOT NULL,
  2171. `created_on` datetime NOT NULL,
  2172. PRIMARY KEY (`id`),
  2173. UNIQUE KEY `notificationid_2` (`notificationid`,`userid`),
  2174. KEY `userid` (`userid`),
  2175. KEY `notificationid` (`notificationid`)
  2176. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2177. /*!40101 SET character_set_client = @saved_cs_client */;
  2178. --
  2179. -- Dumping data for table `tbl__notification_user`
  2180. --
  2181. LOCK TABLES `tbl__notification_user` WRITE;
  2182. /*!40000 ALTER TABLE `tbl__notification_user` DISABLE KEYS */;
  2183. INSERT INTO `tbl__notification_user` VALUES (1,1,3,0,'0000-00-00 00:00:00','2021-05-30 12:05:02'),(2,1,4,0,'0000-00-00 00:00:00','2021-05-30 12:05:02'),(3,1,5,0,'0000-00-00 00:00:00','2021-05-30 12:05:02');
  2184. /*!40000 ALTER TABLE `tbl__notification_user` ENABLE KEYS */;
  2185. UNLOCK TABLES;
  2186. --
  2187. -- Table structure for table `tbl__order`
  2188. --
  2189. DROP TABLE IF EXISTS `tbl__order`;
  2190. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2191. /*!50503 SET character_set_client = utf8mb4 */;
  2192. CREATE TABLE `tbl__order` (
  2193. `id` int NOT NULL AUTO_INCREMENT,
  2194. `order_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2195. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2196. `userid` int NOT NULL,
  2197. `product_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2198. `product_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2199. `images` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2200. `product_desc` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2201. `qty` int NOT NULL DEFAULT '1',
  2202. `product_amount` double NOT NULL,
  2203. `card_data` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2204. `woohoo_order_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2205. `woohoo_order_status` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2206. `is_success` tinyint(1) NOT NULL DEFAULT '0',
  2207. `is_refund` tinyint(1) NOT NULL DEFAULT '0',
  2208. `created_on` datetime NOT NULL,
  2209. `modfified_on` datetime NOT NULL,
  2210. PRIMARY KEY (`id`),
  2211. KEY `userid` (`userid`),
  2212. KEY `order_id` (`order_id`),
  2213. KEY `product_id` (`product_id`)
  2214. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2215. /*!40101 SET character_set_client = @saved_cs_client */;
  2216. --
  2217. -- Dumping data for table `tbl__order`
  2218. --
  2219. LOCK TABLES `tbl__order` WRITE;
  2220. /*!40000 ALTER TABLE `tbl__order` DISABLE KEYS */;
  2221. /*!40000 ALTER TABLE `tbl__order` ENABLE KEYS */;
  2222. UNLOCK TABLES;
  2223. --
  2224. -- Table structure for table `tbl__permission`
  2225. --
  2226. DROP TABLE IF EXISTS `tbl__permission`;
  2227. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2228. /*!50503 SET character_set_client = utf8mb4 */;
  2229. CREATE TABLE `tbl__permission` (
  2230. `permissionid` int NOT NULL AUTO_INCREMENT,
  2231. `roleid` int NOT NULL,
  2232. `moduleid` int NOT NULL,
  2233. `submoduleid` int NOT NULL,
  2234. `permission` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2235. `status` tinyint(1) NOT NULL,
  2236. `created_on` datetime NOT NULL,
  2237. `modified_on` datetime NOT NULL,
  2238. PRIMARY KEY (`permissionid`)
  2239. ) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2240. /*!40101 SET character_set_client = @saved_cs_client */;
  2241. --
  2242. -- Dumping data for table `tbl__permission`
  2243. --
  2244. LOCK TABLES `tbl__permission` WRITE;
  2245. /*!40000 ALTER TABLE `tbl__permission` DISABLE KEYS */;
  2246. INSERT INTO `tbl__permission` VALUES (1,1,2,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(2,1,3,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(3,1,4,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(4,1,5,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(5,1,6,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(6,1,7,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(7,1,8,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(8,1,1,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(9,1,9,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(10,1,11,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(11,2,2,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(12,2,3,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(13,2,4,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(14,2,5,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(15,2,6,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(16,2,7,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(17,2,8,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(18,2,1,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(19,2,9,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(20,2,11,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(21,1,12,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(22,2,12,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(23,1,13,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(24,2,13,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(25,1,14,0,'1|1|1',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(26,2,14,0,'1|1|1',1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(27,1,15,0,'1|1|1',1,'2019-09-24 00:00:00','2019-09-24 00:00:00'),(28,2,15,0,'1|1|1',1,'2019-09-24 00:00:00','2019-09-24 00:00:00'),(29,1,16,0,'1|1|1',1,'2019-10-22 09:16:50','2019-10-22 09:16:50'),(30,2,16,0,'1|1|1',1,'2019-10-22 09:16:50','2019-10-22 09:16:50'),(31,1,17,0,'1|1|1',1,'2020-04-29 00:00:00','2020-04-29 00:00:00'),(32,2,17,0,'1|1|1',1,'2020-04-29 00:00:00','2020-04-29 00:00:00');
  2247. /*!40000 ALTER TABLE `tbl__permission` ENABLE KEYS */;
  2248. UNLOCK TABLES;
  2249. --
  2250. -- Table structure for table `tbl__query_log`
  2251. --
  2252. DROP TABLE IF EXISTS `tbl__query_log`;
  2253. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2254. /*!50503 SET character_set_client = utf8mb4 */;
  2255. CREATE TABLE `tbl__query_log` (
  2256. `id` int NOT NULL AUTO_INCREMENT,
  2257. `query_str` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2258. `query_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2259. `created_on` datetime NOT NULL,
  2260. PRIMARY KEY (`id`)
  2261. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2262. /*!40101 SET character_set_client = @saved_cs_client */;
  2263. --
  2264. -- Dumping data for table `tbl__query_log`
  2265. --
  2266. LOCK TABLES `tbl__query_log` WRITE;
  2267. /*!40000 ALTER TABLE `tbl__query_log` DISABLE KEYS */;
  2268. /*!40000 ALTER TABLE `tbl__query_log` ENABLE KEYS */;
  2269. UNLOCK TABLES;
  2270. --
  2271. -- Table structure for table `tbl__question`
  2272. --
  2273. DROP TABLE IF EXISTS `tbl__question`;
  2274. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2275. /*!50503 SET character_set_client = utf8mb4 */;
  2276. CREATE TABLE `tbl__question` (
  2277. `id` int NOT NULL AUTO_INCREMENT,
  2278. `questiontypeid` int NOT NULL,
  2279. `cateid` int NOT NULL,
  2280. `tag` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2281. `questiontext` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2282. `qimage` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2283. `qvideo` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2284. `vehicle_type` int NOT NULL COMMENT '2-Scooter, 1-Motorcycle',
  2285. `assessment_type` int NOT NULL COMMENT '1-Pre, 2-Post',
  2286. `creatorid` int NOT NULL,
  2287. `status` int NOT NULL,
  2288. `created_on` datetime NOT NULL,
  2289. `modified_on` datetime NOT NULL,
  2290. PRIMARY KEY (`id`),
  2291. KEY `cateid` (`cateid`)
  2292. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2293. /*!40101 SET character_set_client = @saved_cs_client */;
  2294. --
  2295. -- Dumping data for table `tbl__question`
  2296. --
  2297. LOCK TABLES `tbl__question` WRITE;
  2298. /*!40000 ALTER TABLE `tbl__question` DISABLE KEYS */;
  2299. INSERT INTO `tbl__question` VALUES (1,1,0,'DEMO','Question text 01',' ',' ',0,0,1,1,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(2,1,0,'DEMO','Question text 02',' ',' ',0,0,1,1,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(3,1,0,'DEMO','Question text 03',' ',' ',0,0,1,1,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(4,1,0,'DEMO','Question text 04',' ',' ',0,0,1,1,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(5,1,0,'DEMO','Question text 05',' ',' ',0,0,1,1,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(6,1,0,'DEMO','Question text 06',' ',' ',0,0,1,1,'2021-02-08 14:04:43','2021-02-08 14:04:43'),(7,1,0,'Child Safety','When the child is attending online classroom as a parent what will you do?','','',0,0,2,1,'2021-05-30 11:20:38','2021-05-30 11:20:38'),(8,1,0,'Child Safety','Does your child post photographs of themselves and others online?','','',0,0,2,1,'2021-05-30 11:25:49','2021-05-30 11:25:49'),(9,1,0,'Child Safety','Have you checked your child\'s online privacy settings recently?','','',0,0,2,1,'2021-05-30 11:27:27','2021-05-30 11:27:27'),(10,1,0,'Child Safety','If your child was accessing unsuitable websites, would you know what to do to prevent this?','','',0,0,2,1,'2021-05-30 11:28:17','2021-05-30 11:28:17'),(11,1,0,'Child Safety','If your child was being bullied online, would you know how to report it?','','',0,0,2,1,'2021-05-30 11:28:52','2021-05-30 11:28:52'),(12,1,0,'Child Safety','Are your child\'s friends the same friends as their real life friends?','','',0,0,2,1,'2021-05-30 11:29:23','2021-05-30 11:29:23');
  2300. /*!40000 ALTER TABLE `tbl__question` ENABLE KEYS */;
  2301. UNLOCK TABLES;
  2302. --
  2303. -- Table structure for table `tbl__questionoption`
  2304. --
  2305. DROP TABLE IF EXISTS `tbl__questionoption`;
  2306. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2307. /*!50503 SET character_set_client = utf8mb4 */;
  2308. CREATE TABLE `tbl__questionoption` (
  2309. `optid` int NOT NULL AUTO_INCREMENT,
  2310. `qid` int NOT NULL,
  2311. `opttext` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2312. `score` double NOT NULL DEFAULT '0',
  2313. `iscorrect` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0.Wrong,1.Correct',
  2314. `creatorid` int NOT NULL DEFAULT '0',
  2315. `created_on` datetime NOT NULL,
  2316. `modified_on` datetime NOT NULL,
  2317. PRIMARY KEY (`optid`),
  2318. KEY `qid` (`qid`)
  2319. ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2320. /*!40101 SET character_set_client = @saved_cs_client */;
  2321. --
  2322. -- Dumping data for table `tbl__questionoption`
  2323. --
  2324. LOCK TABLES `tbl__questionoption` WRITE;
  2325. /*!40000 ALTER TABLE `tbl__questionoption` DISABLE KEYS */;
  2326. INSERT INTO `tbl__questionoption` VALUES (1,7,'Continuously Monitor them',50,1,2,'2021-05-30 11:20:38','2021-05-30 11:20:38'),(2,7,'Leave them freely',0,0,2,'2021-05-30 11:20:38','2021-05-30 11:20:38'),(3,7,'Watch them occasionally',0,0,2,'2021-05-30 11:20:38','2021-05-30 11:20:38'),(4,8,'Yes',50,1,2,'2021-05-30 11:25:49','2021-05-30 11:25:49'),(5,8,'No',0,0,2,'2021-05-30 11:25:49','2021-05-30 11:25:49'),(6,8,'Dont Know',0,0,2,'2021-05-30 11:25:49','2021-05-30 11:25:49'),(7,9,'Yes',50,1,2,'2021-05-30 11:27:27','2021-05-30 11:27:27'),(8,9,'No',0,0,2,'2021-05-30 11:27:27','2021-05-30 11:27:27'),(9,9,'Never Checked',0,0,2,'2021-05-30 11:27:27','2021-05-30 11:27:27'),(10,10,'Yes',50,1,2,'2021-05-30 11:28:17','2021-05-30 11:28:17'),(11,10,'No',0,0,2,'2021-05-30 11:28:17','2021-05-30 11:28:17'),(12,11,'Yes',50,1,2,'2021-05-30 11:28:52','2021-05-30 11:28:52'),(13,11,'No',0,0,2,'2021-05-30 11:28:52','2021-05-30 11:28:52'),(14,12,'Yes',50,1,2,'2021-05-30 11:29:23','2021-05-30 11:29:23'),(15,12,'No',0,0,2,'2021-05-30 11:29:23','2021-05-30 11:29:23');
  2327. /*!40000 ALTER TABLE `tbl__questionoption` ENABLE KEYS */;
  2328. UNLOCK TABLES;
  2329. --
  2330. -- Table structure for table `tbl__questiontype`
  2331. --
  2332. DROP TABLE IF EXISTS `tbl__questiontype`;
  2333. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2334. /*!50503 SET character_set_client = utf8mb4 */;
  2335. CREATE TABLE `tbl__questiontype` (
  2336. `id` tinyint(1) NOT NULL AUTO_INCREMENT,
  2337. `questiontype` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '1.Single Choice, 2.Multi Choice, 3.Survey Rating, 4.Survey Answer',
  2338. `status` int NOT NULL,
  2339. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  2340. `created_on` datetime NOT NULL,
  2341. `modified_on` datetime NOT NULL,
  2342. PRIMARY KEY (`id`)
  2343. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2344. /*!40101 SET character_set_client = @saved_cs_client */;
  2345. --
  2346. -- Dumping data for table `tbl__questiontype`
  2347. --
  2348. LOCK TABLES `tbl__questiontype` WRITE;
  2349. /*!40000 ALTER TABLE `tbl__questiontype` DISABLE KEYS */;
  2350. INSERT INTO `tbl__questiontype` VALUES (1,'Single Choice',1,0,'2018-02-15 00:00:00','2018-02-15 00:00:00'),(2,'Multi Choice',1,0,'2018-02-15 00:00:00','2018-02-15 00:00:00'),(3,'Survey Rating',1,0,'2018-02-15 00:00:00','2018-02-15 00:00:00'),(4,'Survey Answer',1,0,'2018-02-15 00:00:00','2018-02-15 00:00:00'),(5,'Survey Single Choice',1,0,'2018-02-15 00:00:00','2018-02-15 00:00:00'),(6,'Survey Multi Choice',1,0,'2018-02-15 00:00:00','2018-02-15 00:00:00');
  2351. /*!40000 ALTER TABLE `tbl__questiontype` ENABLE KEYS */;
  2352. UNLOCK TABLES;
  2353. --
  2354. -- Table structure for table `tbl__quotationshare`
  2355. --
  2356. DROP TABLE IF EXISTS `tbl__quotationshare`;
  2357. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2358. /*!50503 SET character_set_client = utf8mb4 */;
  2359. CREATE TABLE `tbl__quotationshare` (
  2360. `id` int NOT NULL AUTO_INCREMENT,
  2361. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2362. `dealer_code` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2363. `sharetoken` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2364. `name` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2365. `mobile` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2366. `email` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2367. `model` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2368. `variant` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2369. `exsh_price` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2370. `exsh_remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2371. `rto_price` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2372. `rto_remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2373. `insurance_price` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2374. `insurance_remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2375. `access_price` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2376. `access_remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2377. `exwarr_price` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2378. `exwarr_remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2379. `other_price` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2380. `other_remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2381. `total_price` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2382. `total_remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2383. `discount` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2384. `final_price` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2385. `validity_date` date NOT NULL,
  2386. `is_dealersubmit` tinyint(1) NOT NULL,
  2387. `created_on` datetime NOT NULL,
  2388. `modified_on` datetime NOT NULL,
  2389. PRIMARY KEY (`id`)
  2390. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2391. /*!40101 SET character_set_client = @saved_cs_client */;
  2392. --
  2393. -- Dumping data for table `tbl__quotationshare`
  2394. --
  2395. LOCK TABLES `tbl__quotationshare` WRITE;
  2396. /*!40000 ALTER TABLE `tbl__quotationshare` DISABLE KEYS */;
  2397. /*!40000 ALTER TABLE `tbl__quotationshare` ENABLE KEYS */;
  2398. UNLOCK TABLES;
  2399. --
  2400. -- Table structure for table `tbl__role`
  2401. --
  2402. DROP TABLE IF EXISTS `tbl__role`;
  2403. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2404. /*!50503 SET character_set_client = utf8mb4 */;
  2405. CREATE TABLE `tbl__role` (
  2406. `id` int NOT NULL AUTO_INCREMENT,
  2407. `rolename` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2408. `status` tinyint(1) NOT NULL,
  2409. `created_on` datetime NOT NULL,
  2410. `modified_on` datetime NOT NULL,
  2411. PRIMARY KEY (`id`)
  2412. ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2413. /*!40101 SET character_set_client = @saved_cs_client */;
  2414. --
  2415. -- Dumping data for table `tbl__role`
  2416. --
  2417. LOCK TABLES `tbl__role` WRITE;
  2418. /*!40000 ALTER TABLE `tbl__role` DISABLE KEYS */;
  2419. INSERT INTO `tbl__role` VALUES (1,'Administrator',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(2,'Admin',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(3,'HO Manager',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(4,'Zonal Manager',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(5,'Trainer',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(6,'Regional Manager',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(7,'Area Manager',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(8,'Sales Manager',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(9,'Team Leader',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(10,'Employee',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(11,'Sales Executive',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(12,'Sales Executive Accessories',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(13,'Tele Sales Executive',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(14,'Dealer',1,'2018-04-09 10:54:00','2018-04-09 10:54:00'),(15,'International Bike Sales Executive',1,'2018-11-01 10:54:00','2018-11-01 10:54:00'),(16,'Customer Experience',1,'2018-11-01 10:54:00','2018-11-01 10:54:00'),(17,'B-Customer Experience',1,'2018-11-01 10:54:00','2018-11-01 10:54:00');
  2420. /*!40000 ALTER TABLE `tbl__role` ENABLE KEYS */;
  2421. UNLOCK TABLES;
  2422. --
  2423. -- Table structure for table `tbl__site_settings`
  2424. --
  2425. DROP TABLE IF EXISTS `tbl__site_settings`;
  2426. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2427. /*!50503 SET character_set_client = utf8mb4 */;
  2428. CREATE TABLE `tbl__site_settings` (
  2429. `id` int NOT NULL AUTO_INCREMENT,
  2430. `setting_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2431. `setting_title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2432. `value` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2433. `is_active` tinyint(1) NOT NULL DEFAULT '1',
  2434. `created_on` datetime NOT NULL,
  2435. `modified_on` datetime NOT NULL,
  2436. PRIMARY KEY (`id`),
  2437. KEY `setting_type` (`setting_type`),
  2438. KEY `setting_title` (`setting_title`)
  2439. ) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2440. /*!40101 SET character_set_client = @saved_cs_client */;
  2441. --
  2442. -- Dumping data for table `tbl__site_settings`
  2443. --
  2444. LOCK TABLES `tbl__site_settings` WRITE;
  2445. /*!40000 ALTER TABLE `tbl__site_settings` DISABLE KEYS */;
  2446. INSERT INTO `tbl__site_settings` VALUES (1,'PASSWORD_POLICY','POLICY_REQUIRED','FALSE',1,'2017-12-07 16:26:28','2017-12-07 16:26:28'),(2,'PASSWORD_POLICY','MINIMUM_LENGTH','12',1,'2017-12-07 16:37:47','2017-12-07 16:37:47'),(3,'PASSWORD_POLICY','MAXIMUM_LENGTH','50',1,'2017-12-07 17:11:45','2017-12-07 17:11:45'),(4,'PASSWORD_POLICY','POLICY_TYPE','7',1,'2017-12-07 17:14:04','2017-12-07 17:14:04'),(11,'LOGIN','LOGIN_TYPE','email',1,'2017-12-26 17:28:36','2017-12-26 17:28:36'),(12,'LOGIN','PASSWORD_TYPE','password',1,'2017-12-26 17:28:36','2017-12-26 17:28:36'),(13,'LOGIN','SELF_REGISTER','FALSE',1,'2017-12-26 17:28:36','2017-12-26 17:28:36'),(14,'LOGIN','FORGOT_PASSWORD','FALSE',1,'2017-12-26 18:03:04','2017-12-26 18:03:04'),(15,'LOGIN','SELF_ACTIVATION','TRUE',1,'2017-12-26 18:03:04','2017-12-26 18:03:04'),(16,'LOGIN','SELF_ACTIVATION_RECEIVER','email',1,'2017-12-26 18:03:04','2017-12-26 18:03:04'),(17,'USER','TYPE','sales|service',1,'2017-12-26 18:03:04','2017-12-26 18:03:04'),(18,'REDEEM','REDEEM_MIN_VALUE','5000',1,'2017-12-26 18:03:04','2017-12-26 18:03:04'),(19,'REDEEM','WOOHOO_OAUTH_TOKEN',' ',1,'2018-08-28 17:18:35','2018-08-28 17:18:35'),(20,'REDEEM','WOOHOO_TOKEN_SECRET',' ',1,'2018-08-28 17:18:35','2018-08-28 17:18:35'),(21,'REDEEM','WOOHOO_TOKEN_EXPIRY',' ',1,'2018-08-28 17:18:35','2018-08-28 17:18:35'),(22,'REDEEM','WOOHOO_OAUTH2_CODE',' ',1,'2021-02-26 10:01:24','2021-02-26 10:01:24'),(23,'REDEEM','WOOHOO_OAUTH2_TOKEN',' ',1,'2021-02-26 10:21:20','2021-02-26 10:21:20');
  2447. /*!40000 ALTER TABLE `tbl__site_settings` ENABLE KEYS */;
  2448. UNLOCK TABLES;
  2449. --
  2450. -- Table structure for table `tbl__sms_log`
  2451. --
  2452. DROP TABLE IF EXISTS `tbl__sms_log`;
  2453. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2454. /*!50503 SET character_set_client = utf8mb4 */;
  2455. CREATE TABLE `tbl__sms_log` (
  2456. `id` bigint NOT NULL AUTO_INCREMENT,
  2457. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2458. `emp_code` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2459. `userid` int NOT NULL,
  2460. `mobile` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2461. `sms_data` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2462. `status` tinyint(1) NOT NULL DEFAULT '0',
  2463. `response` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2464. `created_on` datetime NOT NULL,
  2465. `modified_on` datetime NOT NULL,
  2466. PRIMARY KEY (`id`),
  2467. KEY `smpin` (`smpin`,`emp_code`,`userid`)
  2468. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2469. /*!40101 SET character_set_client = @saved_cs_client */;
  2470. --
  2471. -- Dumping data for table `tbl__sms_log`
  2472. --
  2473. LOCK TABLES `tbl__sms_log` WRITE;
  2474. /*!40000 ALTER TABLE `tbl__sms_log` DISABLE KEYS */;
  2475. /*!40000 ALTER TABLE `tbl__sms_log` ENABLE KEYS */;
  2476. UNLOCK TABLES;
  2477. --
  2478. -- Table structure for table `tbl__state`
  2479. --
  2480. DROP TABLE IF EXISTS `tbl__state`;
  2481. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2482. /*!50503 SET character_set_client = utf8mb4 */;
  2483. CREATE TABLE `tbl__state` (
  2484. `id` int NOT NULL AUTO_INCREMENT,
  2485. `countryid` int NOT NULL,
  2486. `code` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2487. `name` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2488. PRIMARY KEY (`id`)
  2489. ) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2490. /*!40101 SET character_set_client = @saved_cs_client */;
  2491. --
  2492. -- Dumping data for table `tbl__state`
  2493. --
  2494. LOCK TABLES `tbl__state` WRITE;
  2495. /*!40000 ALTER TABLE `tbl__state` DISABLE KEYS */;
  2496. INSERT INTO `tbl__state` VALUES (1,233,'AL','Alabama'),(2,233,'AK','Alaska'),(3,233,'AZ','Arizona'),(4,233,'AR','Arkansas'),(5,233,'CA','California'),(6,233,'CO','Colorado'),(7,233,'CT','Connecticut'),(8,233,'DE','Delaware'),(9,233,'DC','District of Columbia'),(10,233,'FL','Florida'),(11,233,'GA','Georgia'),(12,233,'HI','Hawaii'),(13,233,'ID','Idaho'),(14,233,'IL','Illinois'),(15,233,'IN','Indiana'),(16,233,'IA','Iowa'),(17,233,'KS','Kansas'),(18,233,'KY','Kentucky'),(19,233,'LA','Louisiana'),(20,233,'ME','Maine'),(21,233,'MD','Maryland'),(22,233,'MA','Massachusetts'),(23,233,'MI','Michigan'),(24,233,'MN','Minnesota'),(25,233,'MS','Mississippi'),(26,233,'MO','Missouri'),(27,233,'MT','Montana'),(28,233,'NE','Nebraska'),(29,233,'NV','Nevada'),(30,233,'NH','New Hampshire'),(31,233,'NJ','New Jersey'),(32,233,'NM','New Mexico'),(33,233,'NY','New York'),(34,233,'NC','North Carolina'),(35,233,'ND','North Dakota'),(36,233,'OH','Ohio'),(37,233,'OK','Oklahoma'),(38,233,'OR','Oregon'),(39,233,'PA','Pennsylvania'),(40,233,'PR','Puerto Rico'),(41,233,'RI','Rhode Island'),(42,233,'SC','South Carolina'),(43,233,'SD','South Dakota'),(44,233,'TN','Tennessee'),(45,233,'TX','Texas'),(46,233,'UT','Utah'),(47,233,'VT','Vermont'),(48,233,'VA','Virginia'),(49,233,'WA','Washington'),(50,233,'WV','West Virginia'),(51,233,'WI','Wisconsin'),(52,233,'WY','Wyoming');
  2497. /*!40000 ALTER TABLE `tbl__state` ENABLE KEYS */;
  2498. UNLOCK TABLES;
  2499. --
  2500. -- Table structure for table `tbl__status`
  2501. --
  2502. DROP TABLE IF EXISTS `tbl__status`;
  2503. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2504. /*!50503 SET character_set_client = utf8mb4 */;
  2505. CREATE TABLE `tbl__status` (
  2506. `statusid` int NOT NULL AUTO_INCREMENT,
  2507. `status` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2508. `created_on` datetime NOT NULL,
  2509. `modified_on` datetime NOT NULL,
  2510. PRIMARY KEY (`statusid`)
  2511. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2512. /*!40101 SET character_set_client = @saved_cs_client */;
  2513. --
  2514. -- Dumping data for table `tbl__status`
  2515. --
  2516. LOCK TABLES `tbl__status` WRITE;
  2517. /*!40000 ALTER TABLE `tbl__status` DISABLE KEYS */;
  2518. INSERT INTO `tbl__status` VALUES (1,'Active','2018-04-10 05:54:00','2018-04-10 05:54:00'),(2,'Inactive','2018-04-10 05:54:00','2018-04-10 05:54:00'),(3,'Completed','2018-04-10 05:54:00','2018-04-10 05:54:00'),(4,'In Progress','2018-04-10 05:54:00','2018-04-10 05:54:00'),(5,'Published','2018-04-10 05:54:00','2018-04-10 05:54:00'),(6,'Closed','2018-04-10 05:54:00','2018-04-10 05:54:00'),(7,'Not Attempted','2018-04-10 05:54:00','2018-04-10 05:54:00'),(8,'Expired','2018-04-10 05:54:00','2018-04-10 05:54:00');
  2519. /*!40000 ALTER TABLE `tbl__status` ENABLE KEYS */;
  2520. UNLOCK TABLES;
  2521. --
  2522. -- Table structure for table `tbl__survey_rating`
  2523. --
  2524. DROP TABLE IF EXISTS `tbl__survey_rating`;
  2525. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2526. /*!50503 SET character_set_client = utf8mb4 */;
  2527. CREATE TABLE `tbl__survey_rating` (
  2528. `id` int NOT NULL AUTO_INCREMENT,
  2529. `rating_text` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2530. `score` int NOT NULL,
  2531. PRIMARY KEY (`id`)
  2532. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2533. /*!40101 SET character_set_client = @saved_cs_client */;
  2534. --
  2535. -- Dumping data for table `tbl__survey_rating`
  2536. --
  2537. LOCK TABLES `tbl__survey_rating` WRITE;
  2538. /*!40000 ALTER TABLE `tbl__survey_rating` DISABLE KEYS */;
  2539. INSERT INTO `tbl__survey_rating` VALUES (1,'Poor',1),(2,'Average',2),(3,'Good',3),(4,'Very Good',4),(5,'Excellent',5);
  2540. /*!40000 ALTER TABLE `tbl__survey_rating` ENABLE KEYS */;
  2541. UNLOCK TABLES;
  2542. --
  2543. -- Table structure for table `tbl__temp_registration`
  2544. --
  2545. DROP TABLE IF EXISTS `tbl__temp_registration`;
  2546. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2547. /*!50503 SET character_set_client = utf8mb4 */;
  2548. CREATE TABLE `tbl__temp_registration` (
  2549. `tid` int NOT NULL AUTO_INCREMENT,
  2550. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2551. `emp_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2552. `mobile` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2553. `otp` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2554. `otp_expiry` datetime NOT NULL,
  2555. `auth_token` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2556. `created_on` datetime NOT NULL,
  2557. PRIMARY KEY (`tid`),
  2558. KEY `smpin` (`smpin`),
  2559. KEY `emp_code` (`emp_code`)
  2560. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2561. /*!40101 SET character_set_client = @saved_cs_client */;
  2562. --
  2563. -- Dumping data for table `tbl__temp_registration`
  2564. --
  2565. LOCK TABLES `tbl__temp_registration` WRITE;
  2566. /*!40000 ALTER TABLE `tbl__temp_registration` DISABLE KEYS */;
  2567. /*!40000 ALTER TABLE `tbl__temp_registration` ENABLE KEYS */;
  2568. UNLOCK TABLES;
  2569. --
  2570. -- Table structure for table `tbl__trainerbatch`
  2571. --
  2572. DROP TABLE IF EXISTS `tbl__trainerbatch`;
  2573. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2574. /*!50503 SET character_set_client = utf8mb4 */;
  2575. CREATE TABLE `tbl__trainerbatch` (
  2576. `id` int NOT NULL AUTO_INCREMENT,
  2577. `trainerid` int NOT NULL,
  2578. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2579. `created_on` datetime NOT NULL,
  2580. PRIMARY KEY (`id`),
  2581. KEY `trainerid` (`trainerid`)
  2582. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2583. /*!40101 SET character_set_client = @saved_cs_client */;
  2584. --
  2585. -- Dumping data for table `tbl__trainerbatch`
  2586. --
  2587. LOCK TABLES `tbl__trainerbatch` WRITE;
  2588. /*!40000 ALTER TABLE `tbl__trainerbatch` DISABLE KEYS */;
  2589. /*!40000 ALTER TABLE `tbl__trainerbatch` ENABLE KEYS */;
  2590. UNLOCK TABLES;
  2591. --
  2592. -- Table structure for table `tbl__trainerbatchuser`
  2593. --
  2594. DROP TABLE IF EXISTS `tbl__trainerbatchuser`;
  2595. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2596. /*!50503 SET character_set_client = utf8mb4 */;
  2597. CREATE TABLE `tbl__trainerbatchuser` (
  2598. `id` int NOT NULL AUTO_INCREMENT,
  2599. `batchid` int NOT NULL,
  2600. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2601. `created_on` datetime NOT NULL,
  2602. PRIMARY KEY (`id`),
  2603. KEY `batchid` (`batchid`)
  2604. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2605. /*!40101 SET character_set_client = @saved_cs_client */;
  2606. --
  2607. -- Dumping data for table `tbl__trainerbatchuser`
  2608. --
  2609. LOCK TABLES `tbl__trainerbatchuser` WRITE;
  2610. /*!40000 ALTER TABLE `tbl__trainerbatchuser` DISABLE KEYS */;
  2611. /*!40000 ALTER TABLE `tbl__trainerbatchuser` ENABLE KEYS */;
  2612. UNLOCK TABLES;
  2613. --
  2614. -- Table structure for table `tbl__training_assessment`
  2615. --
  2616. DROP TABLE IF EXISTS `tbl__training_assessment`;
  2617. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2618. /*!50503 SET character_set_client = utf8mb4 */;
  2619. CREATE TABLE `tbl__training_assessment` (
  2620. `id` int NOT NULL AUTO_INCREMENT,
  2621. `assessmentid` int NOT NULL,
  2622. `schedule_id` int NOT NULL,
  2623. `userid` int NOT NULL,
  2624. `is_attended` tinyint(1) NOT NULL,
  2625. PRIMARY KEY (`id`),
  2626. KEY `assessmentid` (`assessmentid`),
  2627. KEY `userid` (`userid`),
  2628. KEY `schedule_id` (`schedule_id`)
  2629. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2630. /*!40101 SET character_set_client = @saved_cs_client */;
  2631. --
  2632. -- Dumping data for table `tbl__training_assessment`
  2633. --
  2634. LOCK TABLES `tbl__training_assessment` WRITE;
  2635. /*!40000 ALTER TABLE `tbl__training_assessment` DISABLE KEYS */;
  2636. /*!40000 ALTER TABLE `tbl__training_assessment` ENABLE KEYS */;
  2637. UNLOCK TABLES;
  2638. --
  2639. -- Table structure for table `tbl__training_decline_reason_list`
  2640. --
  2641. DROP TABLE IF EXISTS `tbl__training_decline_reason_list`;
  2642. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2643. /*!50503 SET character_set_client = utf8mb4 */;
  2644. CREATE TABLE `tbl__training_decline_reason_list` (
  2645. `id` int NOT NULL AUTO_INCREMENT,
  2646. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2647. `status` int NOT NULL,
  2648. PRIMARY KEY (`id`)
  2649. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2650. /*!40101 SET character_set_client = @saved_cs_client */;
  2651. --
  2652. -- Dumping data for table `tbl__training_decline_reason_list`
  2653. --
  2654. LOCK TABLES `tbl__training_decline_reason_list` WRITE;
  2655. /*!40000 ALTER TABLE `tbl__training_decline_reason_list` DISABLE KEYS */;
  2656. INSERT INTO `tbl__training_decline_reason_list` VALUES (1,'DSE on Planned Leaves',1),(2,'Resigned',1),(3,'Absconding',1),(4,'Not in DSE Role',1),(5,'On Marketing Activity',1),(6,'Other',1);
  2657. /*!40000 ALTER TABLE `tbl__training_decline_reason_list` ENABLE KEYS */;
  2658. UNLOCK TABLES;
  2659. --
  2660. -- Table structure for table `tbl__training_feedback_question`
  2661. --
  2662. DROP TABLE IF EXISTS `tbl__training_feedback_question`;
  2663. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2664. /*!50503 SET character_set_client = utf8mb4 */;
  2665. CREATE TABLE `tbl__training_feedback_question` (
  2666. `id` int NOT NULL AUTO_INCREMENT,
  2667. `questiontype` int NOT NULL COMMENT '1-Training, 2-Trainer ',
  2668. `cateid` int NOT NULL,
  2669. `tag` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2670. `questiontext` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2671. `qimage` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2672. `qvideo` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2673. `vehicle_type` int NOT NULL COMMENT '1-Scooter, 2-Motorcycle',
  2674. `assessment_type` int NOT NULL COMMENT '1-Pre, 2-Post',
  2675. `creatorid` int NOT NULL,
  2676. `status` int NOT NULL,
  2677. `created_on` datetime NOT NULL,
  2678. `modified_on` datetime NOT NULL,
  2679. PRIMARY KEY (`id`),
  2680. KEY `cateid` (`cateid`)
  2681. ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2682. /*!40101 SET character_set_client = @saved_cs_client */;
  2683. --
  2684. -- Dumping data for table `tbl__training_feedback_question`
  2685. --
  2686. LOCK TABLES `tbl__training_feedback_question` WRITE;
  2687. /*!40000 ALTER TABLE `tbl__training_feedback_question` DISABLE KEYS */;
  2688. INSERT INTO `tbl__training_feedback_question` VALUES (1,1,0,'Feedback','The overall training objective was understood well by me','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00'),(2,1,0,'Feedback','The structure of the course made it easy for me to understand it','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00'),(3,1,0,'Feedback','The Program was very relevant to the tasks that I perform in my role','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00'),(4,2,0,'Feedback','Created a good environment which helped me learn effectively','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00'),(5,2,0,'Feedback','Methodology used (like role plays, exercises etc.) helped me to understand effectively\r\n','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00'),(6,2,0,'Feedback','The examples shared had relevance to my job and were practical.','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00'),(7,2,0,'Feedback','How effective were the Role plays / activities etc in understanding the concepts.','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00'),(8,2,0,'Feedback','Listened to and responded to my concerns & queries, provided an answer to my queries','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00'),(9,2,0,'Feedback','Trainer Overall Presentability, Knowledge and approach\r\n','','',0,0,2,1,'2020-08-27 00:00:00','2020-08-27 00:00:00');
  2689. /*!40000 ALTER TABLE `tbl__training_feedback_question` ENABLE KEYS */;
  2690. UNLOCK TABLES;
  2691. --
  2692. -- Table structure for table `tbl__training_level`
  2693. --
  2694. DROP TABLE IF EXISTS `tbl__training_level`;
  2695. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2696. /*!50503 SET character_set_client = utf8mb4 */;
  2697. CREATE TABLE `tbl__training_level` (
  2698. `lvl_id` int NOT NULL AUTO_INCREMENT,
  2699. `lvl_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2700. `nick_name` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2701. `lvl_points` double NOT NULL,
  2702. `training_days` int NOT NULL,
  2703. `training_gap_days` int NOT NULL,
  2704. `assessment_values` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2705. `created_on` datetime NOT NULL,
  2706. `modified_on` datetime NOT NULL,
  2707. PRIMARY KEY (`lvl_id`)
  2708. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2709. /*!40101 SET character_set_client = @saved_cs_client */;
  2710. --
  2711. -- Dumping data for table `tbl__training_level`
  2712. --
  2713. LOCK TABLES `tbl__training_level` WRITE;
  2714. /*!40000 ALTER TABLE `tbl__training_level` DISABLE KEYS */;
  2715. INSERT INTO `tbl__training_level` VALUES (1,'Base','BS',1,1,1,'1,2','2020-04-07 17:48:14','2020-04-07 17:48:14'),(2,'Bronze','BRN',1,2,2,'1,2','2020-04-07 17:51:49','2020-04-07 17:48:14'),(3,'Silver 1','SL1',1,2,0,'1,2','2020-04-07 17:51:49','2020-04-07 17:48:14'),(4,'Silver 2','SL2',1,2,4,'1,2','2020-04-07 17:51:49','2020-04-07 17:48:14'),(5,'Gold 1','GL1',1,2,5,'1,2','2020-04-07 17:51:49','2020-04-07 17:48:14'),(6,'Gold 2','GL2',1,2,6,'1,2','2020-04-07 17:51:49','2020-04-07 17:48:14'),(7,'Other','OTH',0,0,0,'','2020-04-07 17:51:49','2020-04-07 17:48:14');
  2716. /*!40000 ALTER TABLE `tbl__training_level` ENABLE KEYS */;
  2717. UNLOCK TABLES;
  2718. --
  2719. -- Table structure for table `tbl__training_level_score`
  2720. --
  2721. DROP TABLE IF EXISTS `tbl__training_level_score`;
  2722. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2723. /*!50503 SET character_set_client = utf8mb4 */;
  2724. CREATE TABLE `tbl__training_level_score` (
  2725. `id` int NOT NULL AUTO_INCREMENT,
  2726. `level` int NOT NULL COMMENT 'Training Level Id',
  2727. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'Weightage Name',
  2728. `percentage` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'Percentage Score',
  2729. `status` int NOT NULL COMMENT '1-Enable, 0-Disable',
  2730. PRIMARY KEY (`id`)
  2731. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2732. /*!40101 SET character_set_client = @saved_cs_client */;
  2733. --
  2734. -- Dumping data for table `tbl__training_level_score`
  2735. --
  2736. LOCK TABLES `tbl__training_level_score` WRITE;
  2737. /*!40000 ALTER TABLE `tbl__training_level_score` DISABLE KEYS */;
  2738. /*!40000 ALTER TABLE `tbl__training_level_score` ENABLE KEYS */;
  2739. UNLOCK TABLES;
  2740. --
  2741. -- Table structure for table `tbl__training_level_score_names`
  2742. --
  2743. DROP TABLE IF EXISTS `tbl__training_level_score_names`;
  2744. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2745. /*!50503 SET character_set_client = utf8mb4 */;
  2746. CREATE TABLE `tbl__training_level_score_names` (
  2747. `id` int NOT NULL AUTO_INCREMENT,
  2748. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2749. `status` int NOT NULL,
  2750. PRIMARY KEY (`id`)
  2751. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2752. /*!40101 SET character_set_client = @saved_cs_client */;
  2753. --
  2754. -- Dumping data for table `tbl__training_level_score_names`
  2755. --
  2756. LOCK TABLES `tbl__training_level_score_names` WRITE;
  2757. /*!40000 ALTER TABLE `tbl__training_level_score_names` DISABLE KEYS */;
  2758. INSERT INTO `tbl__training_level_score_names` VALUES (1,'Certification %',1),(2,'Pre Test',1),(3,'Post Test',1),(4,'Role Play/ Demo',1),(5,'Assignment',1),(6,'Performance',1);
  2759. /*!40000 ALTER TABLE `tbl__training_level_score_names` ENABLE KEYS */;
  2760. UNLOCK TABLES;
  2761. --
  2762. -- Table structure for table `tbl__training_participant`
  2763. --
  2764. DROP TABLE IF EXISTS `tbl__training_participant`;
  2765. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2766. /*!50503 SET character_set_client = utf8mb4 */;
  2767. CREATE TABLE `tbl__training_participant` (
  2768. `participant_id` int NOT NULL AUTO_INCREMENT,
  2769. `schedule_id` int NOT NULL,
  2770. `userid` int NOT NULL,
  2771. `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2772. `is_attendance` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  2773. `roleplay_or_demo` varchar(5) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'Percentage ',
  2774. `assignment` varchar(5) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'Percentage ',
  2775. `performance` varchar(5) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'Percentage ',
  2776. `overall` varchar(5) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'Total Score',
  2777. `certification` tinyint(1) NOT NULL COMMENT '1-Certificated, 2-Failed',
  2778. `remarks` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2779. `score` int NOT NULL,
  2780. `assessment_score` double NOT NULL,
  2781. `absence_reason` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2782. `am_absence_reason` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2783. `am_absence_reason_desc` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2784. `manual_attendance_reason` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2785. `qr_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2786. `creatorid` int NOT NULL,
  2787. `status` tinyint(1) NOT NULL COMMENT '1-Accept, 2-decline',
  2788. `acknowledge_by` int NOT NULL COMMENT '1-AM, 2-DSE',
  2789. `decline_reason` int NOT NULL COMMENT 'Decline Reason Id',
  2790. `decline_reason_desc` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'Decline Reason Other Description ',
  2791. `present_otp` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2792. `created_on` datetime NOT NULL,
  2793. `modified_on` datetime NOT NULL,
  2794. PRIMARY KEY (`participant_id`),
  2795. KEY `schedule_id` (`schedule_id`),
  2796. KEY `userid` (`userid`)
  2797. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2798. /*!40101 SET character_set_client = @saved_cs_client */;
  2799. --
  2800. -- Dumping data for table `tbl__training_participant`
  2801. --
  2802. LOCK TABLES `tbl__training_participant` WRITE;
  2803. /*!40000 ALTER TABLE `tbl__training_participant` DISABLE KEYS */;
  2804. /*!40000 ALTER TABLE `tbl__training_participant` ENABLE KEYS */;
  2805. UNLOCK TABLES;
  2806. --
  2807. -- Table structure for table `tbl__training_participant_attendance`
  2808. --
  2809. DROP TABLE IF EXISTS `tbl__training_participant_attendance`;
  2810. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2811. /*!50503 SET character_set_client = utf8mb4 */;
  2812. CREATE TABLE `tbl__training_participant_attendance` (
  2813. `id` int NOT NULL AUTO_INCREMENT,
  2814. `schedule_id` int NOT NULL,
  2815. `userid` int NOT NULL,
  2816. `day` int NOT NULL,
  2817. `ispresent` int NOT NULL,
  2818. `image` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2819. `manual_attendance_reason` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2820. `absence_reason` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2821. `status` int NOT NULL,
  2822. `created_on` datetime NOT NULL,
  2823. `modified_on` datetime NOT NULL,
  2824. PRIMARY KEY (`id`)
  2825. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2826. /*!40101 SET character_set_client = @saved_cs_client */;
  2827. --
  2828. -- Dumping data for table `tbl__training_participant_attendance`
  2829. --
  2830. LOCK TABLES `tbl__training_participant_attendance` WRITE;
  2831. /*!40000 ALTER TABLE `tbl__training_participant_attendance` DISABLE KEYS */;
  2832. /*!40000 ALTER TABLE `tbl__training_participant_attendance` ENABLE KEYS */;
  2833. UNLOCK TABLES;
  2834. --
  2835. -- Table structure for table `tbl__training_reschedule_list`
  2836. --
  2837. DROP TABLE IF EXISTS `tbl__training_reschedule_list`;
  2838. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2839. /*!50503 SET character_set_client = utf8mb4 */;
  2840. CREATE TABLE `tbl__training_reschedule_list` (
  2841. `id` int NOT NULL AUTO_INCREMENT,
  2842. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2843. `status` int NOT NULL,
  2844. PRIMARY KEY (`id`)
  2845. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2846. /*!40101 SET character_set_client = @saved_cs_client */;
  2847. --
  2848. -- Dumping data for table `tbl__training_reschedule_list`
  2849. --
  2850. LOCK TABLES `tbl__training_reschedule_list` WRITE;
  2851. /*!40000 ALTER TABLE `tbl__training_reschedule_list` DISABLE KEYS */;
  2852. INSERT INTO `tbl__training_reschedule_list` VALUES (1,'Low Participation - Employee Resigned',1),(2,'Low Participation - Employee on Leaves',1),(3,'Participation - Market Activity',1),(4,'Trainer exigency',1),(5,'Request from Sales team',1),(6,'Other - Custom entry option',1);
  2853. /*!40000 ALTER TABLE `tbl__training_reschedule_list` ENABLE KEYS */;
  2854. UNLOCK TABLES;
  2855. --
  2856. -- Table structure for table `tbl__training_schedule`
  2857. --
  2858. DROP TABLE IF EXISTS `tbl__training_schedule`;
  2859. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2860. /*!50503 SET character_set_client = utf8mb4 */;
  2861. CREATE TABLE `tbl__training_schedule` (
  2862. `schedule_id` int NOT NULL AUTO_INCREMENT,
  2863. `training_id` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2864. `user_type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0- Normal,1-Super bike',
  2865. `lvl_id` int NOT NULL,
  2866. `adhoc_training` int NOT NULL COMMENT '0-Normal, 1-Adhoc Training',
  2867. `business_segment` int NOT NULL COMMENT '1-Scooter, 2-Bike, 3-Both',
  2868. `training_other_title` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2869. `schedule_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2870. `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2871. `trainer_id` int NOT NULL,
  2872. `start_date` datetime NOT NULL,
  2873. `end_date` datetime NOT NULL,
  2874. `starttime` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2875. `endtime` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2876. `training_total_hours` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2877. `attendance_update_status` int NOT NULL,
  2878. `date_restriction` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2879. `attendance_submit` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2880. `am_acknowledgement` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '1-Acknowledgement, 0-Not',
  2881. `score_submit` int NOT NULL,
  2882. `training_group_image` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2883. `assessmentname` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2884. `assessmenttime` int NOT NULL,
  2885. `randomcond` tinyint NOT NULL COMMENT '0 -no random question ,1-random question',
  2886. `ques_count` int NOT NULL,
  2887. `location` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2888. `assessment_type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0-Before,1-After',
  2889. `buffer_day` int NOT NULL,
  2890. `filter_zone` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2891. `filter_region` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2892. `filter_dealer` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2893. `travel_desc` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2894. `hotel_desc` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2895. `venue_type` int NOT NULL COMMENT '1-Dealer, 2-Other',
  2896. `venue_am` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'Venue Area Manager Email',
  2897. `venue_dealer` int NOT NULL COMMENT 'Dealer Id',
  2898. `venue_address` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2899. `is_feedback` tinyint(1) NOT NULL DEFAULT '0',
  2900. `cancel_or_reschedule_type` int NOT NULL,
  2901. `reschedule_status` int NOT NULL,
  2902. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  2903. `status` tinyint(1) NOT NULL COMMENT '1-Active / progress,2-Close,3-Assessment Buffer Period,4 Finished',
  2904. `created_on` datetime NOT NULL,
  2905. `modified_on` datetime NOT NULL,
  2906. PRIMARY KEY (`schedule_id`),
  2907. KEY `lvl_id` (`lvl_id`),
  2908. KEY `start_date` (`start_date`,`end_date`)
  2909. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2910. /*!40101 SET character_set_client = @saved_cs_client */;
  2911. --
  2912. -- Dumping data for table `tbl__training_schedule`
  2913. --
  2914. LOCK TABLES `tbl__training_schedule` WRITE;
  2915. /*!40000 ALTER TABLE `tbl__training_schedule` DISABLE KEYS */;
  2916. /*!40000 ALTER TABLE `tbl__training_schedule` ENABLE KEYS */;
  2917. UNLOCK TABLES;
  2918. --
  2919. -- Table structure for table `tbl__training_survey`
  2920. --
  2921. DROP TABLE IF EXISTS `tbl__training_survey`;
  2922. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2923. /*!50503 SET character_set_client = utf8mb4 */;
  2924. CREATE TABLE `tbl__training_survey` (
  2925. `id` int NOT NULL AUTO_INCREMENT,
  2926. `assessmentid` int NOT NULL,
  2927. `schedule_id` int NOT NULL,
  2928. `userid` int NOT NULL,
  2929. `is_attended` tinyint(1) NOT NULL,
  2930. PRIMARY KEY (`id`),
  2931. KEY `assessmentid` (`assessmentid`),
  2932. KEY `userid` (`userid`),
  2933. KEY `schedule_id` (`schedule_id`)
  2934. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2935. /*!40101 SET character_set_client = @saved_cs_client */;
  2936. --
  2937. -- Dumping data for table `tbl__training_survey`
  2938. --
  2939. LOCK TABLES `tbl__training_survey` WRITE;
  2940. /*!40000 ALTER TABLE `tbl__training_survey` DISABLE KEYS */;
  2941. /*!40000 ALTER TABLE `tbl__training_survey` ENABLE KEYS */;
  2942. UNLOCK TABLES;
  2943. --
  2944. -- Table structure for table `tbl__user`
  2945. --
  2946. DROP TABLE IF EXISTS `tbl__user`;
  2947. /*!40101 SET @saved_cs_client = @@character_set_client */;
  2948. /*!50503 SET character_set_client = utf8mb4 */;
  2949. CREATE TABLE `tbl__user` (
  2950. `userid` int NOT NULL AUTO_INCREMENT,
  2951. `smpin` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2952. `emp_code` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2953. `password` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2954. `fname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2955. `lname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2956. `emailid` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2957. `mobileno` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2958. `role` int NOT NULL,
  2959. `dealer_code` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2960. `address_1` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2961. `address_2` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2962. `address_3` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2963. `valid_token` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2964. `validate_time` datetime NOT NULL,
  2965. `profile_photo` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2966. `dob` date NOT NULL,
  2967. `doj` date NOT NULL,
  2968. `segment` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-All, 1-Motorcycle, 2-Scooter',
  2969. `country` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2970. `auth_token` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2971. `otp` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2972. `otp_expiry` datetime NOT NULL,
  2973. `language` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2974. `is_married` tinyint(1) NOT NULL DEFAULT '0',
  2975. `marriage_date` date NOT NULL,
  2976. `mpin` varchar(5) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2977. `epin` varchar(5) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  2978. `status` tinyint(1) NOT NULL,
  2979. `last_password_change` datetime NOT NULL,
  2980. `is_first_login` tinyint(1) NOT NULL DEFAULT '1',
  2981. `is_profile_updated` tinyint(1) NOT NULL DEFAULT '0',
  2982. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  2983. `inactivated_on` datetime NOT NULL,
  2984. `created_on` datetime NOT NULL,
  2985. `modified_on` datetime NOT NULL,
  2986. PRIMARY KEY (`userid`),
  2987. KEY `dealer_code` (`dealer_code`),
  2988. KEY `created_on` (`created_on`),
  2989. KEY `smpin` (`smpin`),
  2990. KEY `emp_code` (`emp_code`),
  2991. KEY `role` (`role`),
  2992. KEY `auth_token` (`auth_token`),
  2993. KEY `segment` (`segment`),
  2994. KEY `emailid` (`emailid`)
  2995. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  2996. /*!40101 SET character_set_client = @saved_cs_client */;
  2997. --
  2998. -- Dumping data for table `tbl__user`
  2999. --
  3000. LOCK TABLES `tbl__user` WRITE;
  3001. /*!40000 ALTER TABLE `tbl__user` DISABLE KEYS */;
  3002. INSERT INTO `tbl__user` VALUES (1,' ','superadmin','202cb962ac59075b964b07152d234b70','superadmin',' ',' ',' ',1,'DL001','0','0','0','0','0000-00-00 00:00:00',' ','2000-02-21','0000-00-00',0,' ',' ',' ','0000-00-00 00:00:00','en_us',0,'0000-00-00',' ',' ',1,'0000-00-00 00:00:00',1,0,0,'0000-00-00 00:00:00','2021-02-26 16:50:57','2021-02-26 16:50:57'),(2,' ','hypermadmin','8163fed2f760a8c44d56a6ce40aeec84','admin','admin','admin@cygnusa.com','1234567890',2,'DL001','0','0','0',' ','0000-00-00 00:00:00',' ','0000-00-00','0000-00-00',0,' ',' ',' ','0000-00-00 00:00:00','en_us',0,'0000-00-00',' ',' ',1,'0000-00-00 00:00:00',0,0,0,'0000-00-00 00:00:00','2021-02-26 16:50:57','2021-02-26 16:50:57'),(3,'HYPERM01','HYPERM01','f91e15dbec69fc40f81f0876e7009648','Hyper-M Employee',' ','hypermemp1@cygnusa.com','9791172412',10,'DL001','0','0','0',' ','0000-00-00 00:00:00',' ','1982-05-24','2019-02-03',1,'105','D5dnucqF5RBsTcQMxYg3eswcmz0o3oxmQahrxPgWMTxJqS4c2b58XJWzlBFnMLONxFlzq4fb59mMIgaoA3Q716wyCl4wm4yk6lH1r90xRVpmoVY6OxcoDGNLpgMZj09c',' ','0000-00-00 00:00:00','en_us',1,'2011-02-07',' ',' ',1,'0000-00-00 00:00:00',0,1,0,'0000-00-00 00:00:00','2021-02-26 16:50:57','2021-02-26 16:50:57'),(4,'HYPERM02','HYPERM02','f91e15dbec69fc40f81f0876e7009648','Lokesh','B','lokesh@gmail.com','1234567890',10,'DL001','0','0','0',' ','0000-00-00 00:00:00',' ','1997-04-16','2019-04-16',2,'105',' ',' ','0000-00-00 00:00:00','en_us',1,'2017-10-21',' ',' ',1,'0000-00-00 00:00:00',0,1,0,'0000-00-00 00:00:00','2021-02-26 16:50:57','2021-02-26 16:50:57'),(5,'venturefund','venturefund','9d5c82b3ea817df5f56e58e592bc00f6','Venture','UNICEF','venturefund@unicef.org','123',10,'UNI','0','0','0',' ','0000-00-00 00:00:00',' ','1997-05-24','2021-02-10',1,'105','x3s2Sl8VlTQsvvrp4eVaPoj5t65SWeBqLO3MEiMuRFKDNhv72G0yaaGTAWLkBd6bFeKaElOPzQ5HzEqhtqvH3Tvo4APqZ995PvofKwOOHnccKuEMeHI7ETO5z5tnkMTe',' ','0000-00-00 00:00:00','en_us',0,'0000-00-00',' ',' ',1,'0000-00-00 00:00:00',0,1,0,'0000-00-00 00:00:00','2021-05-26 12:15:12','2021-05-26 12:15:12');
  3003. /*!40000 ALTER TABLE `tbl__user` ENABLE KEYS */;
  3004. UNLOCK TABLES;
  3005. --
  3006. -- Table structure for table `tbl__user_accesscount`
  3007. --
  3008. DROP TABLE IF EXISTS `tbl__user_accesscount`;
  3009. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3010. /*!50503 SET character_set_client = utf8mb4 */;
  3011. CREATE TABLE `tbl__user_accesscount` (
  3012. `id` int NOT NULL AUTO_INCREMENT,
  3013. `device_type` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3014. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3015. `emp_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3016. `page` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3017. `cateid` int NOT NULL,
  3018. `assettopicid` int NOT NULL,
  3019. `contentid` int NOT NULL,
  3020. `viewtime` double NOT NULL,
  3021. `created_on` datetime NOT NULL,
  3022. PRIMARY KEY (`id`),
  3023. KEY `smpin` (`smpin`),
  3024. KEY `created_on` (`created_on`),
  3025. KEY `page` (`page`),
  3026. KEY `cateid` (`cateid`),
  3027. KEY `contentid` (`contentid`)
  3028. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3029. /*!40101 SET character_set_client = @saved_cs_client */;
  3030. --
  3031. -- Dumping data for table `tbl__user_accesscount`
  3032. --
  3033. LOCK TABLES `tbl__user_accesscount` WRITE;
  3034. /*!40000 ALTER TABLE `tbl__user_accesscount` DISABLE KEYS */;
  3035. INSERT INTO `tbl__user_accesscount` VALUES (1,'app','','HYPERM01','Assessment',0,0,0,0,'2021-03-18 04:05:04'),(2,'app','','HYPERM01','Assessment',0,0,0,0,'2021-03-18 04:05:26'),(3,'app','','HYPERM01','Learning',1,0,0,0,'2021-03-18 04:05:32'),(4,'app','','HYPERM01','Learning',1,1,0,0,'2021-03-18 04:05:53'),(5,'app','','HYPERM01','Dashboard',0,0,0,0,'2021-03-19 01:45:47');
  3036. /*!40000 ALTER TABLE `tbl__user_accesscount` ENABLE KEYS */;
  3037. UNLOCK TABLES;
  3038. --
  3039. -- Table structure for table `tbl__user_bulletinstatus`
  3040. --
  3041. DROP TABLE IF EXISTS `tbl__user_bulletinstatus`;
  3042. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3043. /*!50503 SET character_set_client = utf8mb4 */;
  3044. CREATE TABLE `tbl__user_bulletinstatus` (
  3045. `id` int NOT NULL AUTO_INCREMENT,
  3046. `bulletin_id` int NOT NULL,
  3047. `userid` int NOT NULL,
  3048. `created_on` datetime NOT NULL,
  3049. `modified_on` datetime NOT NULL,
  3050. PRIMARY KEY (`id`),
  3051. KEY `userid` (`userid`),
  3052. KEY `contentid` (`bulletin_id`)
  3053. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3054. /*!40101 SET character_set_client = @saved_cs_client */;
  3055. --
  3056. -- Dumping data for table `tbl__user_bulletinstatus`
  3057. --
  3058. LOCK TABLES `tbl__user_bulletinstatus` WRITE;
  3059. /*!40000 ALTER TABLE `tbl__user_bulletinstatus` DISABLE KEYS */;
  3060. /*!40000 ALTER TABLE `tbl__user_bulletinstatus` ENABLE KEYS */;
  3061. UNLOCK TABLES;
  3062. --
  3063. -- Table structure for table `tbl__user_complete_content`
  3064. --
  3065. DROP TABLE IF EXISTS `tbl__user_complete_content`;
  3066. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3067. /*!50503 SET character_set_client = utf8mb4 */;
  3068. CREATE TABLE `tbl__user_complete_content` (
  3069. `id` int NOT NULL AUTO_INCREMENT,
  3070. `cateid` int NOT NULL,
  3071. `lvl_id` int NOT NULL,
  3072. `assettopicid` int NOT NULL,
  3073. `contentid` int NOT NULL,
  3074. `userid` int NOT NULL,
  3075. `status` int NOT NULL COMMENT '0-Started, 1-In progress, 2-Completed',
  3076. `completeddate` datetime NOT NULL,
  3077. `created_on` datetime NOT NULL,
  3078. `modified_on` datetime NOT NULL,
  3079. PRIMARY KEY (`id`),
  3080. KEY `userid` (`userid`),
  3081. KEY `contentid` (`contentid`),
  3082. KEY `cateid` (`cateid`),
  3083. KEY `assettopicid` (`assettopicid`)
  3084. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3085. /*!40101 SET character_set_client = @saved_cs_client */;
  3086. --
  3087. -- Dumping data for table `tbl__user_complete_content`
  3088. --
  3089. LOCK TABLES `tbl__user_complete_content` WRITE;
  3090. /*!40000 ALTER TABLE `tbl__user_complete_content` DISABLE KEYS */;
  3091. /*!40000 ALTER TABLE `tbl__user_complete_content` ENABLE KEYS */;
  3092. UNLOCK TABLES;
  3093. --
  3094. -- Table structure for table `tbl__user_customerexp`
  3095. --
  3096. DROP TABLE IF EXISTS `tbl__user_customerexp`;
  3097. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3098. /*!50503 SET character_set_client = utf8mb4 */;
  3099. CREATE TABLE `tbl__user_customerexp` (
  3100. `id` int NOT NULL AUTO_INCREMENT,
  3101. `salutation` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3102. `firstname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3103. `lastname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3104. `email` varchar(150) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3105. `mobile` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3106. `age` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3107. `smpin` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3108. `dsename` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3109. `userid` int NOT NULL,
  3110. `uid` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3111. `created_on` datetime NOT NULL,
  3112. PRIMARY KEY (`id`),
  3113. KEY `uid` (`uid`),
  3114. KEY `userid` (`userid`)
  3115. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3116. /*!40101 SET character_set_client = @saved_cs_client */;
  3117. --
  3118. -- Dumping data for table `tbl__user_customerexp`
  3119. --
  3120. LOCK TABLES `tbl__user_customerexp` WRITE;
  3121. /*!40000 ALTER TABLE `tbl__user_customerexp` DISABLE KEYS */;
  3122. /*!40000 ALTER TABLE `tbl__user_customerexp` ENABLE KEYS */;
  3123. UNLOCK TABLES;
  3124. --
  3125. -- Table structure for table `tbl__user_epoints`
  3126. --
  3127. DROP TABLE IF EXISTS `tbl__user_epoints`;
  3128. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3129. /*!50503 SET character_set_client = utf8mb4 */;
  3130. CREATE TABLE `tbl__user_epoints` (
  3131. `eid` int NOT NULL AUTO_INCREMENT,
  3132. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3133. `points` double NOT NULL,
  3134. `created_on` datetime NOT NULL,
  3135. `modified_on` datetime NOT NULL,
  3136. PRIMARY KEY (`eid`),
  3137. KEY `smpin` (`smpin`)
  3138. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3139. /*!40101 SET character_set_client = @saved_cs_client */;
  3140. --
  3141. -- Dumping data for table `tbl__user_epoints`
  3142. --
  3143. LOCK TABLES `tbl__user_epoints` WRITE;
  3144. /*!40000 ALTER TABLE `tbl__user_epoints` DISABLE KEYS */;
  3145. /*!40000 ALTER TABLE `tbl__user_epoints` ENABLE KEYS */;
  3146. UNLOCK TABLES;
  3147. --
  3148. -- Table structure for table `tbl__user_epoints_history`
  3149. --
  3150. DROP TABLE IF EXISTS `tbl__user_epoints_history`;
  3151. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3152. /*!50503 SET character_set_client = utf8mb4 */;
  3153. CREATE TABLE `tbl__user_epoints_history` (
  3154. `hid` int NOT NULL AUTO_INCREMENT,
  3155. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3156. `type` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3157. `type_id` int NOT NULL,
  3158. `description` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3159. `points` double NOT NULL,
  3160. `transaction_type` enum('C','D') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'C' COMMENT 'C- Credit D- Debit',
  3161. `created_on` datetime NOT NULL,
  3162. `modified_on` datetime NOT NULL,
  3163. PRIMARY KEY (`hid`),
  3164. KEY `smpin` (`smpin`),
  3165. KEY `type` (`type`),
  3166. KEY `type_id` (`type_id`),
  3167. KEY `transaction_type` (`transaction_type`)
  3168. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3169. /*!40101 SET character_set_client = @saved_cs_client */;
  3170. --
  3171. -- Dumping data for table `tbl__user_epoints_history`
  3172. --
  3173. LOCK TABLES `tbl__user_epoints_history` WRITE;
  3174. /*!40000 ALTER TABLE `tbl__user_epoints_history` DISABLE KEYS */;
  3175. /*!40000 ALTER TABLE `tbl__user_epoints_history` ENABLE KEYS */;
  3176. UNLOCK TABLES;
  3177. --
  3178. -- Table structure for table `tbl__user_learning`
  3179. --
  3180. DROP TABLE IF EXISTS `tbl__user_learning`;
  3181. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3182. /*!50503 SET character_set_client = utf8mb4 */;
  3183. CREATE TABLE `tbl__user_learning` (
  3184. `id` int NOT NULL AUTO_INCREMENT,
  3185. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3186. `lvl_id` tinyint(1) NOT NULL,
  3187. `status` tinyint(1) NOT NULL COMMENT '0-Not Started Grey, 1-Current Orange ,2 failed red,3 Completed Green',
  3188. `current_status` tinyint(1) NOT NULL DEFAULT '0',
  3189. `created_on` datetime NOT NULL,
  3190. `modified_on` datetime NOT NULL,
  3191. PRIMARY KEY (`id`),
  3192. KEY `smpin` (`smpin`),
  3193. KEY `lvl_id` (`lvl_id`),
  3194. KEY `status` (`status`)
  3195. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3196. /*!40101 SET character_set_client = @saved_cs_client */;
  3197. --
  3198. -- Dumping data for table `tbl__user_learning`
  3199. --
  3200. LOCK TABLES `tbl__user_learning` WRITE;
  3201. /*!40000 ALTER TABLE `tbl__user_learning` DISABLE KEYS */;
  3202. /*!40000 ALTER TABLE `tbl__user_learning` ENABLE KEYS */;
  3203. UNLOCK TABLES;
  3204. --
  3205. -- Table structure for table `tbl__user_learning_upload_log`
  3206. --
  3207. DROP TABLE IF EXISTS `tbl__user_learning_upload_log`;
  3208. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3209. /*!50503 SET character_set_client = utf8mb4 */;
  3210. CREATE TABLE `tbl__user_learning_upload_log` (
  3211. `id` int NOT NULL AUTO_INCREMENT,
  3212. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3213. `lvl_id` tinyint(1) NOT NULL,
  3214. `status` tinyint(1) NOT NULL COMMENT '0-Failed, 1-Success',
  3215. `created_on` datetime NOT NULL,
  3216. `modified_on` datetime NOT NULL,
  3217. PRIMARY KEY (`id`),
  3218. KEY `smpin` (`smpin`),
  3219. KEY `lvl_id` (`lvl_id`),
  3220. KEY `status` (`status`)
  3221. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3222. /*!40101 SET character_set_client = @saved_cs_client */;
  3223. --
  3224. -- Dumping data for table `tbl__user_learning_upload_log`
  3225. --
  3226. LOCK TABLES `tbl__user_learning_upload_log` WRITE;
  3227. /*!40000 ALTER TABLE `tbl__user_learning_upload_log` DISABLE KEYS */;
  3228. /*!40000 ALTER TABLE `tbl__user_learning_upload_log` ENABLE KEYS */;
  3229. UNLOCK TABLES;
  3230. --
  3231. -- Table structure for table `tbl__user_ranklist`
  3232. --
  3233. DROP TABLE IF EXISTS `tbl__user_ranklist`;
  3234. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3235. /*!50503 SET character_set_client = utf8mb4 */;
  3236. CREATE TABLE `tbl__user_ranklist` (
  3237. `id` int NOT NULL AUTO_INCREMENT,
  3238. `type` tinyint(1) NOT NULL COMMENT '1-monthly,2-quaterly,3-half-yearly,4-Annual',
  3239. `rank_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3240. `email` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3241. `smpin` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3242. `rank` int NOT NULL,
  3243. `assessment_id` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3244. `assessment_score` double NOT NULL,
  3245. `sale_score` double NOT NULL,
  3246. `score` double NOT NULL,
  3247. `points` double NOT NULL,
  3248. `created_on` datetime NOT NULL,
  3249. `modified_on` datetime NOT NULL,
  3250. PRIMARY KEY (`id`)
  3251. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3252. /*!40101 SET character_set_client = @saved_cs_client */;
  3253. --
  3254. -- Dumping data for table `tbl__user_ranklist`
  3255. --
  3256. LOCK TABLES `tbl__user_ranklist` WRITE;
  3257. /*!40000 ALTER TABLE `tbl__user_ranklist` DISABLE KEYS */;
  3258. /*!40000 ALTER TABLE `tbl__user_ranklist` ENABLE KEYS */;
  3259. UNLOCK TABLES;
  3260. --
  3261. -- Table structure for table `tbl__user_saletarget`
  3262. --
  3263. DROP TABLE IF EXISTS `tbl__user_saletarget`;
  3264. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3265. /*!50503 SET character_set_client = utf8mb4 */;
  3266. CREATE TABLE `tbl__user_saletarget` (
  3267. `id` int NOT NULL AUTO_INCREMENT,
  3268. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3269. `model` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3270. `am_id` int NOT NULL,
  3271. `sale_month` date NOT NULL,
  3272. `target` int NOT NULL,
  3273. `created_on` datetime NOT NULL,
  3274. `modified_on` datetime NOT NULL,
  3275. PRIMARY KEY (`id`),
  3276. KEY `smpin` (`smpin`),
  3277. KEY `sale_month` (`sale_month`),
  3278. KEY `model` (`model`)
  3279. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3280. /*!40101 SET character_set_client = @saved_cs_client */;
  3281. --
  3282. -- Dumping data for table `tbl__user_saletarget`
  3283. --
  3284. LOCK TABLES `tbl__user_saletarget` WRITE;
  3285. /*!40000 ALTER TABLE `tbl__user_saletarget` DISABLE KEYS */;
  3286. /*!40000 ALTER TABLE `tbl__user_saletarget` ENABLE KEYS */;
  3287. UNLOCK TABLES;
  3288. --
  3289. -- Table structure for table `tbl__user_saletarget_approve`
  3290. --
  3291. DROP TABLE IF EXISTS `tbl__user_saletarget_approve`;
  3292. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3293. /*!50503 SET character_set_client = utf8mb4 */;
  3294. CREATE TABLE `tbl__user_saletarget_approve` (
  3295. `id` int NOT NULL AUTO_INCREMENT,
  3296. `tokenid` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3297. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3298. `model` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3299. `am_id` int NOT NULL,
  3300. `user_id` int NOT NULL,
  3301. `sale_month` date NOT NULL,
  3302. `target` int NOT NULL,
  3303. `is_approved` tinyint(1) NOT NULL DEFAULT '0',
  3304. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  3305. `created_on` datetime NOT NULL,
  3306. `modified_on` datetime NOT NULL,
  3307. PRIMARY KEY (`id`),
  3308. KEY `smpin` (`smpin`),
  3309. KEY `sale_month` (`sale_month`)
  3310. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3311. /*!40101 SET character_set_client = @saved_cs_client */;
  3312. --
  3313. -- Dumping data for table `tbl__user_saletarget_approve`
  3314. --
  3315. LOCK TABLES `tbl__user_saletarget_approve` WRITE;
  3316. /*!40000 ALTER TABLE `tbl__user_saletarget_approve` DISABLE KEYS */;
  3317. /*!40000 ALTER TABLE `tbl__user_saletarget_approve` ENABLE KEYS */;
  3318. UNLOCK TABLES;
  3319. --
  3320. -- Table structure for table `tbl__user_saletarget_log`
  3321. --
  3322. DROP TABLE IF EXISTS `tbl__user_saletarget_log`;
  3323. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3324. /*!50503 SET character_set_client = utf8mb4 */;
  3325. CREATE TABLE `tbl__user_saletarget_log` (
  3326. `id` int NOT NULL AUTO_INCREMENT,
  3327. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3328. `model` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3329. `roleid` tinyint NOT NULL,
  3330. `userid` int NOT NULL,
  3331. `sale_month` date NOT NULL,
  3332. `target` int NOT NULL,
  3333. `created_on` datetime NOT NULL,
  3334. PRIMARY KEY (`id`),
  3335. KEY `smpin` (`smpin`),
  3336. KEY `sale_month` (`sale_month`)
  3337. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3338. /*!40101 SET character_set_client = @saved_cs_client */;
  3339. --
  3340. -- Dumping data for table `tbl__user_saletarget_log`
  3341. --
  3342. LOCK TABLES `tbl__user_saletarget_log` WRITE;
  3343. /*!40000 ALTER TABLE `tbl__user_saletarget_log` DISABLE KEYS */;
  3344. /*!40000 ALTER TABLE `tbl__user_saletarget_log` ENABLE KEYS */;
  3345. UNLOCK TABLES;
  3346. --
  3347. -- Table structure for table `tbl__user_saletarget_set`
  3348. --
  3349. DROP TABLE IF EXISTS `tbl__user_saletarget_set`;
  3350. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3351. /*!50503 SET character_set_client = utf8mb4 */;
  3352. CREATE TABLE `tbl__user_saletarget_set` (
  3353. `id` int NOT NULL AUTO_INCREMENT,
  3354. `roleid` tinyint NOT NULL,
  3355. `emp_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3356. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3357. `edit_date` date NOT NULL,
  3358. `created_on` datetime NOT NULL,
  3359. PRIMARY KEY (`id`),
  3360. KEY `sale_month` (`edit_date`),
  3361. KEY `emp_code` (`emp_code`),
  3362. KEY `smpin` (`smpin`)
  3363. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3364. /*!40101 SET character_set_client = @saved_cs_client */;
  3365. --
  3366. -- Dumping data for table `tbl__user_saletarget_set`
  3367. --
  3368. LOCK TABLES `tbl__user_saletarget_set` WRITE;
  3369. /*!40000 ALTER TABLE `tbl__user_saletarget_set` DISABLE KEYS */;
  3370. /*!40000 ALTER TABLE `tbl__user_saletarget_set` ENABLE KEYS */;
  3371. UNLOCK TABLES;
  3372. --
  3373. -- Table structure for table `tbl__user_saletarget_status`
  3374. --
  3375. DROP TABLE IF EXISTS `tbl__user_saletarget_status`;
  3376. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3377. /*!50503 SET character_set_client = utf8mb4 */;
  3378. CREATE TABLE `tbl__user_saletarget_status` (
  3379. `id` int NOT NULL AUTO_INCREMENT,
  3380. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3381. `roleid` tinyint NOT NULL,
  3382. `userid` int NOT NULL,
  3383. `status` tinyint(1) NOT NULL COMMENT '1-Waiting,2-Approved,3-Modified',
  3384. `sale_month` date NOT NULL,
  3385. `created_on` datetime NOT NULL,
  3386. PRIMARY KEY (`id`),
  3387. KEY `smpin` (`smpin`),
  3388. KEY `sale_month` (`sale_month`)
  3389. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3390. /*!40101 SET character_set_client = @saved_cs_client */;
  3391. --
  3392. -- Dumping data for table `tbl__user_saletarget_status`
  3393. --
  3394. LOCK TABLES `tbl__user_saletarget_status` WRITE;
  3395. /*!40000 ALTER TABLE `tbl__user_saletarget_status` DISABLE KEYS */;
  3396. /*!40000 ALTER TABLE `tbl__user_saletarget_status` ENABLE KEYS */;
  3397. UNLOCK TABLES;
  3398. --
  3399. -- Table structure for table `tbl__user_wallet`
  3400. --
  3401. DROP TABLE IF EXISTS `tbl__user_wallet`;
  3402. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3403. /*!50503 SET character_set_client = utf8mb4 */;
  3404. CREATE TABLE `tbl__user_wallet` (
  3405. `id` int NOT NULL AUTO_INCREMENT,
  3406. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3407. `amount` double NOT NULL,
  3408. `created_on` datetime NOT NULL,
  3409. `modified_on` datetime NOT NULL,
  3410. PRIMARY KEY (`id`),
  3411. KEY `smpin` (`smpin`)
  3412. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3413. /*!40101 SET character_set_client = @saved_cs_client */;
  3414. --
  3415. -- Dumping data for table `tbl__user_wallet`
  3416. --
  3417. LOCK TABLES `tbl__user_wallet` WRITE;
  3418. /*!40000 ALTER TABLE `tbl__user_wallet` DISABLE KEYS */;
  3419. /*!40000 ALTER TABLE `tbl__user_wallet` ENABLE KEYS */;
  3420. UNLOCK TABLES;
  3421. --
  3422. -- Table structure for table `tbl__user_wallet_approve`
  3423. --
  3424. DROP TABLE IF EXISTS `tbl__user_wallet_approve`;
  3425. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3426. /*!50503 SET character_set_client = utf8mb4 */;
  3427. CREATE TABLE `tbl__user_wallet_approve` (
  3428. `id` int NOT NULL AUTO_INCREMENT,
  3429. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3430. `points` double NOT NULL,
  3431. `amount` double NOT NULL,
  3432. `lvl_id` int NOT NULL,
  3433. `is_approved` tinyint(1) NOT NULL DEFAULT '0',
  3434. `approved_id` int NOT NULL,
  3435. `created_on` datetime NOT NULL,
  3436. `modified_on` datetime NOT NULL,
  3437. PRIMARY KEY (`id`),
  3438. KEY `smpin` (`smpin`),
  3439. KEY `lvl_id` (`lvl_id`)
  3440. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3441. /*!40101 SET character_set_client = @saved_cs_client */;
  3442. --
  3443. -- Dumping data for table `tbl__user_wallet_approve`
  3444. --
  3445. LOCK TABLES `tbl__user_wallet_approve` WRITE;
  3446. /*!40000 ALTER TABLE `tbl__user_wallet_approve` DISABLE KEYS */;
  3447. /*!40000 ALTER TABLE `tbl__user_wallet_approve` ENABLE KEYS */;
  3448. UNLOCK TABLES;
  3449. --
  3450. -- Table structure for table `tbl__user_wallet_history`
  3451. --
  3452. DROP TABLE IF EXISTS `tbl__user_wallet_history`;
  3453. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3454. /*!50503 SET character_set_client = utf8mb4 */;
  3455. CREATE TABLE `tbl__user_wallet_history` (
  3456. `hid` int NOT NULL AUTO_INCREMENT,
  3457. `smpin` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3458. `type` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3459. `type_id` int NOT NULL,
  3460. `description` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3461. `lvl_points` double NOT NULL,
  3462. `amount` double NOT NULL,
  3463. `transaction_type` enum('C','D') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'C' COMMENT 'C- Credit D- Debit',
  3464. `created_on` datetime NOT NULL,
  3465. `modified_on` datetime NOT NULL,
  3466. PRIMARY KEY (`hid`),
  3467. KEY `smpin` (`smpin`),
  3468. KEY `type` (`type`),
  3469. KEY `type_id` (`type_id`)
  3470. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3471. /*!40101 SET character_set_client = @saved_cs_client */;
  3472. --
  3473. -- Dumping data for table `tbl__user_wallet_history`
  3474. --
  3475. LOCK TABLES `tbl__user_wallet_history` WRITE;
  3476. /*!40000 ALTER TABLE `tbl__user_wallet_history` DISABLE KEYS */;
  3477. /*!40000 ALTER TABLE `tbl__user_wallet_history` ENABLE KEYS */;
  3478. UNLOCK TABLES;
  3479. --
  3480. -- Table structure for table `tbl__userdevice`
  3481. --
  3482. DROP TABLE IF EXISTS `tbl__userdevice`;
  3483. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3484. /*!50503 SET character_set_client = utf8mb4 */;
  3485. CREATE TABLE `tbl__userdevice` (
  3486. `id` int NOT NULL AUTO_INCREMENT,
  3487. `userid` int NOT NULL,
  3488. `devicetype` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '1.Android,2iOS',
  3489. `token` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3490. `android_id` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3491. `model` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3492. `manufacture` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3493. `version` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3494. `client_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3495. `is_deleted` tinyint(1) NOT NULL,
  3496. `created_on` datetime NOT NULL,
  3497. `modified_on` datetime NOT NULL,
  3498. PRIMARY KEY (`id`),
  3499. KEY `userid` (`userid`)
  3500. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3501. /*!40101 SET character_set_client = @saved_cs_client */;
  3502. --
  3503. -- Dumping data for table `tbl__userdevice`
  3504. --
  3505. LOCK TABLES `tbl__userdevice` WRITE;
  3506. /*!40000 ALTER TABLE `tbl__userdevice` DISABLE KEYS */;
  3507. INSERT INTO `tbl__userdevice` VALUES (1,3,'android','ci9YjqC3QXeqRU58aJ7Pk7:APA91bEnh7CyA5uIV3A0_LgYVQ12cZnfFxTwMLAfHKdaSsOm574uqSoJoqdoTDp-1h_LnvcugwXKiSXzyLlQ12uEmAQMWKVWONuvRrOS_NvC3FAGsP-ivg0Gw7wqwZoGFwQb0a4iYo0n','9174df70e639ea73','Android SDK built for x86','Google','10','49.205.86.38',0,'2021-03-18 04:04:35','2021-03-19 02:26:29'),(2,5,'android','fGSfbqkoTjuSmZouwMM4TL:APA91bHmDhJLcDhhAkjZ8HMc4HYZbAaxIWquT9AddaL2Bug-paf1RkhHFlc1fq0Jq0mcGiRSmldL5jUPTkifGi9KIT5ym4VE44yvv7-z6yPOC1HCQi_aHhRc_911ErOPbasJz830DDU7','24528eee76b5f97d','sdk_gphone_x86_arm','Google','11','223.181.202.52',0,'2021-05-28 23:34:20','2021-05-28 23:34:20');
  3508. /*!40000 ALTER TABLE `tbl__userdevice` ENABLE KEYS */;
  3509. UNLOCK TABLES;
  3510. --
  3511. -- Table structure for table `tbl__userlog`
  3512. --
  3513. DROP TABLE IF EXISTS `tbl__userlog`;
  3514. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3515. /*!50503 SET character_set_client = utf8mb4 */;
  3516. CREATE TABLE `tbl__userlog` (
  3517. `logid` bigint NOT NULL AUTO_INCREMENT,
  3518. `userid` int NOT NULL,
  3519. `device_type` enum('app','web','admin') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'app',
  3520. `module` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3521. `module_id` int NOT NULL,
  3522. `ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3523. `created_on` datetime NOT NULL,
  3524. PRIMARY KEY (`logid`),
  3525. KEY `userid` (`userid`),
  3526. KEY `module` (`module`),
  3527. KEY `created_on` (`created_on`)
  3528. ) ENGINE=InnoDB AUTO_INCREMENT=364 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3529. /*!40101 SET character_set_client = @saved_cs_client */;
  3530. --
  3531. -- Dumping data for table `tbl__userlog`
  3532. --
  3533. LOCK TABLES `tbl__userlog` WRITE;
  3534. /*!40000 ALTER TABLE `tbl__userlog` DISABLE KEYS */;
  3535. INSERT INTO `tbl__userlog` VALUES (1,3,'app','SIGNIN',0,'49.205.82.41','2021-03-18 04:00:31'),(2,3,'app','PROFILE',0,'49.205.82.41','2021-03-18 04:00:34'),(3,3,'app','SIGNIN',0,'49.205.82.41','2021-03-18 04:02:14'),(4,3,'app','SIGNIN',0,'49.205.82.41','2021-03-18 04:04:31'),(5,3,'app','BANNER',0,'49.205.82.41','2021-03-18 04:04:33'),(6,3,'app','NOTIFICATION LIST',0,'49.205.82.41','2021-03-18 04:04:33'),(7,3,'app','DASHBOARD',0,'49.205.82.41','2021-03-18 04:04:34'),(8,3,'app','DEVICE TOKEN',0,'49.205.82.41','2021-03-18 04:04:35'),(9,3,'app','DASHBOARD',0,'49.205.82.41','2021-03-18 04:05:11'),(10,3,'app','VIDEO TRAINING LIST',0,'49.205.82.41','2021-03-18 04:05:18'),(11,3,'app','CATEGORY',0,'49.205.82.41','2021-03-18 04:05:31'),(12,3,'app','TOPICS',1,'49.205.82.41','2021-03-18 04:05:32'),(13,3,'app','CONTENT',1,'49.205.82.41','2021-03-18 04:05:54'),(14,3,'app','SIGNIN',0,'49.205.86.38','2021-03-19 01:32:12'),(15,3,'app','BANNER',0,'49.205.86.38','2021-03-19 01:32:14'),(16,3,'app','NOTIFICATION LIST',0,'49.205.86.38','2021-03-19 01:32:14'),(17,3,'app','DASHBOARD',0,'49.205.86.38','2021-03-19 01:32:14'),(18,3,'app','DEVICE TOKEN',0,'49.205.86.38','2021-03-19 01:32:16'),(19,3,'app','SIGNIN',0,'49.205.86.38','2021-03-19 01:45:45'),(20,3,'app','BANNER',0,'49.205.86.38','2021-03-19 01:45:47'),(21,3,'app','NOTIFICATION LIST',0,'49.205.86.38','2021-03-19 01:45:47'),(22,3,'app','DASHBOARD',0,'49.205.86.38','2021-03-19 01:45:47'),(23,3,'app','DEVICE TOKEN',0,'49.205.86.38','2021-03-19 01:45:48'),(24,3,'app','SIGNIN',0,'49.205.86.38','2021-03-19 01:50:56'),(25,3,'app','NOTIFICATION LIST',0,'49.205.86.38','2021-03-19 01:50:59'),(26,3,'app','BANNER',0,'49.205.86.38','2021-03-19 01:50:59'),(27,3,'app','DASHBOARD',0,'49.205.86.38','2021-03-19 01:51:00'),(28,3,'app','DEVICE TOKEN',0,'49.205.86.38','2021-03-19 01:51:01'),(29,3,'app','SIGNIN',0,'49.205.86.38','2021-03-19 02:26:25'),(30,3,'app','NOTIFICATION LIST',0,'49.205.86.38','2021-03-19 02:26:27'),(31,3,'app','BANNER',0,'49.205.86.38','2021-03-19 02:26:27'),(32,3,'app','DASHBOARD',0,'49.205.86.38','2021-03-19 02:26:28'),(33,3,'app','DEVICE TOKEN',0,'49.205.86.38','2021-03-19 02:26:29'),(34,5,'app','SIGNIN',0,'223.181.202.52','2021-05-28 23:31:46'),(35,5,'app','SIGNIN',0,'223.181.202.52','2021-05-28 23:34:15'),(36,5,'app','BANNER',0,'223.181.202.52','2021-05-28 23:34:18'),(37,5,'app','NOTIFICATION LIST',0,'223.181.202.52','2021-05-28 23:34:18'),(38,5,'app','DASHBOARD',0,'223.181.202.52','2021-05-28 23:34:18'),(39,5,'app','DEVICE TOKEN',0,'223.181.202.52','2021-05-28 23:34:20'),(40,5,'app','PROFILE',0,'223.181.202.52','2021-05-28 23:36:25'),(41,5,'app','BANNER',0,'223.181.202.52','2021-05-28 23:36:27'),(42,5,'app','NOTIFICATION LIST',0,'223.181.202.52','2021-05-28 23:36:28'),(43,5,'app','DASHBOARD',0,'223.181.202.52','2021-05-28 23:36:29'),(44,3,'web','SIGNIN',0,'223.181.239.58','2021-05-29 21:40:03'),(45,3,'web','LEARNING LEVEL',0,'223.181.239.58','2021-05-29 21:40:05'),(46,3,'web','LEARNING LEVEL',0,'223.181.239.58','2021-05-29 21:40:05'),(47,3,'web','BANNER',0,'223.181.239.58','2021-05-29 21:40:05'),(48,3,'web','NOTIFICATION LIST',0,'223.181.239.58','2021-05-29 21:40:05'),(49,3,'web','DASHBOARD',0,'223.181.239.58','2021-05-29 21:40:05'),(50,5,'web','SIGNIN',0,'223.181.239.58','2021-05-29 22:37:21'),(51,5,'web','NOTIFICATION LIST',0,'223.181.239.58','2021-05-29 22:37:21'),(52,5,'web','LEARNING LEVEL',0,'223.181.239.58','2021-05-29 22:37:21'),(53,5,'web','DASHBOARD',0,'223.181.239.58','2021-05-29 22:37:21'),(54,5,'web','LEARNING LEVEL',0,'223.181.239.58','2021-05-29 22:37:21'),(55,5,'web','BANNER',0,'223.181.239.58','2021-05-29 22:37:21'),(56,5,'web','SIGNIN',0,'117.193.11.35','2021-05-29 22:56:53'),(57,5,'web','LEARNING LEVEL',0,'117.193.11.35','2021-05-29 22:56:54'),(58,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:56:54'),(59,5,'web','BANNER',0,'117.193.11.35','2021-05-29 22:56:54'),(60,5,'web','LEARNING LEVEL',0,'117.193.11.35','2021-05-29 22:56:54'),(61,5,'web','DASHBOARD',0,'117.193.11.35','2021-05-29 22:56:54'),(62,5,'web','VIDEO TRAINING LIST',0,'117.193.11.35','2021-05-29 22:57:01'),(63,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:57:01'),(64,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:57:04'),(65,5,'web','ENQUIRY DASHBOARD',0,'117.193.11.35','2021-05-29 22:57:04'),(66,5,'web','SALES DASHBOARD',0,'117.193.11.35','2021-05-29 22:57:04'),(67,5,'web','SALES DASHBOARD',0,'117.193.11.35','2021-05-29 22:57:04'),(68,5,'web','ENQUIRY DASHBOARD',0,'117.193.11.35','2021-05-29 22:57:04'),(69,5,'web','ENQUIRY COMMON',0,'117.193.11.35','2021-05-29 22:57:04'),(70,5,'web','VIDEO TRAINING LIST',0,'117.193.11.35','2021-05-29 22:57:12'),(71,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:57:12'),(72,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:57:14'),(73,5,'web','CATEGORY',0,'117.193.11.35','2021-05-29 22:57:14'),(74,5,'web','LEARNING LEVEL',0,'117.193.11.35','2021-05-29 22:57:14'),(75,5,'web','DASHBOARD',0,'117.193.11.35','2021-05-29 22:57:14'),(76,5,'web','TOPICS',1,'117.193.11.35','2021-05-29 22:57:14'),(77,5,'web','TOPICS',1,'117.193.11.35','2021-05-29 22:57:15'),(78,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:57:16'),(79,5,'web','LEADERBOARD ASSESSMENT',0,'117.193.11.35','2021-05-29 22:57:37'),(80,5,'web','DASHBOARD',0,'117.193.11.35','2021-05-29 22:57:37'),(81,5,'web','LEARNING LEVEL',0,'117.193.11.35','2021-05-29 22:57:37'),(82,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:57:37'),(83,5,'web','DASHBOARD',0,'117.193.11.35','2021-05-29 22:57:42'),(84,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:57:42'),(85,5,'web','LEARNING LEVEL',0,'117.193.11.35','2021-05-29 22:57:42'),(86,5,'web','LEARNING LEVEL',0,'117.193.11.35','2021-05-29 22:57:44'),(87,5,'web','BULLETIN',0,'117.193.11.35','2021-05-29 22:57:44'),(88,5,'web','NOTIFICATION LIST',0,'117.193.11.35','2021-05-29 22:57:44'),(89,5,'web','DASHBOARD',0,'117.193.11.35','2021-05-29 22:57:44'),(90,5,'web','SIGNIN',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:48:58'),(91,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:48:59'),(92,5,'web','BANNER',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:48:59'),(93,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:48:59'),(94,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:48:59'),(95,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:48:59'),(96,5,'web','SALES LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:50:22'),(97,5,'web','SALES LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:50:53'),(98,5,'web','LEARNPATH',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:51:12'),(99,5,'web','REWARDPOINTS',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:51:15'),(100,5,'web','REWARDPOINTS',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:51:26'),(101,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:53:30'),(102,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:53:30'),(103,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:15'),(104,5,'web','ENQUIRY DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:15'),(105,5,'web','ENQUIRY DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:15'),(106,5,'web','ENQUIRY COMMON',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:15'),(107,5,'web','SALES DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:15'),(108,5,'web','SALES DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:15'),(109,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:23'),(110,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:23'),(111,5,'web','ENQUIRY DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:25'),(112,5,'web','ENQUIRY DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:25'),(113,5,'web','SALES DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:25'),(114,5,'web','SALES DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:25'),(115,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:25'),(116,5,'web','ENQUIRY COMMON',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:25'),(117,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:35'),(118,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:35'),(119,5,'web','ENQUIRY DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:36'),(120,5,'web','ENQUIRY DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:36'),(121,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:36'),(122,5,'web','SALES DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:36'),(123,5,'web','ENQUIRY COMMON',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:36'),(124,5,'web','SALES DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:55:36'),(125,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:06'),(126,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:06'),(127,5,'web','CATEGORY',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:08'),(128,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:08'),(129,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:08'),(130,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:08'),(131,5,'web','TOPICS',1,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:08'),(132,5,'web','TOPICS',1,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:08'),(133,5,'web','TOPICS',2,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:26'),(134,5,'web','TOPICS',3,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:27'),(135,5,'web','TOPICS',4,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:28'),(136,5,'web','TOPICS',1,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:56:29'),(137,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:57:19'),(138,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:58:35'),(139,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:58:35'),(140,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:58:35'),(141,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 10:58:35'),(142,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:00:02'),(143,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:00:37'),(144,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:00:39'),(145,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:00:40'),(146,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:00:45'),(147,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:00:45'),(148,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:00:45'),(149,5,'web','BULLETIN',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:01:29'),(150,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:01:29'),(151,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:01:29'),(152,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:01:29'),(153,5,'web','ORDER HISTORY',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:01:58'),(154,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:01:58'),(155,5,'web','BULLETIN',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:02'),(156,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:02'),(157,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:02'),(158,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:02'),(159,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:04'),(160,5,'web','ORDER HISTORY',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:04'),(161,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:09'),(162,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:09'),(163,5,'web','BULLETIN',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:09'),(164,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:09'),(165,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:02:12'),(166,5,'web','SIGNIN',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:07'),(167,5,'web','BANNER',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:08'),(168,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:08'),(169,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:08'),(170,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:08'),(171,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:08'),(172,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:10'),(173,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:10'),(174,5,'web','BANNER',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:12'),(175,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:12'),(176,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:12'),(177,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:12'),(178,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:12'),(179,5,'web','SALES DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:13'),(180,5,'web','ENQUIRY DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:13'),(181,5,'web','ENQUIRY COMMON',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:13'),(182,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:13'),(183,5,'web','ENQUIRY DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:13'),(184,5,'web','SALES DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:13'),(185,5,'web','BANNER',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:14'),(186,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:14'),(187,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:14'),(188,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:15'),(189,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:15'),(190,5,'web','CATEGORY',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:15'),(191,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:15'),(192,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:15'),(193,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:15'),(194,5,'web','TOPICS',1,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:15'),(195,5,'web','TOPICS',1,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:15'),(196,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:16'),(197,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:16'),(198,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:16'),(199,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:16'),(200,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:16'),(201,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:17'),(202,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:17'),(203,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:17'),(204,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:18'),(205,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:18'),(206,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:18'),(207,5,'web','CATEGORY',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:18'),(208,5,'web','TOPICS',1,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:18'),(209,5,'web','TOPICS',1,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:18'),(210,5,'web','TOPICS',2,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:21'),(211,5,'web','TOPICS',3,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:23'),(212,5,'web','TOPICS',4,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:24'),(213,5,'web','TOPICS',2,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:29'),(214,5,'web','TOPICS',1,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 11:37:44'),(215,5,'web','REWARDPOINTS',0,'2409:4072:787:4b5c:bc31:f19:7efe:9fe5','2021-05-30 12:14:10'),(216,5,'web','NOTIFICATION LIST',0,'157.51.114.166','2021-05-30 13:26:01'),(217,5,'web','NOTIFICATION LIST',0,'157.51.114.166','2021-05-30 13:26:07'),(218,5,'web','NOTIFICATION LIST',0,'157.51.114.166','2021-05-30 13:26:09'),(219,5,'web','NOTIFICATION LIST',0,'157.51.114.166','2021-05-30 13:26:13'),(220,5,'web','SIGNIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 15:59:18'),(221,5,'web','BANNER',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 15:59:19'),(222,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 15:59:19'),(223,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 15:59:19'),(224,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 15:59:19'),(225,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 15:59:19'),(226,5,'web','SIGNIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:12'),(227,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:12'),(228,5,'web','BANNER',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:12'),(229,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:13'),(230,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:13'),(231,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:13'),(232,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:16'),(233,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:16'),(234,5,'web','SIGNIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:45'),(235,5,'web','BANNER',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:45'),(236,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:45'),(237,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:45'),(238,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:45'),(239,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 16:00:45'),(240,5,'web','SIGNIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:22:26'),(241,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:22:27'),(242,5,'web','BANNER',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:22:27'),(243,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:22:27'),(244,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:22:27'),(245,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:22:27'),(246,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:26:41'),(247,5,'web','BANNER',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:26:41'),(248,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:26:41'),(249,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:26:41'),(250,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:26:41'),(251,5,'web','BANNER',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:27:34'),(252,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:27:34'),(253,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:27:34'),(254,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:27:34'),(255,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:27:34'),(256,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:27:55'),(257,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:27:55'),(258,5,'web','CATEGORY',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:31:52'),(259,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:31:52'),(260,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:31:52'),(261,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:31:52'),(262,5,'web','TOPICS',1,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:31:52'),(263,5,'web','TOPICS',1,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:31:52'),(264,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:32:10'),(265,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:32:10'),(266,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:32:10'),(267,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:32:10'),(268,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:33:54'),(269,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:33:54'),(270,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:33:54'),(271,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 17:33:54'),(272,5,'web','SIGNIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:05'),(273,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:06'),(274,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:06'),(275,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:06'),(276,5,'web','BANNER',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:06'),(277,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:06'),(278,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:19'),(279,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:19'),(280,5,'web','CATEGORY',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:33'),(281,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:33'),(282,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:33'),(283,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:33'),(284,5,'web','TOPICS',1,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:33'),(285,5,'web','TOPICS',1,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:33'),(286,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:44'),(287,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:45'),(288,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:45'),(289,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:45'),(290,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:39:47'),(291,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:40:02'),(292,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:41:20'),(293,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:43:32'),(294,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:43:32'),(295,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:43:32'),(296,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:43:32'),(297,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:44:14'),(298,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:53:26'),(299,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:53:26'),(300,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:53:26'),(301,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:53:26'),(302,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:53:29'),(303,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:55:20'),(304,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:55:20'),(305,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:55:20'),(306,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 18:55:20'),(307,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:37:30'),(308,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:38:25'),(309,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:38:25'),(310,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:38:25'),(311,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:38:25'),(312,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:39:32'),(313,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:39:34'),(314,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:39:39'),(315,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:39:39'),(316,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:39:39'),(317,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:39:39'),(318,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:42:03'),(319,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:42:03'),(320,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:42:03'),(321,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:42:03'),(322,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:45:46'),(323,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:45:46'),(324,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:45:46'),(325,5,'web','LEADERBOARD ASSESSMENT',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:45:46'),(326,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:51:16'),(327,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:51:16'),(328,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:51:16'),(329,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:51:23'),(330,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:51:23'),(331,5,'web','BULLETIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:51:23'),(332,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:51:23'),(333,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:52:21'),(334,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:52:21'),(335,5,'web','BULLETIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:52:21'),(336,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:52:21'),(337,5,'web','VIDEO TRAINING LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:53:06'),(338,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:53:06'),(339,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:53:09'),(340,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:54:05'),(341,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:54:05'),(342,5,'web','BULLETIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:54:05'),(343,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:54:05'),(344,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:54:07'),(345,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:56:22'),(346,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:56:50'),(347,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:57:17'),(348,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 19:57:20'),(349,5,'web','SIGNIN',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:39'),(350,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:40'),(351,5,'web','DASHBOARD',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:40'),(352,5,'web','LEARNING LEVEL',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:40'),(353,5,'web','BANNER',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:40'),(354,5,'web','NOTIFICATION LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:40'),(355,5,'web','REWARDPOINTS',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:42'),(356,5,'web','REDEEMHISTORY',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:47'),(357,5,'web','REWARDPOINTS',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:48'),(358,5,'web','LEARNPATH',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:54'),(359,5,'web','SALES LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:48:57'),(360,5,'web','SALES LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:49:00'),(361,5,'web','SALES LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:49:03'),(362,5,'web','SALES LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 20:49:03'),(363,5,'web','SALES LIST',0,'2409:4072:787:4b5c:b4df:699f:972f:ed4d','2021-05-30 21:10:14');
  3536. /*!40000 ALTER TABLE `tbl__userlog` ENABLE KEYS */;
  3537. UNLOCK TABLES;
  3538. --
  3539. -- Table structure for table `tbl__userstatushistory`
  3540. --
  3541. DROP TABLE IF EXISTS `tbl__userstatushistory`;
  3542. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3543. /*!50503 SET character_set_client = utf8mb4 */;
  3544. CREATE TABLE `tbl__userstatushistory` (
  3545. `id` int NOT NULL AUTO_INCREMENT,
  3546. `userid` int NOT NULL,
  3547. `action_user` int NOT NULL,
  3548. `status` tinyint(1) NOT NULL,
  3549. `remarks` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3550. `remarkoption` tinyint NOT NULL,
  3551. `created_on` datetime NOT NULL,
  3552. PRIMARY KEY (`id`),
  3553. KEY `userid` (`userid`),
  3554. KEY `action_user` (`action_user`)
  3555. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3556. /*!40101 SET character_set_client = @saved_cs_client */;
  3557. --
  3558. -- Dumping data for table `tbl__userstatushistory`
  3559. --
  3560. LOCK TABLES `tbl__userstatushistory` WRITE;
  3561. /*!40000 ALTER TABLE `tbl__userstatushistory` DISABLE KEYS */;
  3562. /*!40000 ALTER TABLE `tbl__userstatushistory` ENABLE KEYS */;
  3563. UNLOCK TABLES;
  3564. --
  3565. -- Table structure for table `tbl__videoscheduleuser`
  3566. --
  3567. DROP TABLE IF EXISTS `tbl__videoscheduleuser`;
  3568. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3569. /*!50503 SET character_set_client = utf8mb4 */;
  3570. CREATE TABLE `tbl__videoscheduleuser` (
  3571. `id` int NOT NULL AUTO_INCREMENT,
  3572. `sid` int NOT NULL,
  3573. `userid` int NOT NULL,
  3574. `status` int NOT NULL,
  3575. `created_on` datetime NOT NULL,
  3576. `modified_on` datetime NOT NULL,
  3577. PRIMARY KEY (`id`),
  3578. KEY `sid` (`sid`),
  3579. KEY `userid` (`userid`)
  3580. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3581. /*!40101 SET character_set_client = @saved_cs_client */;
  3582. --
  3583. -- Dumping data for table `tbl__videoscheduleuser`
  3584. --
  3585. LOCK TABLES `tbl__videoscheduleuser` WRITE;
  3586. /*!40000 ALTER TABLE `tbl__videoscheduleuser` DISABLE KEYS */;
  3587. /*!40000 ALTER TABLE `tbl__videoscheduleuser` ENABLE KEYS */;
  3588. UNLOCK TABLES;
  3589. --
  3590. -- Table structure for table `tbl__videotrainingmsg`
  3591. --
  3592. DROP TABLE IF EXISTS `tbl__videotrainingmsg`;
  3593. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3594. /*!50503 SET character_set_client = utf8mb4 */;
  3595. CREATE TABLE `tbl__videotrainingmsg` (
  3596. `id` int NOT NULL AUTO_INCREMENT,
  3597. `sid` int NOT NULL,
  3598. `userid` int NOT NULL,
  3599. `role` tinyint NOT NULL,
  3600. `msg` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3601. `created_on` datetime NOT NULL,
  3602. PRIMARY KEY (`id`),
  3603. KEY `sid` (`sid`),
  3604. KEY `userid` (`userid`)
  3605. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3606. /*!40101 SET character_set_client = @saved_cs_client */;
  3607. --
  3608. -- Dumping data for table `tbl__videotrainingmsg`
  3609. --
  3610. LOCK TABLES `tbl__videotrainingmsg` WRITE;
  3611. /*!40000 ALTER TABLE `tbl__videotrainingmsg` DISABLE KEYS */;
  3612. /*!40000 ALTER TABLE `tbl__videotrainingmsg` ENABLE KEYS */;
  3613. UNLOCK TABLES;
  3614. --
  3615. -- Table structure for table `tbl__videotrainingschedule`
  3616. --
  3617. DROP TABLE IF EXISTS `tbl__videotrainingschedule`;
  3618. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3619. /*!50503 SET character_set_client = utf8mb4 */;
  3620. CREATE TABLE `tbl__videotrainingschedule` (
  3621. `id` int NOT NULL AUTO_INCREMENT,
  3622. `typeid` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3623. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3624. `description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3625. `fromdate` datetime NOT NULL,
  3626. `todate` datetime NOT NULL,
  3627. `channel` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3628. `status` tinyint(1) NOT NULL,
  3629. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  3630. `organiser_role` tinyint NOT NULL,
  3631. `organiser` int NOT NULL,
  3632. `participant_role` tinyint NOT NULL,
  3633. `is_admin` tinyint(1) NOT NULL DEFAULT '0',
  3634. `creator_id` int NOT NULL,
  3635. `created_on` datetime NOT NULL,
  3636. `modified_on` datetime NOT NULL,
  3637. PRIMARY KEY (`id`),
  3638. KEY `organiser` (`organiser`),
  3639. KEY `fromdate` (`fromdate`),
  3640. KEY `todate` (`todate`)
  3641. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci ROW_FORMAT=COMPACT;
  3642. /*!40101 SET character_set_client = @saved_cs_client */;
  3643. --
  3644. -- Dumping data for table `tbl__videotrainingschedule`
  3645. --
  3646. LOCK TABLES `tbl__videotrainingschedule` WRITE;
  3647. /*!40000 ALTER TABLE `tbl__videotrainingschedule` DISABLE KEYS */;
  3648. /*!40000 ALTER TABLE `tbl__videotrainingschedule` ENABLE KEYS */;
  3649. UNLOCK TABLES;
  3650. --
  3651. -- Table structure for table `tbl__videotrainingtimer`
  3652. --
  3653. DROP TABLE IF EXISTS `tbl__videotrainingtimer`;
  3654. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3655. /*!50503 SET character_set_client = utf8mb4 */;
  3656. CREATE TABLE `tbl__videotrainingtimer` (
  3657. `id` int NOT NULL AUTO_INCREMENT,
  3658. `sid` int NOT NULL,
  3659. `userid` int NOT NULL,
  3660. `role` tinyint NOT NULL,
  3661. `timetaken` double NOT NULL,
  3662. `fromtime` datetime NOT NULL,
  3663. `totime` datetime NOT NULL,
  3664. `created_on` datetime NOT NULL,
  3665. `modified_on` datetime NOT NULL,
  3666. PRIMARY KEY (`id`),
  3667. KEY `sid` (`sid`),
  3668. KEY `userid` (`userid`)
  3669. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3670. /*!40101 SET character_set_client = @saved_cs_client */;
  3671. --
  3672. -- Dumping data for table `tbl__videotrainingtimer`
  3673. --
  3674. LOCK TABLES `tbl__videotrainingtimer` WRITE;
  3675. /*!40000 ALTER TABLE `tbl__videotrainingtimer` DISABLE KEYS */;
  3676. /*!40000 ALTER TABLE `tbl__videotrainingtimer` ENABLE KEYS */;
  3677. UNLOCK TABLES;
  3678. --
  3679. -- Table structure for table `tbl__videotrainingtitle`
  3680. --
  3681. DROP TABLE IF EXISTS `tbl__videotrainingtitle`;
  3682. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3683. /*!50503 SET character_set_client = utf8mb4 */;
  3684. CREATE TABLE `tbl__videotrainingtitle` (
  3685. `id` tinyint NOT NULL AUTO_INCREMENT,
  3686. `type_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3687. `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3688. `created_on` datetime NOT NULL,
  3689. PRIMARY KEY (`id`)
  3690. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3691. /*!40101 SET character_set_client = @saved_cs_client */;
  3692. --
  3693. -- Dumping data for table `tbl__videotrainingtitle`
  3694. --
  3695. LOCK TABLES `tbl__videotrainingtitle` WRITE;
  3696. /*!40000 ALTER TABLE `tbl__videotrainingtitle` DISABLE KEYS */;
  3697. INSERT INTO `tbl__videotrainingtitle` VALUES (1,'base','Base','2020-04-07 17:48:14'),(2,'bronze','Bronze','2020-04-07 17:51:49'),(3,'silverlevel1','Silver level 1','2020-04-07 17:51:49'),(4,'silverlevel2','Silver level 2','2020-04-07 17:51:49'),(5,'goldlevel1','Gold level 1','2020-04-07 17:51:49'),(6,'goldlevel2','Gold level 2','2020-04-07 17:51:49'),(7,'other','Other','2020-04-07 17:51:49');
  3698. /*!40000 ALTER TABLE `tbl__videotrainingtitle` ENABLE KEYS */;
  3699. UNLOCK TABLES;
  3700. --
  3701. -- Table structure for table `tbl__woohoo_category`
  3702. --
  3703. DROP TABLE IF EXISTS `tbl__woohoo_category`;
  3704. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3705. /*!50503 SET character_set_client = utf8mb4 */;
  3706. CREATE TABLE `tbl__woohoo_category` (
  3707. `id` int NOT NULL AUTO_INCREMENT,
  3708. `category_data` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3709. `created_on` datetime NOT NULL,
  3710. `modified_on` datetime NOT NULL,
  3711. PRIMARY KEY (`id`)
  3712. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3713. /*!40101 SET character_set_client = @saved_cs_client */;
  3714. --
  3715. -- Dumping data for table `tbl__woohoo_category`
  3716. --
  3717. LOCK TABLES `tbl__woohoo_category` WRITE;
  3718. /*!40000 ALTER TABLE `tbl__woohoo_category` DISABLE KEYS */;
  3719. INSERT INTO `tbl__woohoo_category` VALUES (1,' ','2021-03-01 14:25:43','2021-03-01 14:25:43');
  3720. /*!40000 ALTER TABLE `tbl__woohoo_category` ENABLE KEYS */;
  3721. UNLOCK TABLES;
  3722. --
  3723. -- Table structure for table `tbl__woohoo_category_details`
  3724. --
  3725. DROP TABLE IF EXISTS `tbl__woohoo_category_details`;
  3726. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3727. /*!50503 SET character_set_client = utf8mb4 */;
  3728. CREATE TABLE `tbl__woohoo_category_details` (
  3729. `id` int NOT NULL AUTO_INCREMENT,
  3730. `cat_id` int NOT NULL,
  3731. `category_data` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3732. `created_on` datetime NOT NULL,
  3733. `modified_on` datetime NOT NULL,
  3734. PRIMARY KEY (`id`),
  3735. KEY `cat_id` (`cat_id`)
  3736. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3737. /*!40101 SET character_set_client = @saved_cs_client */;
  3738. --
  3739. -- Dumping data for table `tbl__woohoo_category_details`
  3740. --
  3741. LOCK TABLES `tbl__woohoo_category_details` WRITE;
  3742. /*!40000 ALTER TABLE `tbl__woohoo_category_details` DISABLE KEYS */;
  3743. INSERT INTO `tbl__woohoo_category_details` VALUES (2,0,' ','2021-03-01 14:25:44','2021-03-01 14:25:44');
  3744. /*!40000 ALTER TABLE `tbl__woohoo_category_details` ENABLE KEYS */;
  3745. UNLOCK TABLES;
  3746. --
  3747. -- Table structure for table `tbl__woohoo_log`
  3748. --
  3749. DROP TABLE IF EXISTS `tbl__woohoo_log`;
  3750. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3751. /*!50503 SET character_set_client = utf8mb4 */;
  3752. CREATE TABLE `tbl__woohoo_log` (
  3753. `id` int NOT NULL AUTO_INCREMENT,
  3754. `userid` int NOT NULL,
  3755. `url` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3756. `request` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3757. `response` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3758. `created_on` datetime NOT NULL,
  3759. PRIMARY KEY (`id`)
  3760. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3761. /*!40101 SET character_set_client = @saved_cs_client */;
  3762. --
  3763. -- Dumping data for table `tbl__woohoo_log`
  3764. --
  3765. LOCK TABLES `tbl__woohoo_log` WRITE;
  3766. /*!40000 ALTER TABLE `tbl__woohoo_log` DISABLE KEYS */;
  3767. /*!40000 ALTER TABLE `tbl__woohoo_log` ENABLE KEYS */;
  3768. UNLOCK TABLES;
  3769. --
  3770. -- Table structure for table `tbl__woohoo_product`
  3771. --
  3772. DROP TABLE IF EXISTS `tbl__woohoo_product`;
  3773. /*!40101 SET @saved_cs_client = @@character_set_client */;
  3774. /*!50503 SET character_set_client = utf8mb4 */;
  3775. CREATE TABLE `tbl__woohoo_product` (
  3776. `id` int NOT NULL AUTO_INCREMENT,
  3777. `product_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3778. `product_data` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  3779. `created_on` datetime NOT NULL,
  3780. `modified_on` datetime NOT NULL,
  3781. PRIMARY KEY (`id`),
  3782. KEY `product_id` (`product_id`)
  3783. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
  3784. /*!40101 SET character_set_client = @saved_cs_client */;
  3785. --
  3786. -- Dumping data for table `tbl__woohoo_product`
  3787. --
  3788. LOCK TABLES `tbl__woohoo_product` WRITE;
  3789. /*!40000 ALTER TABLE `tbl__woohoo_product` DISABLE KEYS */;
  3790. /*!40000 ALTER TABLE `tbl__woohoo_product` ENABLE KEYS */;
  3791. UNLOCK TABLES;
  3792. --
  3793. -- Temporary view structure for view `view__month_sale_data`
  3794. --
  3795. DROP TABLE IF EXISTS `view__month_sale_data`;
  3796. /*!50001 DROP VIEW IF EXISTS `view__month_sale_data`*/;
  3797. SET @saved_cs_client = @@character_set_client;
  3798. /*!50503 SET character_set_client = utf8mb4 */;
  3799. /*!50001 CREATE VIEW `view__month_sale_data` AS SELECT
  3800. 1 AS `smpin`,
  3801. 1 AS `max_sale_date`,
  3802. 1 AS `min_sale_date`,
  3803. 1 AS `total_sale`,
  3804. 1 AS `month_str`*/;
  3805. SET character_set_client = @saved_cs_client;
  3806. --
  3807. -- Temporary view structure for view `view__month_target_data`
  3808. --
  3809. DROP TABLE IF EXISTS `view__month_target_data`;
  3810. /*!50001 DROP VIEW IF EXISTS `view__month_target_data`*/;
  3811. SET @saved_cs_client = @@character_set_client;
  3812. /*!50503 SET character_set_client = utf8mb4 */;
  3813. /*!50001 CREATE VIEW `view__month_target_data` AS SELECT
  3814. 1 AS `smpin`,
  3815. 1 AS `sale_month`,
  3816. 1 AS `total_target`,
  3817. 1 AS `month_str`*/;
  3818. SET character_set_client = @saved_cs_client;
  3819. --
  3820. -- Temporary view structure for view `view_asm_sales`
  3821. --
  3822. DROP TABLE IF EXISTS `view_asm_sales`;
  3823. /*!50001 DROP VIEW IF EXISTS `view_asm_sales`*/;
  3824. SET @saved_cs_client = @@character_set_client;
  3825. /*!50503 SET character_set_client = utf8mb4 */;
  3826. /*!50001 CREATE VIEW `view_asm_sales` AS SELECT
  3827. 1 AS `am_email`,
  3828. 1 AS `sale_date`,
  3829. 1 AS `sales_count`*/;
  3830. SET character_set_client = @saved_cs_client;
  3831. --
  3832. -- Temporary view structure for view `view_asm_salestarget`
  3833. --
  3834. DROP TABLE IF EXISTS `view_asm_salestarget`;
  3835. /*!50001 DROP VIEW IF EXISTS `view_asm_salestarget`*/;
  3836. SET @saved_cs_client = @@character_set_client;
  3837. /*!50503 SET character_set_client = utf8mb4 */;
  3838. /*!50001 CREATE VIEW `view_asm_salestarget` AS SELECT
  3839. 1 AS `am_email`,
  3840. 1 AS `sale_month`,
  3841. 1 AS `target`*/;
  3842. SET character_set_client = @saved_cs_client;
  3843. --
  3844. -- Temporary view structure for view `view_rm_sales`
  3845. --
  3846. DROP TABLE IF EXISTS `view_rm_sales`;
  3847. /*!50001 DROP VIEW IF EXISTS `view_rm_sales`*/;
  3848. SET @saved_cs_client = @@character_set_client;
  3849. /*!50503 SET character_set_client = utf8mb4 */;
  3850. /*!50001 CREATE VIEW `view_rm_sales` AS SELECT
  3851. 1 AS `rm_email`,
  3852. 1 AS `sale_date`,
  3853. 1 AS `sales_count`*/;
  3854. SET character_set_client = @saved_cs_client;
  3855. --
  3856. -- Temporary view structure for view `view_rm_salestarget`
  3857. --
  3858. DROP TABLE IF EXISTS `view_rm_salestarget`;
  3859. /*!50001 DROP VIEW IF EXISTS `view_rm_salestarget`*/;
  3860. SET @saved_cs_client = @@character_set_client;
  3861. /*!50503 SET character_set_client = utf8mb4 */;
  3862. /*!50001 CREATE VIEW `view_rm_salestarget` AS SELECT
  3863. 1 AS `rm_email`,
  3864. 1 AS `sale_month`,
  3865. 1 AS `target`*/;
  3866. SET character_set_client = @saved_cs_client;
  3867. --
  3868. -- Temporary view structure for view `view_zm_sales`
  3869. --
  3870. DROP TABLE IF EXISTS `view_zm_sales`;
  3871. /*!50001 DROP VIEW IF EXISTS `view_zm_sales`*/;
  3872. SET @saved_cs_client = @@character_set_client;
  3873. /*!50503 SET character_set_client = utf8mb4 */;
  3874. /*!50001 CREATE VIEW `view_zm_sales` AS SELECT
  3875. 1 AS `zm_email`,
  3876. 1 AS `sale_date`,
  3877. 1 AS `sales_count`*/;
  3878. SET character_set_client = @saved_cs_client;
  3879. --
  3880. -- Temporary view structure for view `view_zm_salestarget`
  3881. --
  3882. DROP TABLE IF EXISTS `view_zm_salestarget`;
  3883. /*!50001 DROP VIEW IF EXISTS `view_zm_salestarget`*/;
  3884. SET @saved_cs_client = @@character_set_client;
  3885. /*!50503 SET character_set_client = utf8mb4 */;
  3886. /*!50001 CREATE VIEW `view_zm_salestarget` AS SELECT
  3887. 1 AS `zm_email`,
  3888. 1 AS `sale_month`,
  3889. 1 AS `target`*/;
  3890. SET character_set_client = @saved_cs_client;
  3891. --
  3892. -- Temporary view structure for view `view_zone_sales`
  3893. --
  3894. DROP TABLE IF EXISTS `view_zone_sales`;
  3895. /*!50001 DROP VIEW IF EXISTS `view_zone_sales`*/;
  3896. SET @saved_cs_client = @@character_set_client;
  3897. /*!50503 SET character_set_client = utf8mb4 */;
  3898. /*!50001 CREATE VIEW `view_zone_sales` AS SELECT
  3899. 1 AS `zone`,
  3900. 1 AS `sale_date`,
  3901. 1 AS `sales_count`*/;
  3902. SET character_set_client = @saved_cs_client;
  3903. --
  3904. -- Temporary view structure for view `view_zone_salestarget`
  3905. --
  3906. DROP TABLE IF EXISTS `view_zone_salestarget`;
  3907. /*!50001 DROP VIEW IF EXISTS `view_zone_salestarget`*/;
  3908. SET @saved_cs_client = @@character_set_client;
  3909. /*!50503 SET character_set_client = utf8mb4 */;
  3910. /*!50001 CREATE VIEW `view_zone_salestarget` AS SELECT
  3911. 1 AS `zone`,
  3912. 1 AS `sale_month`,
  3913. 1 AS `target`*/;
  3914. SET character_set_client = @saved_cs_client;
  3915. --
  3916. -- Dumping events for database 'dev_hyperm_v2'
  3917. --
  3918. --
  3919. -- Dumping routines for database 'dev_hyperm_v2'
  3920. --
  3921. --
  3922. -- Final view structure for view `view__month_sale_data`
  3923. --
  3924. /*!50001 DROP VIEW IF EXISTS `view__month_sale_data`*/;
  3925. /*!50001 SET @saved_cs_client = @@character_set_client */;
  3926. /*!50001 SET @saved_cs_results = @@character_set_results */;
  3927. /*!50001 SET @saved_col_connection = @@collation_connection */;
  3928. /*!50001 SET character_set_client = utf8 */;
  3929. /*!50001 SET character_set_results = utf8 */;
  3930. /*!50001 SET collation_connection = utf8_general_ci */;
  3931. /*!50001 CREATE ALGORITHM=UNDEFINED */
  3932. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  3933. /*!50001 VIEW `view__month_sale_data` AS select `tbl__dms_employee_sales`.`smpin` AS `smpin`,max(`tbl__dms_employee_sales`.`sale_date`) AS `max_sale_date`,min(`tbl__dms_employee_sales`.`sale_date`) AS `min_sale_date`,sum(`tbl__dms_employee_sales`.`sales_count`) AS `total_sale`,date_format(`tbl__dms_employee_sales`.`sale_date`,'%Y-%m-01') AS `month_str` from `tbl__dms_employee_sales` group by `tbl__dms_employee_sales`.`smpin`,date_format(`tbl__dms_employee_sales`.`sale_date`,'%Y-%m') */;
  3934. /*!50001 SET character_set_client = @saved_cs_client */;
  3935. /*!50001 SET character_set_results = @saved_cs_results */;
  3936. /*!50001 SET collation_connection = @saved_col_connection */;
  3937. --
  3938. -- Final view structure for view `view__month_target_data`
  3939. --
  3940. /*!50001 DROP VIEW IF EXISTS `view__month_target_data`*/;
  3941. /*!50001 SET @saved_cs_client = @@character_set_client */;
  3942. /*!50001 SET @saved_cs_results = @@character_set_results */;
  3943. /*!50001 SET @saved_col_connection = @@collation_connection */;
  3944. /*!50001 SET character_set_client = utf8 */;
  3945. /*!50001 SET character_set_results = utf8 */;
  3946. /*!50001 SET collation_connection = utf8_general_ci */;
  3947. /*!50001 CREATE ALGORITHM=UNDEFINED */
  3948. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  3949. /*!50001 VIEW `view__month_target_data` AS select `tbl__user_saletarget`.`smpin` AS `smpin`,`tbl__user_saletarget`.`sale_month` AS `sale_month`,sum(`tbl__user_saletarget`.`target`) AS `total_target`,date_format(`tbl__user_saletarget`.`sale_month`,'%Y-%m-01') AS `month_str` from `tbl__user_saletarget` group by `tbl__user_saletarget`.`smpin`,date_format(`tbl__user_saletarget`.`sale_month`,'%Y-%m') */;
  3950. /*!50001 SET character_set_client = @saved_cs_client */;
  3951. /*!50001 SET character_set_results = @saved_cs_results */;
  3952. /*!50001 SET collation_connection = @saved_col_connection */;
  3953. --
  3954. -- Final view structure for view `view_asm_sales`
  3955. --
  3956. /*!50001 DROP VIEW IF EXISTS `view_asm_sales`*/;
  3957. /*!50001 SET @saved_cs_client = @@character_set_client */;
  3958. /*!50001 SET @saved_cs_results = @@character_set_results */;
  3959. /*!50001 SET @saved_col_connection = @@collation_connection */;
  3960. /*!50001 SET character_set_client = utf8 */;
  3961. /*!50001 SET character_set_results = utf8 */;
  3962. /*!50001 SET collation_connection = utf8_general_ci */;
  3963. /*!50001 CREATE ALGORITHM=UNDEFINED */
  3964. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  3965. /*!50001 VIEW `view_asm_sales` AS select `d`.`am_email` AS `am_email`,`s`.`sale_date` AS `sale_date`,sum(`s`.`sales_count`) AS `sales_count` from ((`tbl__dms_employee` `e` join `tbl__dms_employee_sales` `s` on((`e`.`smpin` = `s`.`smpin`))) join `tbl__dms_dealer` `d` on((`d`.`dealer_code` = `e`.`dealer_code`))) group by `d`.`am_email`,`s`.`sale_date` */;
  3966. /*!50001 SET character_set_client = @saved_cs_client */;
  3967. /*!50001 SET character_set_results = @saved_cs_results */;
  3968. /*!50001 SET collation_connection = @saved_col_connection */;
  3969. --
  3970. -- Final view structure for view `view_asm_salestarget`
  3971. --
  3972. /*!50001 DROP VIEW IF EXISTS `view_asm_salestarget`*/;
  3973. /*!50001 SET @saved_cs_client = @@character_set_client */;
  3974. /*!50001 SET @saved_cs_results = @@character_set_results */;
  3975. /*!50001 SET @saved_col_connection = @@collation_connection */;
  3976. /*!50001 SET character_set_client = utf8 */;
  3977. /*!50001 SET character_set_results = utf8 */;
  3978. /*!50001 SET collation_connection = utf8_general_ci */;
  3979. /*!50001 CREATE ALGORITHM=UNDEFINED */
  3980. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  3981. /*!50001 VIEW `view_asm_salestarget` AS select `d`.`am_email` AS `am_email`,`s`.`sale_month` AS `sale_month`,sum(`s`.`target`) AS `target` from ((`tbl__dms_employee` `e` join `tbl__user_saletarget` `s` on((`e`.`smpin` = `s`.`smpin`))) join `tbl__dms_dealer` `d` on((`d`.`dealer_code` = `e`.`dealer_code`))) group by `d`.`am_email`,`s`.`sale_month` */;
  3982. /*!50001 SET character_set_client = @saved_cs_client */;
  3983. /*!50001 SET character_set_results = @saved_cs_results */;
  3984. /*!50001 SET collation_connection = @saved_col_connection */;
  3985. --
  3986. -- Final view structure for view `view_rm_sales`
  3987. --
  3988. /*!50001 DROP VIEW IF EXISTS `view_rm_sales`*/;
  3989. /*!50001 SET @saved_cs_client = @@character_set_client */;
  3990. /*!50001 SET @saved_cs_results = @@character_set_results */;
  3991. /*!50001 SET @saved_col_connection = @@collation_connection */;
  3992. /*!50001 SET character_set_client = utf8 */;
  3993. /*!50001 SET character_set_results = utf8 */;
  3994. /*!50001 SET collation_connection = utf8_general_ci */;
  3995. /*!50001 CREATE ALGORITHM=UNDEFINED */
  3996. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  3997. /*!50001 VIEW `view_rm_sales` AS select `d`.`rm_email` AS `rm_email`,`s`.`sale_date` AS `sale_date`,sum(`s`.`sales_count`) AS `sales_count` from ((`tbl__dms_employee` `e` join `tbl__dms_employee_sales` `s` on((`e`.`smpin` = `s`.`smpin`))) join `tbl__dms_dealer` `d` on((`d`.`dealer_code` = `e`.`dealer_code`))) group by `d`.`rm_email`,`s`.`sale_date` */;
  3998. /*!50001 SET character_set_client = @saved_cs_client */;
  3999. /*!50001 SET character_set_results = @saved_cs_results */;
  4000. /*!50001 SET collation_connection = @saved_col_connection */;
  4001. --
  4002. -- Final view structure for view `view_rm_salestarget`
  4003. --
  4004. /*!50001 DROP VIEW IF EXISTS `view_rm_salestarget`*/;
  4005. /*!50001 SET @saved_cs_client = @@character_set_client */;
  4006. /*!50001 SET @saved_cs_results = @@character_set_results */;
  4007. /*!50001 SET @saved_col_connection = @@collation_connection */;
  4008. /*!50001 SET character_set_client = utf8 */;
  4009. /*!50001 SET character_set_results = utf8 */;
  4010. /*!50001 SET collation_connection = utf8_general_ci */;
  4011. /*!50001 CREATE ALGORITHM=UNDEFINED */
  4012. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  4013. /*!50001 VIEW `view_rm_salestarget` AS select `d`.`rm_email` AS `rm_email`,`s`.`sale_month` AS `sale_month`,sum(`s`.`target`) AS `target` from ((`tbl__dms_employee` `e` join `tbl__user_saletarget` `s` on((`e`.`smpin` = `s`.`smpin`))) join `tbl__dms_dealer` `d` on((`d`.`dealer_code` = `e`.`dealer_code`))) group by `d`.`rm_email`,`s`.`sale_month` */;
  4014. /*!50001 SET character_set_client = @saved_cs_client */;
  4015. /*!50001 SET character_set_results = @saved_cs_results */;
  4016. /*!50001 SET collation_connection = @saved_col_connection */;
  4017. --
  4018. -- Final view structure for view `view_zm_sales`
  4019. --
  4020. /*!50001 DROP VIEW IF EXISTS `view_zm_sales`*/;
  4021. /*!50001 SET @saved_cs_client = @@character_set_client */;
  4022. /*!50001 SET @saved_cs_results = @@character_set_results */;
  4023. /*!50001 SET @saved_col_connection = @@collation_connection */;
  4024. /*!50001 SET character_set_client = utf8 */;
  4025. /*!50001 SET character_set_results = utf8 */;
  4026. /*!50001 SET collation_connection = utf8_general_ci */;
  4027. /*!50001 CREATE ALGORITHM=UNDEFINED */
  4028. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  4029. /*!50001 VIEW `view_zm_sales` AS select `d`.`zm_email` AS `zm_email`,`s`.`sale_date` AS `sale_date`,sum(`s`.`sales_count`) AS `sales_count` from ((`tbl__dms_employee` `e` join `tbl__dms_employee_sales` `s` on((`e`.`smpin` = `s`.`smpin`))) join `tbl__dms_dealer` `d` on((`d`.`dealer_code` = `e`.`dealer_code`))) group by `d`.`zm_email`,`s`.`sale_date` */;
  4030. /*!50001 SET character_set_client = @saved_cs_client */;
  4031. /*!50001 SET character_set_results = @saved_cs_results */;
  4032. /*!50001 SET collation_connection = @saved_col_connection */;
  4033. --
  4034. -- Final view structure for view `view_zm_salestarget`
  4035. --
  4036. /*!50001 DROP VIEW IF EXISTS `view_zm_salestarget`*/;
  4037. /*!50001 SET @saved_cs_client = @@character_set_client */;
  4038. /*!50001 SET @saved_cs_results = @@character_set_results */;
  4039. /*!50001 SET @saved_col_connection = @@collation_connection */;
  4040. /*!50001 SET character_set_client = utf8 */;
  4041. /*!50001 SET character_set_results = utf8 */;
  4042. /*!50001 SET collation_connection = utf8_general_ci */;
  4043. /*!50001 CREATE ALGORITHM=UNDEFINED */
  4044. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  4045. /*!50001 VIEW `view_zm_salestarget` AS select `d`.`zm_email` AS `zm_email`,`s`.`sale_month` AS `sale_month`,sum(`s`.`target`) AS `target` from ((`tbl__dms_employee` `e` join `tbl__user_saletarget` `s` on((`e`.`smpin` = `s`.`smpin`))) join `tbl__dms_dealer` `d` on((`d`.`dealer_code` = `e`.`dealer_code`))) group by `d`.`zm_email`,`s`.`sale_month` */;
  4046. /*!50001 SET character_set_client = @saved_cs_client */;
  4047. /*!50001 SET character_set_results = @saved_cs_results */;
  4048. /*!50001 SET collation_connection = @saved_col_connection */;
  4049. --
  4050. -- Final view structure for view `view_zone_sales`
  4051. --
  4052. /*!50001 DROP VIEW IF EXISTS `view_zone_sales`*/;
  4053. /*!50001 SET @saved_cs_client = @@character_set_client */;
  4054. /*!50001 SET @saved_cs_results = @@character_set_results */;
  4055. /*!50001 SET @saved_col_connection = @@collation_connection */;
  4056. /*!50001 SET character_set_client = utf8 */;
  4057. /*!50001 SET character_set_results = utf8 */;
  4058. /*!50001 SET collation_connection = utf8_general_ci */;
  4059. /*!50001 CREATE ALGORITHM=UNDEFINED */
  4060. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  4061. /*!50001 VIEW `view_zone_sales` AS select `d`.`zone` AS `zone`,`s`.`sale_date` AS `sale_date`,sum(`s`.`sales_count`) AS `sales_count` from ((`tbl__dms_employee` `e` join `tbl__dms_employee_sales` `s` on((`e`.`smpin` = `s`.`smpin`))) join `tbl__dms_dealer` `d` on((`d`.`dealer_code` = `e`.`dealer_code`))) group by `d`.`zone`,`s`.`sale_date` */;
  4062. /*!50001 SET character_set_client = @saved_cs_client */;
  4063. /*!50001 SET character_set_results = @saved_cs_results */;
  4064. /*!50001 SET collation_connection = @saved_col_connection */;
  4065. --
  4066. -- Final view structure for view `view_zone_salestarget`
  4067. --
  4068. /*!50001 DROP VIEW IF EXISTS `view_zone_salestarget`*/;
  4069. /*!50001 SET @saved_cs_client = @@character_set_client */;
  4070. /*!50001 SET @saved_cs_results = @@character_set_results */;
  4071. /*!50001 SET @saved_col_connection = @@collation_connection */;
  4072. /*!50001 SET character_set_client = utf8 */;
  4073. /*!50001 SET character_set_results = utf8 */;
  4074. /*!50001 SET collation_connection = utf8_general_ci */;
  4075. /*!50001 CREATE ALGORITHM=UNDEFINED */
  4076. /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
  4077. /*!50001 VIEW `view_zone_salestarget` AS select `d`.`zone` AS `zone`,`s`.`sale_month` AS `sale_month`,sum(`s`.`target`) AS `target` from ((`tbl__dms_employee` `e` join `tbl__user_saletarget` `s` on((`e`.`smpin` = `s`.`smpin`))) join `tbl__dms_dealer` `d` on((`d`.`dealer_code` = `e`.`dealer_code`))) group by `d`.`zone`,`s`.`sale_month` */;
  4078. /*!50001 SET character_set_client = @saved_cs_client */;
  4079. /*!50001 SET character_set_results = @saved_cs_results */;
  4080. /*!50001 SET collation_connection = @saved_col_connection */;
  4081. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  4082. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  4083. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  4084. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  4085. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  4086. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  4087. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  4088. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  4089. -- Dump completed on 2021-05-30 16:04:59