1e09a6f5-c562-4514-a27d-37e0d8ac0291.xml 181 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <dataSource name="api_niubiyun_xyz@158.247.203.230">
  3. <database-model serializer="dbm" dbms="MYSQL" family-id="MYSQL" format-version="4.53">
  4. <root id="1">
  5. <DefaultCasing>exact</DefaultCasing>
  6. <DefaultEngine>InnoDB</DefaultEngine>
  7. <DefaultTmpEngine>InnoDB</DefaultTmpEngine>
  8. <Grants>api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|ALTER|G
  9. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|ALTER ROUTINE|G
  10. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|CREATE|G
  11. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|CREATE ROUTINE|G
  12. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|CREATE TEMPORARY TABLES|G
  13. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|CREATE VIEW|G
  14. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|DELETE|G
  15. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|DROP|G
  16. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|EVENT|G
  17. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|EXECUTE|G
  18. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|INDEX|G
  19. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|INSERT|G
  20. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|LOCK TABLES|G
  21. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|REFERENCES|G
  22. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|SELECT|G
  23. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|SHOW VIEW|G
  24. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|TRIGGER|G
  25. api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|UPDATE|G</Grants>
  26. <ServerVersion>5.7.43</ServerVersion>
  27. </root>
  28. <collation id="2" parent="1" name="armscii8_bin">
  29. <Charset>armscii8</Charset>
  30. </collation>
  31. <collation id="3" parent="1" name="armscii8_general_ci">
  32. <Charset>armscii8</Charset>
  33. <DefaultForCharset>1</DefaultForCharset>
  34. </collation>
  35. <collation id="4" parent="1" name="ascii_bin">
  36. <Charset>ascii</Charset>
  37. </collation>
  38. <collation id="5" parent="1" name="ascii_general_ci">
  39. <Charset>ascii</Charset>
  40. <DefaultForCharset>1</DefaultForCharset>
  41. </collation>
  42. <collation id="6" parent="1" name="big5_bin">
  43. <Charset>big5</Charset>
  44. </collation>
  45. <collation id="7" parent="1" name="big5_chinese_ci">
  46. <Charset>big5</Charset>
  47. <DefaultForCharset>1</DefaultForCharset>
  48. </collation>
  49. <collation id="8" parent="1" name="binary">
  50. <Charset>binary</Charset>
  51. <DefaultForCharset>1</DefaultForCharset>
  52. </collation>
  53. <collation id="9" parent="1" name="cp1250_bin">
  54. <Charset>cp1250</Charset>
  55. </collation>
  56. <collation id="10" parent="1" name="cp1250_croatian_ci">
  57. <Charset>cp1250</Charset>
  58. </collation>
  59. <collation id="11" parent="1" name="cp1250_czech_cs">
  60. <Charset>cp1250</Charset>
  61. </collation>
  62. <collation id="12" parent="1" name="cp1250_general_ci">
  63. <Charset>cp1250</Charset>
  64. <DefaultForCharset>1</DefaultForCharset>
  65. </collation>
  66. <collation id="13" parent="1" name="cp1250_polish_ci">
  67. <Charset>cp1250</Charset>
  68. </collation>
  69. <collation id="14" parent="1" name="cp1251_bin">
  70. <Charset>cp1251</Charset>
  71. </collation>
  72. <collation id="15" parent="1" name="cp1251_bulgarian_ci">
  73. <Charset>cp1251</Charset>
  74. </collation>
  75. <collation id="16" parent="1" name="cp1251_general_ci">
  76. <Charset>cp1251</Charset>
  77. <DefaultForCharset>1</DefaultForCharset>
  78. </collation>
  79. <collation id="17" parent="1" name="cp1251_general_cs">
  80. <Charset>cp1251</Charset>
  81. </collation>
  82. <collation id="18" parent="1" name="cp1251_ukrainian_ci">
  83. <Charset>cp1251</Charset>
  84. </collation>
  85. <collation id="19" parent="1" name="cp1256_bin">
  86. <Charset>cp1256</Charset>
  87. </collation>
  88. <collation id="20" parent="1" name="cp1256_general_ci">
  89. <Charset>cp1256</Charset>
  90. <DefaultForCharset>1</DefaultForCharset>
  91. </collation>
  92. <collation id="21" parent="1" name="cp1257_bin">
  93. <Charset>cp1257</Charset>
  94. </collation>
  95. <collation id="22" parent="1" name="cp1257_general_ci">
  96. <Charset>cp1257</Charset>
  97. <DefaultForCharset>1</DefaultForCharset>
  98. </collation>
  99. <collation id="23" parent="1" name="cp1257_lithuanian_ci">
  100. <Charset>cp1257</Charset>
  101. </collation>
  102. <collation id="24" parent="1" name="cp850_bin">
  103. <Charset>cp850</Charset>
  104. </collation>
  105. <collation id="25" parent="1" name="cp850_general_ci">
  106. <Charset>cp850</Charset>
  107. <DefaultForCharset>1</DefaultForCharset>
  108. </collation>
  109. <collation id="26" parent="1" name="cp852_bin">
  110. <Charset>cp852</Charset>
  111. </collation>
  112. <collation id="27" parent="1" name="cp852_general_ci">
  113. <Charset>cp852</Charset>
  114. <DefaultForCharset>1</DefaultForCharset>
  115. </collation>
  116. <collation id="28" parent="1" name="cp866_bin">
  117. <Charset>cp866</Charset>
  118. </collation>
  119. <collation id="29" parent="1" name="cp866_general_ci">
  120. <Charset>cp866</Charset>
  121. <DefaultForCharset>1</DefaultForCharset>
  122. </collation>
  123. <collation id="30" parent="1" name="cp932_bin">
  124. <Charset>cp932</Charset>
  125. </collation>
  126. <collation id="31" parent="1" name="cp932_japanese_ci">
  127. <Charset>cp932</Charset>
  128. <DefaultForCharset>1</DefaultForCharset>
  129. </collation>
  130. <collation id="32" parent="1" name="dec8_bin">
  131. <Charset>dec8</Charset>
  132. </collation>
  133. <collation id="33" parent="1" name="dec8_swedish_ci">
  134. <Charset>dec8</Charset>
  135. <DefaultForCharset>1</DefaultForCharset>
  136. </collation>
  137. <collation id="34" parent="1" name="eucjpms_bin">
  138. <Charset>eucjpms</Charset>
  139. </collation>
  140. <collation id="35" parent="1" name="eucjpms_japanese_ci">
  141. <Charset>eucjpms</Charset>
  142. <DefaultForCharset>1</DefaultForCharset>
  143. </collation>
  144. <collation id="36" parent="1" name="euckr_bin">
  145. <Charset>euckr</Charset>
  146. </collation>
  147. <collation id="37" parent="1" name="euckr_korean_ci">
  148. <Charset>euckr</Charset>
  149. <DefaultForCharset>1</DefaultForCharset>
  150. </collation>
  151. <collation id="38" parent="1" name="gb18030_bin">
  152. <Charset>gb18030</Charset>
  153. </collation>
  154. <collation id="39" parent="1" name="gb18030_chinese_ci">
  155. <Charset>gb18030</Charset>
  156. <DefaultForCharset>1</DefaultForCharset>
  157. </collation>
  158. <collation id="40" parent="1" name="gb18030_unicode_520_ci">
  159. <Charset>gb18030</Charset>
  160. </collation>
  161. <collation id="41" parent="1" name="gb2312_bin">
  162. <Charset>gb2312</Charset>
  163. </collation>
  164. <collation id="42" parent="1" name="gb2312_chinese_ci">
  165. <Charset>gb2312</Charset>
  166. <DefaultForCharset>1</DefaultForCharset>
  167. </collation>
  168. <collation id="43" parent="1" name="gbk_bin">
  169. <Charset>gbk</Charset>
  170. </collation>
  171. <collation id="44" parent="1" name="gbk_chinese_ci">
  172. <Charset>gbk</Charset>
  173. <DefaultForCharset>1</DefaultForCharset>
  174. </collation>
  175. <collation id="45" parent="1" name="geostd8_bin">
  176. <Charset>geostd8</Charset>
  177. </collation>
  178. <collation id="46" parent="1" name="geostd8_general_ci">
  179. <Charset>geostd8</Charset>
  180. <DefaultForCharset>1</DefaultForCharset>
  181. </collation>
  182. <collation id="47" parent="1" name="greek_bin">
  183. <Charset>greek</Charset>
  184. </collation>
  185. <collation id="48" parent="1" name="greek_general_ci">
  186. <Charset>greek</Charset>
  187. <DefaultForCharset>1</DefaultForCharset>
  188. </collation>
  189. <collation id="49" parent="1" name="hebrew_bin">
  190. <Charset>hebrew</Charset>
  191. </collation>
  192. <collation id="50" parent="1" name="hebrew_general_ci">
  193. <Charset>hebrew</Charset>
  194. <DefaultForCharset>1</DefaultForCharset>
  195. </collation>
  196. <collation id="51" parent="1" name="hp8_bin">
  197. <Charset>hp8</Charset>
  198. </collation>
  199. <collation id="52" parent="1" name="hp8_english_ci">
  200. <Charset>hp8</Charset>
  201. <DefaultForCharset>1</DefaultForCharset>
  202. </collation>
  203. <collation id="53" parent="1" name="keybcs2_bin">
  204. <Charset>keybcs2</Charset>
  205. </collation>
  206. <collation id="54" parent="1" name="keybcs2_general_ci">
  207. <Charset>keybcs2</Charset>
  208. <DefaultForCharset>1</DefaultForCharset>
  209. </collation>
  210. <collation id="55" parent="1" name="koi8r_bin">
  211. <Charset>koi8r</Charset>
  212. </collation>
  213. <collation id="56" parent="1" name="koi8r_general_ci">
  214. <Charset>koi8r</Charset>
  215. <DefaultForCharset>1</DefaultForCharset>
  216. </collation>
  217. <collation id="57" parent="1" name="koi8u_bin">
  218. <Charset>koi8u</Charset>
  219. </collation>
  220. <collation id="58" parent="1" name="koi8u_general_ci">
  221. <Charset>koi8u</Charset>
  222. <DefaultForCharset>1</DefaultForCharset>
  223. </collation>
  224. <collation id="59" parent="1" name="latin1_bin">
  225. <Charset>latin1</Charset>
  226. </collation>
  227. <collation id="60" parent="1" name="latin1_danish_ci">
  228. <Charset>latin1</Charset>
  229. </collation>
  230. <collation id="61" parent="1" name="latin1_general_ci">
  231. <Charset>latin1</Charset>
  232. </collation>
  233. <collation id="62" parent="1" name="latin1_general_cs">
  234. <Charset>latin1</Charset>
  235. </collation>
  236. <collation id="63" parent="1" name="latin1_german1_ci">
  237. <Charset>latin1</Charset>
  238. </collation>
  239. <collation id="64" parent="1" name="latin1_german2_ci">
  240. <Charset>latin1</Charset>
  241. </collation>
  242. <collation id="65" parent="1" name="latin1_spanish_ci">
  243. <Charset>latin1</Charset>
  244. </collation>
  245. <collation id="66" parent="1" name="latin1_swedish_ci">
  246. <Charset>latin1</Charset>
  247. <DefaultForCharset>1</DefaultForCharset>
  248. </collation>
  249. <collation id="67" parent="1" name="latin2_bin">
  250. <Charset>latin2</Charset>
  251. </collation>
  252. <collation id="68" parent="1" name="latin2_croatian_ci">
  253. <Charset>latin2</Charset>
  254. </collation>
  255. <collation id="69" parent="1" name="latin2_czech_cs">
  256. <Charset>latin2</Charset>
  257. </collation>
  258. <collation id="70" parent="1" name="latin2_general_ci">
  259. <Charset>latin2</Charset>
  260. <DefaultForCharset>1</DefaultForCharset>
  261. </collation>
  262. <collation id="71" parent="1" name="latin2_hungarian_ci">
  263. <Charset>latin2</Charset>
  264. </collation>
  265. <collation id="72" parent="1" name="latin5_bin">
  266. <Charset>latin5</Charset>
  267. </collation>
  268. <collation id="73" parent="1" name="latin5_turkish_ci">
  269. <Charset>latin5</Charset>
  270. <DefaultForCharset>1</DefaultForCharset>
  271. </collation>
  272. <collation id="74" parent="1" name="latin7_bin">
  273. <Charset>latin7</Charset>
  274. </collation>
  275. <collation id="75" parent="1" name="latin7_estonian_cs">
  276. <Charset>latin7</Charset>
  277. </collation>
  278. <collation id="76" parent="1" name="latin7_general_ci">
  279. <Charset>latin7</Charset>
  280. <DefaultForCharset>1</DefaultForCharset>
  281. </collation>
  282. <collation id="77" parent="1" name="latin7_general_cs">
  283. <Charset>latin7</Charset>
  284. </collation>
  285. <collation id="78" parent="1" name="macce_bin">
  286. <Charset>macce</Charset>
  287. </collation>
  288. <collation id="79" parent="1" name="macce_general_ci">
  289. <Charset>macce</Charset>
  290. <DefaultForCharset>1</DefaultForCharset>
  291. </collation>
  292. <collation id="80" parent="1" name="macroman_bin">
  293. <Charset>macroman</Charset>
  294. </collation>
  295. <collation id="81" parent="1" name="macroman_general_ci">
  296. <Charset>macroman</Charset>
  297. <DefaultForCharset>1</DefaultForCharset>
  298. </collation>
  299. <collation id="82" parent="1" name="sjis_bin">
  300. <Charset>sjis</Charset>
  301. </collation>
  302. <collation id="83" parent="1" name="sjis_japanese_ci">
  303. <Charset>sjis</Charset>
  304. <DefaultForCharset>1</DefaultForCharset>
  305. </collation>
  306. <collation id="84" parent="1" name="swe7_bin">
  307. <Charset>swe7</Charset>
  308. </collation>
  309. <collation id="85" parent="1" name="swe7_swedish_ci">
  310. <Charset>swe7</Charset>
  311. <DefaultForCharset>1</DefaultForCharset>
  312. </collation>
  313. <collation id="86" parent="1" name="tis620_bin">
  314. <Charset>tis620</Charset>
  315. </collation>
  316. <collation id="87" parent="1" name="tis620_thai_ci">
  317. <Charset>tis620</Charset>
  318. <DefaultForCharset>1</DefaultForCharset>
  319. </collation>
  320. <collation id="88" parent="1" name="ucs2_bin">
  321. <Charset>ucs2</Charset>
  322. </collation>
  323. <collation id="89" parent="1" name="ucs2_croatian_ci">
  324. <Charset>ucs2</Charset>
  325. </collation>
  326. <collation id="90" parent="1" name="ucs2_czech_ci">
  327. <Charset>ucs2</Charset>
  328. </collation>
  329. <collation id="91" parent="1" name="ucs2_danish_ci">
  330. <Charset>ucs2</Charset>
  331. </collation>
  332. <collation id="92" parent="1" name="ucs2_esperanto_ci">
  333. <Charset>ucs2</Charset>
  334. </collation>
  335. <collation id="93" parent="1" name="ucs2_estonian_ci">
  336. <Charset>ucs2</Charset>
  337. </collation>
  338. <collation id="94" parent="1" name="ucs2_general_ci">
  339. <Charset>ucs2</Charset>
  340. <DefaultForCharset>1</DefaultForCharset>
  341. </collation>
  342. <collation id="95" parent="1" name="ucs2_general_mysql500_ci">
  343. <Charset>ucs2</Charset>
  344. </collation>
  345. <collation id="96" parent="1" name="ucs2_german2_ci">
  346. <Charset>ucs2</Charset>
  347. </collation>
  348. <collation id="97" parent="1" name="ucs2_hungarian_ci">
  349. <Charset>ucs2</Charset>
  350. </collation>
  351. <collation id="98" parent="1" name="ucs2_icelandic_ci">
  352. <Charset>ucs2</Charset>
  353. </collation>
  354. <collation id="99" parent="1" name="ucs2_latvian_ci">
  355. <Charset>ucs2</Charset>
  356. </collation>
  357. <collation id="100" parent="1" name="ucs2_lithuanian_ci">
  358. <Charset>ucs2</Charset>
  359. </collation>
  360. <collation id="101" parent="1" name="ucs2_persian_ci">
  361. <Charset>ucs2</Charset>
  362. </collation>
  363. <collation id="102" parent="1" name="ucs2_polish_ci">
  364. <Charset>ucs2</Charset>
  365. </collation>
  366. <collation id="103" parent="1" name="ucs2_roman_ci">
  367. <Charset>ucs2</Charset>
  368. </collation>
  369. <collation id="104" parent="1" name="ucs2_romanian_ci">
  370. <Charset>ucs2</Charset>
  371. </collation>
  372. <collation id="105" parent="1" name="ucs2_sinhala_ci">
  373. <Charset>ucs2</Charset>
  374. </collation>
  375. <collation id="106" parent="1" name="ucs2_slovak_ci">
  376. <Charset>ucs2</Charset>
  377. </collation>
  378. <collation id="107" parent="1" name="ucs2_slovenian_ci">
  379. <Charset>ucs2</Charset>
  380. </collation>
  381. <collation id="108" parent="1" name="ucs2_spanish2_ci">
  382. <Charset>ucs2</Charset>
  383. </collation>
  384. <collation id="109" parent="1" name="ucs2_spanish_ci">
  385. <Charset>ucs2</Charset>
  386. </collation>
  387. <collation id="110" parent="1" name="ucs2_swedish_ci">
  388. <Charset>ucs2</Charset>
  389. </collation>
  390. <collation id="111" parent="1" name="ucs2_turkish_ci">
  391. <Charset>ucs2</Charset>
  392. </collation>
  393. <collation id="112" parent="1" name="ucs2_unicode_520_ci">
  394. <Charset>ucs2</Charset>
  395. </collation>
  396. <collation id="113" parent="1" name="ucs2_unicode_ci">
  397. <Charset>ucs2</Charset>
  398. </collation>
  399. <collation id="114" parent="1" name="ucs2_vietnamese_ci">
  400. <Charset>ucs2</Charset>
  401. </collation>
  402. <collation id="115" parent="1" name="ujis_bin">
  403. <Charset>ujis</Charset>
  404. </collation>
  405. <collation id="116" parent="1" name="ujis_japanese_ci">
  406. <Charset>ujis</Charset>
  407. <DefaultForCharset>1</DefaultForCharset>
  408. </collation>
  409. <collation id="117" parent="1" name="utf16_bin">
  410. <Charset>utf16</Charset>
  411. </collation>
  412. <collation id="118" parent="1" name="utf16_croatian_ci">
  413. <Charset>utf16</Charset>
  414. </collation>
  415. <collation id="119" parent="1" name="utf16_czech_ci">
  416. <Charset>utf16</Charset>
  417. </collation>
  418. <collation id="120" parent="1" name="utf16_danish_ci">
  419. <Charset>utf16</Charset>
  420. </collation>
  421. <collation id="121" parent="1" name="utf16_esperanto_ci">
  422. <Charset>utf16</Charset>
  423. </collation>
  424. <collation id="122" parent="1" name="utf16_estonian_ci">
  425. <Charset>utf16</Charset>
  426. </collation>
  427. <collation id="123" parent="1" name="utf16_general_ci">
  428. <Charset>utf16</Charset>
  429. <DefaultForCharset>1</DefaultForCharset>
  430. </collation>
  431. <collation id="124" parent="1" name="utf16_german2_ci">
  432. <Charset>utf16</Charset>
  433. </collation>
  434. <collation id="125" parent="1" name="utf16_hungarian_ci">
  435. <Charset>utf16</Charset>
  436. </collation>
  437. <collation id="126" parent="1" name="utf16_icelandic_ci">
  438. <Charset>utf16</Charset>
  439. </collation>
  440. <collation id="127" parent="1" name="utf16_latvian_ci">
  441. <Charset>utf16</Charset>
  442. </collation>
  443. <collation id="128" parent="1" name="utf16_lithuanian_ci">
  444. <Charset>utf16</Charset>
  445. </collation>
  446. <collation id="129" parent="1" name="utf16_persian_ci">
  447. <Charset>utf16</Charset>
  448. </collation>
  449. <collation id="130" parent="1" name="utf16_polish_ci">
  450. <Charset>utf16</Charset>
  451. </collation>
  452. <collation id="131" parent="1" name="utf16_roman_ci">
  453. <Charset>utf16</Charset>
  454. </collation>
  455. <collation id="132" parent="1" name="utf16_romanian_ci">
  456. <Charset>utf16</Charset>
  457. </collation>
  458. <collation id="133" parent="1" name="utf16_sinhala_ci">
  459. <Charset>utf16</Charset>
  460. </collation>
  461. <collation id="134" parent="1" name="utf16_slovak_ci">
  462. <Charset>utf16</Charset>
  463. </collation>
  464. <collation id="135" parent="1" name="utf16_slovenian_ci">
  465. <Charset>utf16</Charset>
  466. </collation>
  467. <collation id="136" parent="1" name="utf16_spanish2_ci">
  468. <Charset>utf16</Charset>
  469. </collation>
  470. <collation id="137" parent="1" name="utf16_spanish_ci">
  471. <Charset>utf16</Charset>
  472. </collation>
  473. <collation id="138" parent="1" name="utf16_swedish_ci">
  474. <Charset>utf16</Charset>
  475. </collation>
  476. <collation id="139" parent="1" name="utf16_turkish_ci">
  477. <Charset>utf16</Charset>
  478. </collation>
  479. <collation id="140" parent="1" name="utf16_unicode_520_ci">
  480. <Charset>utf16</Charset>
  481. </collation>
  482. <collation id="141" parent="1" name="utf16_unicode_ci">
  483. <Charset>utf16</Charset>
  484. </collation>
  485. <collation id="142" parent="1" name="utf16_vietnamese_ci">
  486. <Charset>utf16</Charset>
  487. </collation>
  488. <collation id="143" parent="1" name="utf16le_bin">
  489. <Charset>utf16le</Charset>
  490. </collation>
  491. <collation id="144" parent="1" name="utf16le_general_ci">
  492. <Charset>utf16le</Charset>
  493. <DefaultForCharset>1</DefaultForCharset>
  494. </collation>
  495. <collation id="145" parent="1" name="utf32_bin">
  496. <Charset>utf32</Charset>
  497. </collation>
  498. <collation id="146" parent="1" name="utf32_croatian_ci">
  499. <Charset>utf32</Charset>
  500. </collation>
  501. <collation id="147" parent="1" name="utf32_czech_ci">
  502. <Charset>utf32</Charset>
  503. </collation>
  504. <collation id="148" parent="1" name="utf32_danish_ci">
  505. <Charset>utf32</Charset>
  506. </collation>
  507. <collation id="149" parent="1" name="utf32_esperanto_ci">
  508. <Charset>utf32</Charset>
  509. </collation>
  510. <collation id="150" parent="1" name="utf32_estonian_ci">
  511. <Charset>utf32</Charset>
  512. </collation>
  513. <collation id="151" parent="1" name="utf32_general_ci">
  514. <Charset>utf32</Charset>
  515. <DefaultForCharset>1</DefaultForCharset>
  516. </collation>
  517. <collation id="152" parent="1" name="utf32_german2_ci">
  518. <Charset>utf32</Charset>
  519. </collation>
  520. <collation id="153" parent="1" name="utf32_hungarian_ci">
  521. <Charset>utf32</Charset>
  522. </collation>
  523. <collation id="154" parent="1" name="utf32_icelandic_ci">
  524. <Charset>utf32</Charset>
  525. </collation>
  526. <collation id="155" parent="1" name="utf32_latvian_ci">
  527. <Charset>utf32</Charset>
  528. </collation>
  529. <collation id="156" parent="1" name="utf32_lithuanian_ci">
  530. <Charset>utf32</Charset>
  531. </collation>
  532. <collation id="157" parent="1" name="utf32_persian_ci">
  533. <Charset>utf32</Charset>
  534. </collation>
  535. <collation id="158" parent="1" name="utf32_polish_ci">
  536. <Charset>utf32</Charset>
  537. </collation>
  538. <collation id="159" parent="1" name="utf32_roman_ci">
  539. <Charset>utf32</Charset>
  540. </collation>
  541. <collation id="160" parent="1" name="utf32_romanian_ci">
  542. <Charset>utf32</Charset>
  543. </collation>
  544. <collation id="161" parent="1" name="utf32_sinhala_ci">
  545. <Charset>utf32</Charset>
  546. </collation>
  547. <collation id="162" parent="1" name="utf32_slovak_ci">
  548. <Charset>utf32</Charset>
  549. </collation>
  550. <collation id="163" parent="1" name="utf32_slovenian_ci">
  551. <Charset>utf32</Charset>
  552. </collation>
  553. <collation id="164" parent="1" name="utf32_spanish2_ci">
  554. <Charset>utf32</Charset>
  555. </collation>
  556. <collation id="165" parent="1" name="utf32_spanish_ci">
  557. <Charset>utf32</Charset>
  558. </collation>
  559. <collation id="166" parent="1" name="utf32_swedish_ci">
  560. <Charset>utf32</Charset>
  561. </collation>
  562. <collation id="167" parent="1" name="utf32_turkish_ci">
  563. <Charset>utf32</Charset>
  564. </collation>
  565. <collation id="168" parent="1" name="utf32_unicode_520_ci">
  566. <Charset>utf32</Charset>
  567. </collation>
  568. <collation id="169" parent="1" name="utf32_unicode_ci">
  569. <Charset>utf32</Charset>
  570. </collation>
  571. <collation id="170" parent="1" name="utf32_vietnamese_ci">
  572. <Charset>utf32</Charset>
  573. </collation>
  574. <collation id="171" parent="1" name="utf8_bin">
  575. <Charset>utf8</Charset>
  576. </collation>
  577. <collation id="172" parent="1" name="utf8_croatian_ci">
  578. <Charset>utf8</Charset>
  579. </collation>
  580. <collation id="173" parent="1" name="utf8_czech_ci">
  581. <Charset>utf8</Charset>
  582. </collation>
  583. <collation id="174" parent="1" name="utf8_danish_ci">
  584. <Charset>utf8</Charset>
  585. </collation>
  586. <collation id="175" parent="1" name="utf8_esperanto_ci">
  587. <Charset>utf8</Charset>
  588. </collation>
  589. <collation id="176" parent="1" name="utf8_estonian_ci">
  590. <Charset>utf8</Charset>
  591. </collation>
  592. <collation id="177" parent="1" name="utf8_general_ci">
  593. <Charset>utf8</Charset>
  594. <DefaultForCharset>1</DefaultForCharset>
  595. </collation>
  596. <collation id="178" parent="1" name="utf8_general_mysql500_ci">
  597. <Charset>utf8</Charset>
  598. </collation>
  599. <collation id="179" parent="1" name="utf8_german2_ci">
  600. <Charset>utf8</Charset>
  601. </collation>
  602. <collation id="180" parent="1" name="utf8_hungarian_ci">
  603. <Charset>utf8</Charset>
  604. </collation>
  605. <collation id="181" parent="1" name="utf8_icelandic_ci">
  606. <Charset>utf8</Charset>
  607. </collation>
  608. <collation id="182" parent="1" name="utf8_latvian_ci">
  609. <Charset>utf8</Charset>
  610. </collation>
  611. <collation id="183" parent="1" name="utf8_lithuanian_ci">
  612. <Charset>utf8</Charset>
  613. </collation>
  614. <collation id="184" parent="1" name="utf8_persian_ci">
  615. <Charset>utf8</Charset>
  616. </collation>
  617. <collation id="185" parent="1" name="utf8_polish_ci">
  618. <Charset>utf8</Charset>
  619. </collation>
  620. <collation id="186" parent="1" name="utf8_roman_ci">
  621. <Charset>utf8</Charset>
  622. </collation>
  623. <collation id="187" parent="1" name="utf8_romanian_ci">
  624. <Charset>utf8</Charset>
  625. </collation>
  626. <collation id="188" parent="1" name="utf8_sinhala_ci">
  627. <Charset>utf8</Charset>
  628. </collation>
  629. <collation id="189" parent="1" name="utf8_slovak_ci">
  630. <Charset>utf8</Charset>
  631. </collation>
  632. <collation id="190" parent="1" name="utf8_slovenian_ci">
  633. <Charset>utf8</Charset>
  634. </collation>
  635. <collation id="191" parent="1" name="utf8_spanish2_ci">
  636. <Charset>utf8</Charset>
  637. </collation>
  638. <collation id="192" parent="1" name="utf8_spanish_ci">
  639. <Charset>utf8</Charset>
  640. </collation>
  641. <collation id="193" parent="1" name="utf8_swedish_ci">
  642. <Charset>utf8</Charset>
  643. </collation>
  644. <collation id="194" parent="1" name="utf8_turkish_ci">
  645. <Charset>utf8</Charset>
  646. </collation>
  647. <collation id="195" parent="1" name="utf8_unicode_520_ci">
  648. <Charset>utf8</Charset>
  649. </collation>
  650. <collation id="196" parent="1" name="utf8_unicode_ci">
  651. <Charset>utf8</Charset>
  652. </collation>
  653. <collation id="197" parent="1" name="utf8_vietnamese_ci">
  654. <Charset>utf8</Charset>
  655. </collation>
  656. <collation id="198" parent="1" name="utf8mb4_bin">
  657. <Charset>utf8mb4</Charset>
  658. </collation>
  659. <collation id="199" parent="1" name="utf8mb4_croatian_ci">
  660. <Charset>utf8mb4</Charset>
  661. </collation>
  662. <collation id="200" parent="1" name="utf8mb4_czech_ci">
  663. <Charset>utf8mb4</Charset>
  664. </collation>
  665. <collation id="201" parent="1" name="utf8mb4_danish_ci">
  666. <Charset>utf8mb4</Charset>
  667. </collation>
  668. <collation id="202" parent="1" name="utf8mb4_esperanto_ci">
  669. <Charset>utf8mb4</Charset>
  670. </collation>
  671. <collation id="203" parent="1" name="utf8mb4_estonian_ci">
  672. <Charset>utf8mb4</Charset>
  673. </collation>
  674. <collation id="204" parent="1" name="utf8mb4_general_ci">
  675. <Charset>utf8mb4</Charset>
  676. <DefaultForCharset>1</DefaultForCharset>
  677. </collation>
  678. <collation id="205" parent="1" name="utf8mb4_german2_ci">
  679. <Charset>utf8mb4</Charset>
  680. </collation>
  681. <collation id="206" parent="1" name="utf8mb4_hungarian_ci">
  682. <Charset>utf8mb4</Charset>
  683. </collation>
  684. <collation id="207" parent="1" name="utf8mb4_icelandic_ci">
  685. <Charset>utf8mb4</Charset>
  686. </collation>
  687. <collation id="208" parent="1" name="utf8mb4_latvian_ci">
  688. <Charset>utf8mb4</Charset>
  689. </collation>
  690. <collation id="209" parent="1" name="utf8mb4_lithuanian_ci">
  691. <Charset>utf8mb4</Charset>
  692. </collation>
  693. <collation id="210" parent="1" name="utf8mb4_persian_ci">
  694. <Charset>utf8mb4</Charset>
  695. </collation>
  696. <collation id="211" parent="1" name="utf8mb4_polish_ci">
  697. <Charset>utf8mb4</Charset>
  698. </collation>
  699. <collation id="212" parent="1" name="utf8mb4_roman_ci">
  700. <Charset>utf8mb4</Charset>
  701. </collation>
  702. <collation id="213" parent="1" name="utf8mb4_romanian_ci">
  703. <Charset>utf8mb4</Charset>
  704. </collation>
  705. <collation id="214" parent="1" name="utf8mb4_sinhala_ci">
  706. <Charset>utf8mb4</Charset>
  707. </collation>
  708. <collation id="215" parent="1" name="utf8mb4_slovak_ci">
  709. <Charset>utf8mb4</Charset>
  710. </collation>
  711. <collation id="216" parent="1" name="utf8mb4_slovenian_ci">
  712. <Charset>utf8mb4</Charset>
  713. </collation>
  714. <collation id="217" parent="1" name="utf8mb4_spanish2_ci">
  715. <Charset>utf8mb4</Charset>
  716. </collation>
  717. <collation id="218" parent="1" name="utf8mb4_spanish_ci">
  718. <Charset>utf8mb4</Charset>
  719. </collation>
  720. <collation id="219" parent="1" name="utf8mb4_swedish_ci">
  721. <Charset>utf8mb4</Charset>
  722. </collation>
  723. <collation id="220" parent="1" name="utf8mb4_turkish_ci">
  724. <Charset>utf8mb4</Charset>
  725. </collation>
  726. <collation id="221" parent="1" name="utf8mb4_unicode_520_ci">
  727. <Charset>utf8mb4</Charset>
  728. </collation>
  729. <collation id="222" parent="1" name="utf8mb4_unicode_ci">
  730. <Charset>utf8mb4</Charset>
  731. </collation>
  732. <collation id="223" parent="1" name="utf8mb4_vietnamese_ci">
  733. <Charset>utf8mb4</Charset>
  734. </collation>
  735. <schema id="224" parent="1" name="api_niubiyun_xyz">
  736. <Current>1</Current>
  737. <LastIntrospectionLocalTimestamp>2024-09-07.06:07:43</LastIntrospectionLocalTimestamp>
  738. <CollationName>utf8mb4_general_ci</CollationName>
  739. </schema>
  740. <schema id="225" parent="1" name="information_schema">
  741. <CollationName>utf8_general_ci</CollationName>
  742. </schema>
  743. <user id="226" parent="1" name="api_niubiyun_xyz">
  744. <Host>10.34.96.5</Host>
  745. </user>
  746. <scheduled-event id="227" parent="224" name="删除1天前的数据node_online_ip">
  747. <Definer>api_niubiyun_xyz@localhost</Definer>
  748. <Interval>&apos;1&apos; DAY</Interval>
  749. <LastExecuted>2024-09-07.13:48:07</LastExecuted>
  750. <SourceTextLength>69</SourceTextLength>
  751. <Starts>&apos;2023-08-04 05:48:07&apos;</Starts>
  752. <Status>enabled</Status>
  753. </scheduled-event>
  754. <scheduled-event id="228" parent="224" name="删除1天的数据user_daily_data_flow">
  755. <Definer>api_niubiyun_xyz@localhost</Definer>
  756. <Interval>&apos;1&apos; DAY</Interval>
  757. <LastExecuted>2024-09-07.12:53:14</LastExecuted>
  758. <SourceTextLength>75</SourceTextLength>
  759. <Starts>&apos;2023-08-04 04:53:14&apos;</Starts>
  760. <Status>enabled</Status>
  761. </scheduled-event>
  762. <scheduled-event id="229" parent="224" name="删除1小时前的数据user_hourly_data_flow">
  763. <Definer>api_niubiyun_xyz@localhost</Definer>
  764. <Interval>&apos;2&apos; HOUR</Interval>
  765. <LastExecuted>2024-09-07.13:15:48</LastExecuted>
  766. <SourceTextLength>77</SourceTextLength>
  767. <Starts>&apos;2023-08-04 13:15:48&apos;</Starts>
  768. <Status>enabled</Status>
  769. </scheduled-event>
  770. <scheduled-event id="230" parent="224" name="删除7天前已关闭的订单">
  771. <Definer>api_niubiyun_xyz@localhost</Definer>
  772. <Interval>&apos;1&apos; DAY</Interval>
  773. <LastExecuted>2024-09-06.15:58:13</LastExecuted>
  774. <SourceTextLength>82</SourceTextLength>
  775. <Starts>&apos;2023-12-14 07:58:13&apos;</Starts>
  776. <Status>enabled</Status>
  777. </scheduled-event>
  778. <scheduled-event id="231" parent="224" name="删除7天前的数据notifications(邮件)">
  779. <Definer>api_niubiyun_xyz@localhost</Definer>
  780. <Interval>&apos;1&apos; DAY</Interval>
  781. <LastExecuted>2024-09-06.19:51:20</LastExecuted>
  782. <SourceTextLength>68</SourceTextLength>
  783. <Starts>&apos;2023-08-04 11:51:20&apos;</Starts>
  784. <Status>enabled</Status>
  785. </scheduled-event>
  786. <scheduled-event id="232" parent="224" name="清空failed_jobs">
  787. <Definer>api_niubiyun_xyz@localhost</Definer>
  788. <Interval>&apos;1&apos; DAY</Interval>
  789. <LastExecuted>2024-09-06.15:50:13</LastExecuted>
  790. <SourceTextLength>26</SourceTextLength>
  791. <Starts>&apos;2022-10-20 07:50:13&apos;</Starts>
  792. <Status>enabled</Status>
  793. </scheduled-event>
  794. <table id="233" parent="224" name="appupdate">
  795. <Engine>InnoDB</Engine>
  796. <CollationName>utf8mb4_general_ci</CollationName>
  797. </table>
  798. <table id="234" parent="224" name="article">
  799. <Engine>InnoDB</Engine>
  800. <CollationName>utf8mb4_unicode_ci</CollationName>
  801. </table>
  802. <table id="235" parent="224" name="config">
  803. <Engine>InnoDB</Engine>
  804. <CollationName>utf8mb4_unicode_ci</CollationName>
  805. </table>
  806. <table id="236" parent="224" name="country">
  807. <Engine>InnoDB</Engine>
  808. <CollationName>utf8mb4_unicode_ci</CollationName>
  809. </table>
  810. <table id="237" parent="224" name="coupon">
  811. <Engine>InnoDB</Engine>
  812. <CollationName>utf8mb4_unicode_ci</CollationName>
  813. </table>
  814. <table id="238" parent="224" name="coupon_log">
  815. <Engine>InnoDB</Engine>
  816. <CollationName>utf8mb4_unicode_ci</CollationName>
  817. </table>
  818. <table id="239" parent="224" name="email_filter">
  819. <Engine>InnoDB</Engine>
  820. <CollationName>utf8mb4_unicode_ci</CollationName>
  821. </table>
  822. <table id="240" parent="224" name="failed_jobs">
  823. <Engine>InnoDB</Engine>
  824. <CollationName>utf8mb4_unicode_ci</CollationName>
  825. </table>
  826. <table id="241" parent="224" name="goods">
  827. <Engine>InnoDB</Engine>
  828. <CollationName>utf8mb4_unicode_ci</CollationName>
  829. </table>
  830. <table id="242" parent="224" name="invite">
  831. <Engine>InnoDB</Engine>
  832. <CollationName>utf8mb4_unicode_ci</CollationName>
  833. </table>
  834. <table id="243" parent="224" name="jobs">
  835. <Engine>InnoDB</Engine>
  836. <CollationName>utf8mb4_unicode_ci</CollationName>
  837. </table>
  838. <table id="244" parent="224" name="label">
  839. <Engine>InnoDB</Engine>
  840. <CollationName>utf8mb4_unicode_ci</CollationName>
  841. </table>
  842. <table id="245" parent="224" name="label_node">
  843. <Engine>InnoDB</Engine>
  844. <CollationName>utf8mb4_unicode_ci</CollationName>
  845. </table>
  846. <table id="246" parent="224" name="level">
  847. <Engine>InnoDB</Engine>
  848. <CollationName>utf8mb4_unicode_ci</CollationName>
  849. </table>
  850. <table id="247" parent="224" name="marketing">
  851. <Engine>InnoDB</Engine>
  852. <CollationName>utf8mb4_unicode_ci</CollationName>
  853. </table>
  854. <table id="248" parent="224" name="migrations">
  855. <Engine>InnoDB</Engine>
  856. <CollationName>utf8mb4_unicode_ci</CollationName>
  857. </table>
  858. <table id="249" parent="224" name="model_has_permissions">
  859. <Engine>InnoDB</Engine>
  860. <CollationName>utf8mb4_unicode_ci</CollationName>
  861. </table>
  862. <table id="250" parent="224" name="model_has_roles">
  863. <Engine>InnoDB</Engine>
  864. <CollationName>utf8mb4_unicode_ci</CollationName>
  865. </table>
  866. <table id="251" parent="224" name="node">
  867. <Engine>InnoDB</Engine>
  868. <CollationName>utf8mb4_unicode_ci</CollationName>
  869. </table>
  870. <table id="252" parent="224" name="node_auth">
  871. <Engine>InnoDB</Engine>
  872. <CollationName>utf8mb4_unicode_ci</CollationName>
  873. </table>
  874. <table id="253" parent="224" name="node_certificate">
  875. <Engine>InnoDB</Engine>
  876. <CollationName>utf8mb4_unicode_ci</CollationName>
  877. </table>
  878. <table id="254" parent="224" name="node_daily_data_flow">
  879. <Engine>InnoDB</Engine>
  880. <CollationName>utf8mb4_unicode_ci</CollationName>
  881. </table>
  882. <table id="255" parent="224" name="node_heartbeat">
  883. <Engine>InnoDB</Engine>
  884. <CollationName>utf8mb4_unicode_ci</CollationName>
  885. </table>
  886. <table id="256" parent="224" name="node_hourly_data_flow">
  887. <Engine>InnoDB</Engine>
  888. <CollationName>utf8mb4_unicode_ci</CollationName>
  889. </table>
  890. <table id="257" parent="224" name="node_online_ip">
  891. <Engine>InnoDB</Engine>
  892. <CollationName>utf8mb4_unicode_ci</CollationName>
  893. </table>
  894. <table id="258" parent="224" name="node_online_log">
  895. <Engine>InnoDB</Engine>
  896. <CollationName>utf8mb4_unicode_ci</CollationName>
  897. </table>
  898. <table id="259" parent="224" name="node_user_group">
  899. <Engine>InnoDB</Engine>
  900. <CollationName>utf8mb4_unicode_ci</CollationName>
  901. </table>
  902. <table id="260" parent="224" name="notification_log">
  903. <Engine>InnoDB</Engine>
  904. <CollationName>utf8mb4_unicode_ci</CollationName>
  905. </table>
  906. <table id="261" parent="224" name="notifications">
  907. <Engine>InnoDB</Engine>
  908. <CollationName>utf8mb4_unicode_ci</CollationName>
  909. </table>
  910. <table id="262" parent="224" name="order">
  911. <Engine>InnoDB</Engine>
  912. <CollationName>utf8mb4_unicode_ci</CollationName>
  913. </table>
  914. <table id="263" parent="224" name="payment">
  915. <Engine>InnoDB</Engine>
  916. <CollationName>utf8mb4_unicode_ci</CollationName>
  917. </table>
  918. <table id="264" parent="224" name="payment_callback">
  919. <Engine>InnoDB</Engine>
  920. <CollationName>utf8mb4_unicode_ci</CollationName>
  921. </table>
  922. <table id="265" parent="224" name="permissions">
  923. <Engine>InnoDB</Engine>
  924. <CollationName>utf8mb4_unicode_ci</CollationName>
  925. </table>
  926. <table id="266" parent="224" name="products_pool">
  927. <Engine>InnoDB</Engine>
  928. <CollationName>utf8mb4_unicode_ci</CollationName>
  929. </table>
  930. <table id="267" parent="224" name="referral_apply">
  931. <Engine>InnoDB</Engine>
  932. <CollationName>utf8mb4_unicode_ci</CollationName>
  933. </table>
  934. <table id="268" parent="224" name="referral_log">
  935. <Engine>InnoDB</Engine>
  936. <CollationName>utf8mb4_unicode_ci</CollationName>
  937. </table>
  938. <table id="269" parent="224" name="role_has_permissions">
  939. <Engine>InnoDB</Engine>
  940. <CollationName>utf8mb4_unicode_ci</CollationName>
  941. </table>
  942. <table id="270" parent="224" name="roles">
  943. <Engine>InnoDB</Engine>
  944. <CollationName>utf8mb4_unicode_ci</CollationName>
  945. </table>
  946. <table id="271" parent="224" name="rule">
  947. <Engine>InnoDB</Engine>
  948. <CollationName>utf8mb4_unicode_ci</CollationName>
  949. </table>
  950. <table id="272" parent="224" name="rule_group">
  951. <Engine>InnoDB</Engine>
  952. <CollationName>utf8mb4_unicode_ci</CollationName>
  953. </table>
  954. <table id="273" parent="224" name="rule_log">
  955. <Engine>InnoDB</Engine>
  956. <CollationName>utf8mb4_unicode_ci</CollationName>
  957. </table>
  958. <table id="274" parent="224" name="rule_rule_group">
  959. <Engine>InnoDB</Engine>
  960. <CollationName>utf8mb4_unicode_ci</CollationName>
  961. </table>
  962. <table id="275" parent="224" name="sms">
  963. <Engine>InnoDB</Engine>
  964. <CollationName>utf8mb4_general_ci</CollationName>
  965. </table>
  966. <table id="276" parent="224" name="ss_config">
  967. <Engine>InnoDB</Engine>
  968. <CollationName>utf8mb4_unicode_ci</CollationName>
  969. </table>
  970. <table id="277" parent="224" name="ticket">
  971. <Engine>InnoDB</Engine>
  972. <CollationName>utf8mb4_unicode_ci</CollationName>
  973. </table>
  974. <table id="278" parent="224" name="ticket_reply">
  975. <Engine>InnoDB</Engine>
  976. <CollationName>utf8mb4_unicode_ci</CollationName>
  977. </table>
  978. <table id="279" parent="224" name="user">
  979. <Engine>InnoDB</Engine>
  980. <CollationName>utf8mb4_unicode_ci</CollationName>
  981. </table>
  982. <table id="280" parent="224" name="user_baned_log">
  983. <Engine>InnoDB</Engine>
  984. <CollationName>utf8mb4_unicode_ci</CollationName>
  985. </table>
  986. <table id="281" parent="224" name="user_credit_log">
  987. <Engine>InnoDB</Engine>
  988. <CollationName>utf8mb4_unicode_ci</CollationName>
  989. </table>
  990. <table id="282" parent="224" name="user_daily_data_flow">
  991. <Engine>InnoDB</Engine>
  992. <CollationName>utf8mb4_unicode_ci</CollationName>
  993. </table>
  994. <table id="283" parent="224" name="user_data_modify_log">
  995. <Engine>InnoDB</Engine>
  996. <CollationName>utf8mb4_unicode_ci</CollationName>
  997. </table>
  998. <table id="284" parent="224" name="user_emails">
  999. <Engine>InnoDB</Engine>
  1000. <CollationName>utf8mb4_general_ci</CollationName>
  1001. </table>
  1002. <table id="285" parent="224" name="user_group">
  1003. <Engine>InnoDB</Engine>
  1004. <CollationName>utf8mb4_unicode_ci</CollationName>
  1005. </table>
  1006. <table id="286" parent="224" name="user_hourly_data_flow">
  1007. <Engine>InnoDB</Engine>
  1008. <CollationName>utf8mb4_unicode_ci</CollationName>
  1009. </table>
  1010. <table id="287" parent="224" name="user_login_log">
  1011. <Engine>InnoDB</Engine>
  1012. <CollationName>utf8mb4_unicode_ci</CollationName>
  1013. </table>
  1014. <table id="288" parent="224" name="user_subscribe">
  1015. <Engine>InnoDB</Engine>
  1016. <CollationName>utf8mb4_unicode_ci</CollationName>
  1017. </table>
  1018. <table id="289" parent="224" name="user_subscribe_log">
  1019. <Engine>InnoDB</Engine>
  1020. <CollationName>utf8mb4_unicode_ci</CollationName>
  1021. </table>
  1022. <table id="290" parent="224" name="user_traffic_log">
  1023. <Engine>InnoDB</Engine>
  1024. <CollationName>utf8mb4_unicode_ci</CollationName>
  1025. </table>
  1026. <table id="291" parent="224" name="verify">
  1027. <Engine>InnoDB</Engine>
  1028. <CollationName>utf8mb4_unicode_ci</CollationName>
  1029. </table>
  1030. <table id="292" parent="224" name="verify_code">
  1031. <Engine>InnoDB</Engine>
  1032. <CollationName>utf8mb4_unicode_ci</CollationName>
  1033. </table>
  1034. <column id="293" parent="233" name="id">
  1035. <AutoIncrement>6</AutoIncrement>
  1036. <NotNull>1</NotNull>
  1037. <Position>1</Position>
  1038. <StoredType>int(11)|0s</StoredType>
  1039. </column>
  1040. <column id="294" parent="233" name="appname">
  1041. <Comment>app 名称</Comment>
  1042. <DefaultExpression>&apos;&apos;</DefaultExpression>
  1043. <NotNull>1</NotNull>
  1044. <Position>2</Position>
  1045. <StoredType>varchar(64)|0s</StoredType>
  1046. </column>
  1047. <column id="295" parent="233" name="appversion">
  1048. <DefaultExpression>&apos;&apos;</DefaultExpression>
  1049. <NotNull>1</NotNull>
  1050. <Position>3</Position>
  1051. <StoredType>varchar(64)|0s</StoredType>
  1052. </column>
  1053. <column id="296" parent="233" name="appdownload">
  1054. <Comment>app下载地址</Comment>
  1055. <DefaultExpression>&apos;&apos;</DefaultExpression>
  1056. <NotNull>1</NotNull>
  1057. <Position>4</Position>
  1058. <StoredType>varchar(256)|0s</StoredType>
  1059. </column>
  1060. <column id="297" parent="233" name="appmsg">
  1061. <DefaultExpression>&apos;&apos;</DefaultExpression>
  1062. <NotNull>1</NotNull>
  1063. <Position>5</Position>
  1064. <StoredType>varchar(256)|0s</StoredType>
  1065. </column>
  1066. <column id="298" parent="233" name="appdown">
  1067. <Comment>下载页面</Comment>
  1068. <Position>6</Position>
  1069. <StoredType>varchar(256)|0s</StoredType>
  1070. </column>
  1071. <index id="299" parent="233" name="PRIMARY">
  1072. <ColNames>id</ColNames>
  1073. <Type>btree</Type>
  1074. <Unique>1</Unique>
  1075. </index>
  1076. <key id="300" parent="233" name="PRIMARY">
  1077. <NameSurrogate>1</NameSurrogate>
  1078. <Primary>1</Primary>
  1079. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1080. </key>
  1081. <column id="301" parent="234" name="id">
  1082. <AutoIncrement>18</AutoIncrement>
  1083. <NotNull>1</NotNull>
  1084. <Position>1</Position>
  1085. <StoredType>int(10) unsigned|0s</StoredType>
  1086. </column>
  1087. <column id="302" parent="234" name="type">
  1088. <Comment>类型:1-文章、2-站内公告、3-站外公告</Comment>
  1089. <DefaultExpression>1</DefaultExpression>
  1090. <NotNull>1</NotNull>
  1091. <Position>2</Position>
  1092. <StoredType>tinyint(1)|0s</StoredType>
  1093. </column>
  1094. <column id="303" parent="234" name="title">
  1095. <Comment>标题</Comment>
  1096. <NotNull>1</NotNull>
  1097. <Position>3</Position>
  1098. <StoredType>varchar(100)|0s</StoredType>
  1099. </column>
  1100. <column id="304" parent="234" name="summary">
  1101. <Comment>简介</Comment>
  1102. <Position>4</Position>
  1103. <StoredType>varchar(191)|0s</StoredType>
  1104. </column>
  1105. <column id="305" parent="234" name="logo">
  1106. <Comment>LOGO</Comment>
  1107. <Position>5</Position>
  1108. <StoredType>varchar(191)|0s</StoredType>
  1109. </column>
  1110. <column id="306" parent="234" name="content">
  1111. <Comment>内容</Comment>
  1112. <Position>6</Position>
  1113. <StoredType>text|0s</StoredType>
  1114. </column>
  1115. <column id="307" parent="234" name="sort">
  1116. <Comment>排序</Comment>
  1117. <DefaultExpression>0</DefaultExpression>
  1118. <NotNull>1</NotNull>
  1119. <Position>7</Position>
  1120. <StoredType>tinyint(3) unsigned|0s</StoredType>
  1121. </column>
  1122. <column id="308" parent="234" name="created_at">
  1123. <Comment>创建时间</Comment>
  1124. <NotNull>1</NotNull>
  1125. <Position>8</Position>
  1126. <StoredType>datetime|0s</StoredType>
  1127. </column>
  1128. <column id="309" parent="234" name="updated_at">
  1129. <Comment>最后更新时间</Comment>
  1130. <NotNull>1</NotNull>
  1131. <Position>9</Position>
  1132. <StoredType>datetime|0s</StoredType>
  1133. </column>
  1134. <column id="310" parent="234" name="deleted_at">
  1135. <Comment>删除时间</Comment>
  1136. <Position>10</Position>
  1137. <StoredType>timestamp|0s</StoredType>
  1138. </column>
  1139. <index id="311" parent="234" name="PRIMARY">
  1140. <ColNames>id</ColNames>
  1141. <Type>btree</Type>
  1142. <Unique>1</Unique>
  1143. </index>
  1144. <key id="312" parent="234" name="PRIMARY">
  1145. <NameSurrogate>1</NameSurrogate>
  1146. <Primary>1</Primary>
  1147. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1148. </key>
  1149. <column id="313" parent="235" name="name">
  1150. <Comment>配置名</Comment>
  1151. <NotNull>1</NotNull>
  1152. <Position>1</Position>
  1153. <StoredType>varchar(191)|0s</StoredType>
  1154. </column>
  1155. <column id="314" parent="235" name="value">
  1156. <Comment>配置值</Comment>
  1157. <Position>2</Position>
  1158. <StoredType>text|0s</StoredType>
  1159. </column>
  1160. <index id="315" parent="235" name="PRIMARY">
  1161. <ColNames>name</ColNames>
  1162. <Type>btree</Type>
  1163. <Unique>1</Unique>
  1164. </index>
  1165. <key id="316" parent="235" name="PRIMARY">
  1166. <NameSurrogate>1</NameSurrogate>
  1167. <Primary>1</Primary>
  1168. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1169. </key>
  1170. <column id="317" parent="236" name="code">
  1171. <Comment>ISO国家代码</Comment>
  1172. <NotNull>1</NotNull>
  1173. <Position>1</Position>
  1174. <StoredType>char(2)|0s</StoredType>
  1175. </column>
  1176. <column id="318" parent="236" name="name">
  1177. <Comment>名称</Comment>
  1178. <NotNull>1</NotNull>
  1179. <Position>2</Position>
  1180. <StoredType>varchar(10)|0s</StoredType>
  1181. </column>
  1182. <index id="319" parent="236" name="PRIMARY">
  1183. <ColNames>code</ColNames>
  1184. <Type>btree</Type>
  1185. <Unique>1</Unique>
  1186. </index>
  1187. <key id="320" parent="236" name="PRIMARY">
  1188. <NameSurrogate>1</NameSurrogate>
  1189. <Primary>1</Primary>
  1190. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1191. </key>
  1192. <column id="321" parent="237" name="id">
  1193. <AutoIncrement>17440</AutoIncrement>
  1194. <NotNull>1</NotNull>
  1195. <Position>1</Position>
  1196. <StoredType>int(10) unsigned|0s</StoredType>
  1197. </column>
  1198. <column id="322" parent="237" name="name">
  1199. <Comment>优惠券名称</Comment>
  1200. <NotNull>1</NotNull>
  1201. <Position>2</Position>
  1202. <StoredType>varchar(50)|0s</StoredType>
  1203. </column>
  1204. <column id="323" parent="237" name="logo">
  1205. <Comment>优惠券LOGO</Comment>
  1206. <Position>3</Position>
  1207. <StoredType>varchar(191)|0s</StoredType>
  1208. </column>
  1209. <column id="324" parent="237" name="sn">
  1210. <Comment>优惠券码</Comment>
  1211. <NotNull>1</NotNull>
  1212. <Position>4</Position>
  1213. <StoredType>varchar(50)|0s</StoredType>
  1214. </column>
  1215. <column id="325" parent="237" name="type">
  1216. <Comment>类型:1-抵用券、2-折扣券、3-充值券</Comment>
  1217. <DefaultExpression>1</DefaultExpression>
  1218. <NotNull>1</NotNull>
  1219. <Position>5</Position>
  1220. <StoredType>tinyint(1)|0s</StoredType>
  1221. </column>
  1222. <column id="326" parent="237" name="usable_times">
  1223. <Comment>可使用次数</Comment>
  1224. <Position>6</Position>
  1225. <StoredType>smallint(5) unsigned|0s</StoredType>
  1226. </column>
  1227. <column id="327" parent="237" name="value">
  1228. <Comment>折扣金额(元)/折扣力度</Comment>
  1229. <NotNull>1</NotNull>
  1230. <Position>7</Position>
  1231. <StoredType>int(10) unsigned|0s</StoredType>
  1232. </column>
  1233. <column id="328" parent="237" name="rule">
  1234. <Comment>使用限制(元)</Comment>
  1235. <Position>8</Position>
  1236. <StoredType>int(10) unsigned|0s</StoredType>
  1237. </column>
  1238. <column id="329" parent="237" name="start_time">
  1239. <Comment>有效期开始</Comment>
  1240. <DefaultExpression>0</DefaultExpression>
  1241. <NotNull>1</NotNull>
  1242. <Position>9</Position>
  1243. <StoredType>int(10) unsigned|0s</StoredType>
  1244. </column>
  1245. <column id="330" parent="237" name="end_time">
  1246. <Comment>有效期结束</Comment>
  1247. <DefaultExpression>0</DefaultExpression>
  1248. <NotNull>1</NotNull>
  1249. <Position>10</Position>
  1250. <StoredType>int(10) unsigned|0s</StoredType>
  1251. </column>
  1252. <column id="331" parent="237" name="status">
  1253. <Comment>状态:0-未使用、1-已使用、2-已失效</Comment>
  1254. <DefaultExpression>0</DefaultExpression>
  1255. <NotNull>1</NotNull>
  1256. <Position>11</Position>
  1257. <StoredType>tinyint(1)|0s</StoredType>
  1258. </column>
  1259. <column id="332" parent="237" name="created_at">
  1260. <Comment>创建时间</Comment>
  1261. <NotNull>1</NotNull>
  1262. <Position>12</Position>
  1263. <StoredType>datetime|0s</StoredType>
  1264. </column>
  1265. <column id="333" parent="237" name="updated_at">
  1266. <Comment>最后更新时间</Comment>
  1267. <NotNull>1</NotNull>
  1268. <Position>13</Position>
  1269. <StoredType>datetime|0s</StoredType>
  1270. </column>
  1271. <column id="334" parent="237" name="deleted_at">
  1272. <Comment>删除时间</Comment>
  1273. <Position>14</Position>
  1274. <StoredType>timestamp|0s</StoredType>
  1275. </column>
  1276. <index id="335" parent="237" name="PRIMARY">
  1277. <ColNames>id</ColNames>
  1278. <Type>btree</Type>
  1279. <Unique>1</Unique>
  1280. </index>
  1281. <index id="336" parent="237" name="coupon_sn_unique">
  1282. <ColNames>sn</ColNames>
  1283. <Type>btree</Type>
  1284. <Unique>1</Unique>
  1285. </index>
  1286. <key id="337" parent="237" name="PRIMARY">
  1287. <NameSurrogate>1</NameSurrogate>
  1288. <Primary>1</Primary>
  1289. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1290. </key>
  1291. <key id="338" parent="237" name="coupon_sn_unique">
  1292. <UnderlyingIndexName>coupon_sn_unique</UnderlyingIndexName>
  1293. </key>
  1294. <column id="339" parent="238" name="id">
  1295. <AutoIncrement>15963</AutoIncrement>
  1296. <NotNull>1</NotNull>
  1297. <Position>1</Position>
  1298. <StoredType>int(10) unsigned|0s</StoredType>
  1299. </column>
  1300. <column id="340" parent="238" name="coupon_id">
  1301. <Comment>优惠券ID</Comment>
  1302. <Position>2</Position>
  1303. <StoredType>int(10) unsigned|0s</StoredType>
  1304. </column>
  1305. <column id="341" parent="238" name="goods_id">
  1306. <Comment>商品ID</Comment>
  1307. <Position>3</Position>
  1308. <StoredType>int(10) unsigned|0s</StoredType>
  1309. </column>
  1310. <column id="342" parent="238" name="order_id">
  1311. <Comment>订单ID</Comment>
  1312. <Position>4</Position>
  1313. <StoredType>int(10) unsigned|0s</StoredType>
  1314. </column>
  1315. <column id="343" parent="238" name="description">
  1316. <Comment>备注</Comment>
  1317. <Position>5</Position>
  1318. <StoredType>varchar(50)|0s</StoredType>
  1319. </column>
  1320. <column id="344" parent="238" name="created_at">
  1321. <Comment>创建时间</Comment>
  1322. <NotNull>1</NotNull>
  1323. <Position>6</Position>
  1324. <StoredType>datetime|0s</StoredType>
  1325. </column>
  1326. <foreign-key id="345" parent="238" name="coupon_log_coupon_id_foreign">
  1327. <ColNames>coupon_id</ColNames>
  1328. <OnDelete>set-null</OnDelete>
  1329. <RefColNames>id</RefColNames>
  1330. <RefTableName>coupon</RefTableName>
  1331. </foreign-key>
  1332. <foreign-key id="346" parent="238" name="coupon_log_goods_id_foreign">
  1333. <ColNames>goods_id</ColNames>
  1334. <OnDelete>set-null</OnDelete>
  1335. <RefColNames>id</RefColNames>
  1336. <RefTableName>goods</RefTableName>
  1337. </foreign-key>
  1338. <foreign-key id="347" parent="238" name="coupon_log_order_id_foreign">
  1339. <ColNames>order_id</ColNames>
  1340. <OnDelete>cascade</OnDelete>
  1341. <RefColNames>id</RefColNames>
  1342. <RefTableName>order</RefTableName>
  1343. </foreign-key>
  1344. <index id="348" parent="238" name="PRIMARY">
  1345. <ColNames>id</ColNames>
  1346. <Type>btree</Type>
  1347. <Unique>1</Unique>
  1348. </index>
  1349. <index id="349" parent="238" name="coupon_log_coupon_id_foreign">
  1350. <ColNames>coupon_id</ColNames>
  1351. <Type>btree</Type>
  1352. </index>
  1353. <index id="350" parent="238" name="coupon_log_goods_id_foreign">
  1354. <ColNames>goods_id</ColNames>
  1355. <Type>btree</Type>
  1356. </index>
  1357. <index id="351" parent="238" name="coupon_log_order_id_foreign">
  1358. <ColNames>order_id</ColNames>
  1359. <Type>btree</Type>
  1360. </index>
  1361. <key id="352" parent="238" name="PRIMARY">
  1362. <NameSurrogate>1</NameSurrogate>
  1363. <Primary>1</Primary>
  1364. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1365. </key>
  1366. <column id="353" parent="239" name="id">
  1367. <AutoIncrement>136</AutoIncrement>
  1368. <NotNull>1</NotNull>
  1369. <Position>1</Position>
  1370. <StoredType>int(10) unsigned|0s</StoredType>
  1371. </column>
  1372. <column id="354" parent="239" name="type">
  1373. <Comment>类型:1-黑名单、2-白名单</Comment>
  1374. <DefaultExpression>1</DefaultExpression>
  1375. <NotNull>1</NotNull>
  1376. <Position>2</Position>
  1377. <StoredType>tinyint(1)|0s</StoredType>
  1378. </column>
  1379. <column id="355" parent="239" name="words">
  1380. <Comment>敏感词</Comment>
  1381. <NotNull>1</NotNull>
  1382. <Position>3</Position>
  1383. <StoredType>varchar(50)|0s</StoredType>
  1384. </column>
  1385. <index id="356" parent="239" name="PRIMARY">
  1386. <ColNames>id</ColNames>
  1387. <Type>btree</Type>
  1388. <Unique>1</Unique>
  1389. </index>
  1390. <index id="357" parent="239" name="email_filter_words_type_index">
  1391. <ColNames>words
  1392. type</ColNames>
  1393. <Type>btree</Type>
  1394. </index>
  1395. <key id="358" parent="239" name="PRIMARY">
  1396. <NameSurrogate>1</NameSurrogate>
  1397. <Primary>1</Primary>
  1398. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1399. </key>
  1400. <column id="359" parent="240" name="id">
  1401. <AutoIncrement>1</AutoIncrement>
  1402. <NotNull>1</NotNull>
  1403. <Position>1</Position>
  1404. <StoredType>bigint(20) unsigned|0s</StoredType>
  1405. </column>
  1406. <column id="360" parent="240" name="connection">
  1407. <NotNull>1</NotNull>
  1408. <Position>2</Position>
  1409. <StoredType>text|0s</StoredType>
  1410. </column>
  1411. <column id="361" parent="240" name="queue">
  1412. <NotNull>1</NotNull>
  1413. <Position>3</Position>
  1414. <StoredType>text|0s</StoredType>
  1415. </column>
  1416. <column id="362" parent="240" name="payload">
  1417. <NotNull>1</NotNull>
  1418. <Position>4</Position>
  1419. <StoredType>longtext|0s</StoredType>
  1420. </column>
  1421. <column id="363" parent="240" name="exception">
  1422. <NotNull>1</NotNull>
  1423. <Position>5</Position>
  1424. <StoredType>longtext|0s</StoredType>
  1425. </column>
  1426. <column id="364" parent="240" name="failed_at">
  1427. <DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
  1428. <NotNull>1</NotNull>
  1429. <Position>6</Position>
  1430. <StoredType>timestamp|0s</StoredType>
  1431. </column>
  1432. <index id="365" parent="240" name="PRIMARY">
  1433. <ColNames>id</ColNames>
  1434. <Type>btree</Type>
  1435. <Unique>1</Unique>
  1436. </index>
  1437. <key id="366" parent="240" name="PRIMARY">
  1438. <NameSurrogate>1</NameSurrogate>
  1439. <Primary>1</Primary>
  1440. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1441. </key>
  1442. <column id="367" parent="241" name="id">
  1443. <AutoIncrement>30</AutoIncrement>
  1444. <NotNull>1</NotNull>
  1445. <Position>1</Position>
  1446. <StoredType>int(10) unsigned|0s</StoredType>
  1447. </column>
  1448. <column id="368" parent="241" name="name">
  1449. <Comment>商品名称</Comment>
  1450. <NotNull>1</NotNull>
  1451. <Position>2</Position>
  1452. <StoredType>varchar(100)|0s</StoredType>
  1453. </column>
  1454. <column id="369" parent="241" name="logo">
  1455. <Comment>商品图片地址</Comment>
  1456. <Position>3</Position>
  1457. <StoredType>varchar(191)|0s</StoredType>
  1458. </column>
  1459. <column id="370" parent="241" name="traffic">
  1460. <Comment>商品内含多少流量,单位MiB</Comment>
  1461. <DefaultExpression>0</DefaultExpression>
  1462. <NotNull>1</NotNull>
  1463. <Position>4</Position>
  1464. <StoredType>bigint(20) unsigned|0s</StoredType>
  1465. </column>
  1466. <column id="371" parent="241" name="type">
  1467. <Comment>商品类型:1-流量包、2-套餐</Comment>
  1468. <DefaultExpression>1</DefaultExpression>
  1469. <NotNull>1</NotNull>
  1470. <Position>5</Position>
  1471. <StoredType>tinyint(1)|0s</StoredType>
  1472. </column>
  1473. <column id="372" parent="241" name="price">
  1474. <Comment>售价,单位分</Comment>
  1475. <DefaultExpression>0</DefaultExpression>
  1476. <NotNull>1</NotNull>
  1477. <Position>6</Position>
  1478. <StoredType>int(10) unsigned|0s</StoredType>
  1479. </column>
  1480. <column id="373" parent="241" name="level">
  1481. <Comment>购买后给用户授权的等级</Comment>
  1482. <DefaultExpression>0</DefaultExpression>
  1483. <NotNull>1</NotNull>
  1484. <Position>7</Position>
  1485. <StoredType>tinyint(3) unsigned|0s</StoredType>
  1486. </column>
  1487. <column id="374" parent="241" name="renew">
  1488. <Comment>流量重置价格,单位分</Comment>
  1489. <Position>8</Position>
  1490. <StoredType>int(10) unsigned|0s</StoredType>
  1491. </column>
  1492. <column id="375" parent="241" name="period">
  1493. <Comment>流量自动重置周期</Comment>
  1494. <Position>9</Position>
  1495. <StoredType>int(10) unsigned|0s</StoredType>
  1496. </column>
  1497. <column id="376" parent="241" name="info">
  1498. <Comment>商品信息</Comment>
  1499. <Position>10</Position>
  1500. <StoredType>varchar(191)|0s</StoredType>
  1501. </column>
  1502. <column id="377" parent="241" name="description">
  1503. <Comment>商品描述</Comment>
  1504. <Position>11</Position>
  1505. <StoredType>varchar(191)|0s</StoredType>
  1506. </column>
  1507. <column id="378" parent="241" name="days">
  1508. <Comment>有效期</Comment>
  1509. <DefaultExpression>30</DefaultExpression>
  1510. <NotNull>1</NotNull>
  1511. <Position>12</Position>
  1512. <StoredType>int(10) unsigned|0s</StoredType>
  1513. </column>
  1514. <column id="379" parent="241" name="invite_num">
  1515. <Comment>赠送邀请码数</Comment>
  1516. <Position>13</Position>
  1517. <StoredType>int(10) unsigned|0s</StoredType>
  1518. </column>
  1519. <column id="380" parent="241" name="limit_num">
  1520. <Comment>限购数量,默认为null不限购</Comment>
  1521. <Position>14</Position>
  1522. <StoredType>int(10) unsigned|0s</StoredType>
  1523. </column>
  1524. <column id="381" parent="241" name="color">
  1525. <Comment>商品颜色</Comment>
  1526. <DefaultExpression>&apos;green&apos;</DefaultExpression>
  1527. <NotNull>1</NotNull>
  1528. <Position>15</Position>
  1529. <StoredType>varchar(50)|0s</StoredType>
  1530. </column>
  1531. <column id="382" parent="241" name="sort">
  1532. <Comment>排序</Comment>
  1533. <DefaultExpression>0</DefaultExpression>
  1534. <NotNull>1</NotNull>
  1535. <Position>16</Position>
  1536. <StoredType>tinyint(3) unsigned|0s</StoredType>
  1537. </column>
  1538. <column id="383" parent="241" name="is_hot">
  1539. <Comment>是否热销:0-否、1-是</Comment>
  1540. <DefaultExpression>0</DefaultExpression>
  1541. <NotNull>1</NotNull>
  1542. <Position>17</Position>
  1543. <StoredType>tinyint(1)|0s</StoredType>
  1544. </column>
  1545. <column id="384" parent="241" name="status">
  1546. <Comment>状态:0-下架、1-上架</Comment>
  1547. <DefaultExpression>0</DefaultExpression>
  1548. <NotNull>1</NotNull>
  1549. <Position>18</Position>
  1550. <StoredType>tinyint(1)|0s</StoredType>
  1551. </column>
  1552. <column id="385" parent="241" name="created_at">
  1553. <Comment>创建时间</Comment>
  1554. <NotNull>1</NotNull>
  1555. <Position>19</Position>
  1556. <StoredType>datetime|0s</StoredType>
  1557. </column>
  1558. <column id="386" parent="241" name="updated_at">
  1559. <Comment>最后更新时间</Comment>
  1560. <NotNull>1</NotNull>
  1561. <Position>20</Position>
  1562. <StoredType>datetime|0s</StoredType>
  1563. </column>
  1564. <column id="387" parent="241" name="deleted_at">
  1565. <Comment>删除时间</Comment>
  1566. <Position>21</Position>
  1567. <StoredType>timestamp|0s</StoredType>
  1568. </column>
  1569. <index id="388" parent="241" name="PRIMARY">
  1570. <ColNames>id</ColNames>
  1571. <Type>btree</Type>
  1572. <Unique>1</Unique>
  1573. </index>
  1574. <key id="389" parent="241" name="PRIMARY">
  1575. <NameSurrogate>1</NameSurrogate>
  1576. <Primary>1</Primary>
  1577. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1578. </key>
  1579. <column id="390" parent="242" name="id">
  1580. <AutoIncrement>21</AutoIncrement>
  1581. <NotNull>1</NotNull>
  1582. <Position>1</Position>
  1583. <StoredType>int(10) unsigned|0s</StoredType>
  1584. </column>
  1585. <column id="391" parent="242" name="inviter_id">
  1586. <Comment>邀请ID</Comment>
  1587. <Position>2</Position>
  1588. <StoredType>int(10) unsigned|0s</StoredType>
  1589. </column>
  1590. <column id="392" parent="242" name="invitee_id">
  1591. <Comment>受邀ID</Comment>
  1592. <Position>3</Position>
  1593. <StoredType>int(10) unsigned|0s</StoredType>
  1594. </column>
  1595. <column id="393" parent="242" name="code">
  1596. <Comment>邀请码</Comment>
  1597. <NotNull>1</NotNull>
  1598. <Position>4</Position>
  1599. <StoredType>char(12)|0s</StoredType>
  1600. </column>
  1601. <column id="394" parent="242" name="status">
  1602. <Comment>邀请码状态:0-未使用、1-已使用、2-已过期</Comment>
  1603. <DefaultExpression>0</DefaultExpression>
  1604. <NotNull>1</NotNull>
  1605. <Position>5</Position>
  1606. <StoredType>tinyint(1)|0s</StoredType>
  1607. </column>
  1608. <column id="395" parent="242" name="dateline">
  1609. <Comment>有效期至</Comment>
  1610. <NotNull>1</NotNull>
  1611. <Position>6</Position>
  1612. <StoredType>datetime|0s</StoredType>
  1613. </column>
  1614. <column id="396" parent="242" name="created_at">
  1615. <Comment>创建时间</Comment>
  1616. <NotNull>1</NotNull>
  1617. <Position>7</Position>
  1618. <StoredType>datetime|0s</StoredType>
  1619. </column>
  1620. <column id="397" parent="242" name="updated_at">
  1621. <Comment>最后更新时间</Comment>
  1622. <NotNull>1</NotNull>
  1623. <Position>8</Position>
  1624. <StoredType>datetime|0s</StoredType>
  1625. </column>
  1626. <column id="398" parent="242" name="deleted_at">
  1627. <Comment>删除时间</Comment>
  1628. <Position>9</Position>
  1629. <StoredType>timestamp|0s</StoredType>
  1630. </column>
  1631. <foreign-key id="399" parent="242" name="invite_ibfk_2">
  1632. <ColNames>inviter_id</ColNames>
  1633. <OnDelete>cascade</OnDelete>
  1634. <RefColNames>id</RefColNames>
  1635. <RefTableName>user</RefTableName>
  1636. </foreign-key>
  1637. <foreign-key id="400" parent="242" name="invite_ibfk_1">
  1638. <ColNames>invitee_id</ColNames>
  1639. <OnDelete>set-null</OnDelete>
  1640. <RefColNames>id</RefColNames>
  1641. <RefTableName>user</RefTableName>
  1642. </foreign-key>
  1643. <index id="401" parent="242" name="PRIMARY">
  1644. <ColNames>id</ColNames>
  1645. <Type>btree</Type>
  1646. <Unique>1</Unique>
  1647. </index>
  1648. <index id="402" parent="242" name="invite_code_unique">
  1649. <ColNames>code</ColNames>
  1650. <Type>btree</Type>
  1651. <Unique>1</Unique>
  1652. </index>
  1653. <index id="403" parent="242" name="invite_inviter_id_foreign">
  1654. <ColNames>inviter_id</ColNames>
  1655. <Type>btree</Type>
  1656. </index>
  1657. <index id="404" parent="242" name="invite_invitee_id_foreign">
  1658. <ColNames>invitee_id</ColNames>
  1659. <Type>btree</Type>
  1660. </index>
  1661. <key id="405" parent="242" name="PRIMARY">
  1662. <NameSurrogate>1</NameSurrogate>
  1663. <Primary>1</Primary>
  1664. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1665. </key>
  1666. <key id="406" parent="242" name="invite_code_unique">
  1667. <UnderlyingIndexName>invite_code_unique</UnderlyingIndexName>
  1668. </key>
  1669. <column id="407" parent="243" name="id">
  1670. <AutoIncrement>1</AutoIncrement>
  1671. <NotNull>1</NotNull>
  1672. <Position>1</Position>
  1673. <StoredType>bigint(20) unsigned|0s</StoredType>
  1674. </column>
  1675. <column id="408" parent="243" name="queue">
  1676. <NotNull>1</NotNull>
  1677. <Position>2</Position>
  1678. <StoredType>varchar(191)|0s</StoredType>
  1679. </column>
  1680. <column id="409" parent="243" name="payload">
  1681. <NotNull>1</NotNull>
  1682. <Position>3</Position>
  1683. <StoredType>longtext|0s</StoredType>
  1684. </column>
  1685. <column id="410" parent="243" name="attempts">
  1686. <NotNull>1</NotNull>
  1687. <Position>4</Position>
  1688. <StoredType>tinyint(3) unsigned|0s</StoredType>
  1689. </column>
  1690. <column id="411" parent="243" name="reserved_at">
  1691. <Position>5</Position>
  1692. <StoredType>int(10) unsigned|0s</StoredType>
  1693. </column>
  1694. <column id="412" parent="243" name="available_at">
  1695. <NotNull>1</NotNull>
  1696. <Position>6</Position>
  1697. <StoredType>int(10) unsigned|0s</StoredType>
  1698. </column>
  1699. <column id="413" parent="243" name="created_at">
  1700. <NotNull>1</NotNull>
  1701. <Position>7</Position>
  1702. <StoredType>int(10) unsigned|0s</StoredType>
  1703. </column>
  1704. <index id="414" parent="243" name="PRIMARY">
  1705. <ColNames>id</ColNames>
  1706. <Type>btree</Type>
  1707. <Unique>1</Unique>
  1708. </index>
  1709. <index id="415" parent="243" name="jobs_queue_index">
  1710. <ColNames>queue</ColNames>
  1711. <Type>btree</Type>
  1712. </index>
  1713. <key id="416" parent="243" name="PRIMARY">
  1714. <NameSurrogate>1</NameSurrogate>
  1715. <Primary>1</Primary>
  1716. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1717. </key>
  1718. <column id="417" parent="244" name="id">
  1719. <AutoIncrement>33</AutoIncrement>
  1720. <NotNull>1</NotNull>
  1721. <Position>1</Position>
  1722. <StoredType>int(10) unsigned|0s</StoredType>
  1723. </column>
  1724. <column id="418" parent="244" name="name">
  1725. <Comment>名称</Comment>
  1726. <NotNull>1</NotNull>
  1727. <Position>2</Position>
  1728. <StoredType>varchar(191)|0s</StoredType>
  1729. </column>
  1730. <column id="419" parent="244" name="sort">
  1731. <Comment>排序值</Comment>
  1732. <DefaultExpression>0</DefaultExpression>
  1733. <NotNull>1</NotNull>
  1734. <Position>3</Position>
  1735. <StoredType>tinyint(3) unsigned|0s</StoredType>
  1736. </column>
  1737. <index id="420" parent="244" name="PRIMARY">
  1738. <ColNames>id</ColNames>
  1739. <Type>btree</Type>
  1740. <Unique>1</Unique>
  1741. </index>
  1742. <key id="421" parent="244" name="PRIMARY">
  1743. <NameSurrogate>1</NameSurrogate>
  1744. <Primary>1</Primary>
  1745. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1746. </key>
  1747. <column id="422" parent="245" name="id">
  1748. <AutoIncrement>214</AutoIncrement>
  1749. <NotNull>1</NotNull>
  1750. <Position>1</Position>
  1751. <StoredType>int(10) unsigned|0s</StoredType>
  1752. </column>
  1753. <column id="423" parent="245" name="node_id">
  1754. <Comment>节点ID</Comment>
  1755. <DefaultExpression>0</DefaultExpression>
  1756. <NotNull>1</NotNull>
  1757. <Position>2</Position>
  1758. <StoredType>int(10) unsigned|0s</StoredType>
  1759. </column>
  1760. <column id="424" parent="245" name="label_id">
  1761. <Comment>标签ID</Comment>
  1762. <DefaultExpression>0</DefaultExpression>
  1763. <NotNull>1</NotNull>
  1764. <Position>3</Position>
  1765. <StoredType>int(10) unsigned|0s</StoredType>
  1766. </column>
  1767. <foreign-key id="425" parent="245" name="label_node_ibfk_2">
  1768. <ColNames>node_id</ColNames>
  1769. <OnDelete>cascade</OnDelete>
  1770. <RefColNames>id</RefColNames>
  1771. <RefTableName>node</RefTableName>
  1772. </foreign-key>
  1773. <foreign-key id="426" parent="245" name="label_node_ibfk_1">
  1774. <ColNames>label_id</ColNames>
  1775. <OnDelete>cascade</OnDelete>
  1776. <RefColNames>id</RefColNames>
  1777. <RefTableName>label</RefTableName>
  1778. </foreign-key>
  1779. <index id="427" parent="245" name="PRIMARY">
  1780. <ColNames>id</ColNames>
  1781. <Type>btree</Type>
  1782. <Unique>1</Unique>
  1783. </index>
  1784. <index id="428" parent="245" name="node_label_node_id_label_id_unique">
  1785. <ColNames>node_id
  1786. label_id</ColNames>
  1787. <Type>btree</Type>
  1788. <Unique>1</Unique>
  1789. </index>
  1790. <index id="429" parent="245" name="idx_node_label">
  1791. <ColNames>node_id
  1792. label_id</ColNames>
  1793. <Type>btree</Type>
  1794. </index>
  1795. <index id="430" parent="245" name="node_label_label_id_foreign">
  1796. <ColNames>label_id</ColNames>
  1797. <Type>btree</Type>
  1798. </index>
  1799. <key id="431" parent="245" name="PRIMARY">
  1800. <NameSurrogate>1</NameSurrogate>
  1801. <Primary>1</Primary>
  1802. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1803. </key>
  1804. <key id="432" parent="245" name="node_label_node_id_label_id_unique">
  1805. <UnderlyingIndexName>node_label_node_id_label_id_unique</UnderlyingIndexName>
  1806. </key>
  1807. <column id="433" parent="246" name="id">
  1808. <AutoIncrement>9</AutoIncrement>
  1809. <NotNull>1</NotNull>
  1810. <Position>1</Position>
  1811. <StoredType>int(10) unsigned|0s</StoredType>
  1812. </column>
  1813. <column id="434" parent="246" name="level">
  1814. <Comment>等级</Comment>
  1815. <NotNull>1</NotNull>
  1816. <Position>2</Position>
  1817. <StoredType>tinyint(3) unsigned|0s</StoredType>
  1818. </column>
  1819. <column id="435" parent="246" name="name">
  1820. <Comment>等级名称</Comment>
  1821. <NotNull>1</NotNull>
  1822. <Position>3</Position>
  1823. <StoredType>varchar(100)|0s</StoredType>
  1824. </column>
  1825. <index id="436" parent="246" name="PRIMARY">
  1826. <ColNames>id</ColNames>
  1827. <Type>btree</Type>
  1828. <Unique>1</Unique>
  1829. </index>
  1830. <index id="437" parent="246" name="level_level_unique">
  1831. <ColNames>level</ColNames>
  1832. <Type>btree</Type>
  1833. <Unique>1</Unique>
  1834. </index>
  1835. <key id="438" parent="246" name="PRIMARY">
  1836. <NameSurrogate>1</NameSurrogate>
  1837. <Primary>1</Primary>
  1838. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1839. </key>
  1840. <key id="439" parent="246" name="level_level_unique">
  1841. <UnderlyingIndexName>level_level_unique</UnderlyingIndexName>
  1842. </key>
  1843. <column id="440" parent="247" name="id">
  1844. <AutoIncrement>1</AutoIncrement>
  1845. <NotNull>1</NotNull>
  1846. <Position>1</Position>
  1847. <StoredType>int(10) unsigned|0s</StoredType>
  1848. </column>
  1849. <column id="441" parent="247" name="type">
  1850. <Comment>类型:1-邮件群发</Comment>
  1851. <NotNull>1</NotNull>
  1852. <Position>2</Position>
  1853. <StoredType>tinyint(1)|0s</StoredType>
  1854. </column>
  1855. <column id="442" parent="247" name="receiver">
  1856. <Comment>接收者</Comment>
  1857. <NotNull>1</NotNull>
  1858. <Position>3</Position>
  1859. <StoredType>text|0s</StoredType>
  1860. </column>
  1861. <column id="443" parent="247" name="title">
  1862. <Comment>标题</Comment>
  1863. <NotNull>1</NotNull>
  1864. <Position>4</Position>
  1865. <StoredType>varchar(191)|0s</StoredType>
  1866. </column>
  1867. <column id="444" parent="247" name="content">
  1868. <Comment>内容</Comment>
  1869. <NotNull>1</NotNull>
  1870. <Position>5</Position>
  1871. <StoredType>text|0s</StoredType>
  1872. </column>
  1873. <column id="445" parent="247" name="error">
  1874. <Comment>错误信息</Comment>
  1875. <Position>6</Position>
  1876. <StoredType>varchar(191)|0s</StoredType>
  1877. </column>
  1878. <column id="446" parent="247" name="status">
  1879. <Comment>状态:-1-失败、0-待发送、1-成功</Comment>
  1880. <NotNull>1</NotNull>
  1881. <Position>7</Position>
  1882. <StoredType>tinyint(1)|0s</StoredType>
  1883. </column>
  1884. <column id="447" parent="247" name="created_at">
  1885. <Comment>创建时间</Comment>
  1886. <NotNull>1</NotNull>
  1887. <Position>8</Position>
  1888. <StoredType>datetime|0s</StoredType>
  1889. </column>
  1890. <column id="448" parent="247" name="updated_at">
  1891. <Comment>最后更新时间</Comment>
  1892. <NotNull>1</NotNull>
  1893. <Position>9</Position>
  1894. <StoredType>datetime|0s</StoredType>
  1895. </column>
  1896. <index id="449" parent="247" name="PRIMARY">
  1897. <ColNames>id</ColNames>
  1898. <Type>btree</Type>
  1899. <Unique>1</Unique>
  1900. </index>
  1901. <key id="450" parent="247" name="PRIMARY">
  1902. <NameSurrogate>1</NameSurrogate>
  1903. <Primary>1</Primary>
  1904. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1905. </key>
  1906. <column id="451" parent="248" name="id">
  1907. <AutoIncrement>62</AutoIncrement>
  1908. <NotNull>1</NotNull>
  1909. <Position>1</Position>
  1910. <StoredType>int(10) unsigned|0s</StoredType>
  1911. </column>
  1912. <column id="452" parent="248" name="migration">
  1913. <NotNull>1</NotNull>
  1914. <Position>2</Position>
  1915. <StoredType>varchar(191)|0s</StoredType>
  1916. </column>
  1917. <column id="453" parent="248" name="batch">
  1918. <NotNull>1</NotNull>
  1919. <Position>3</Position>
  1920. <StoredType>int(11)|0s</StoredType>
  1921. </column>
  1922. <index id="454" parent="248" name="PRIMARY">
  1923. <ColNames>id</ColNames>
  1924. <Type>btree</Type>
  1925. <Unique>1</Unique>
  1926. </index>
  1927. <key id="455" parent="248" name="PRIMARY">
  1928. <NameSurrogate>1</NameSurrogate>
  1929. <Primary>1</Primary>
  1930. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1931. </key>
  1932. <column id="456" parent="249" name="permission_id">
  1933. <NotNull>1</NotNull>
  1934. <Position>1</Position>
  1935. <StoredType>bigint(20) unsigned|0s</StoredType>
  1936. </column>
  1937. <column id="457" parent="249" name="model_type">
  1938. <NotNull>1</NotNull>
  1939. <Position>2</Position>
  1940. <StoredType>varchar(191)|0s</StoredType>
  1941. </column>
  1942. <column id="458" parent="249" name="model_id">
  1943. <NotNull>1</NotNull>
  1944. <Position>3</Position>
  1945. <StoredType>bigint(20) unsigned|0s</StoredType>
  1946. </column>
  1947. <foreign-key id="459" parent="249" name="model_has_permissions_ibfk_1">
  1948. <ColNames>permission_id</ColNames>
  1949. <OnDelete>cascade</OnDelete>
  1950. <RefColNames>id</RefColNames>
  1951. <RefTableName>permissions</RefTableName>
  1952. </foreign-key>
  1953. <index id="460" parent="249" name="PRIMARY">
  1954. <ColNames>permission_id
  1955. model_id
  1956. model_type</ColNames>
  1957. <Type>btree</Type>
  1958. <Unique>1</Unique>
  1959. </index>
  1960. <index id="461" parent="249" name="model_has_permissions_model_id_model_type_index">
  1961. <ColNames>model_id
  1962. model_type</ColNames>
  1963. <Type>btree</Type>
  1964. </index>
  1965. <key id="462" parent="249" name="PRIMARY">
  1966. <NameSurrogate>1</NameSurrogate>
  1967. <Primary>1</Primary>
  1968. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  1969. </key>
  1970. <column id="463" parent="250" name="role_id">
  1971. <NotNull>1</NotNull>
  1972. <Position>1</Position>
  1973. <StoredType>bigint(20) unsigned|0s</StoredType>
  1974. </column>
  1975. <column id="464" parent="250" name="model_type">
  1976. <NotNull>1</NotNull>
  1977. <Position>2</Position>
  1978. <StoredType>varchar(191)|0s</StoredType>
  1979. </column>
  1980. <column id="465" parent="250" name="model_id">
  1981. <NotNull>1</NotNull>
  1982. <Position>3</Position>
  1983. <StoredType>bigint(20) unsigned|0s</StoredType>
  1984. </column>
  1985. <foreign-key id="466" parent="250" name="model_has_roles_ibfk_1">
  1986. <ColNames>role_id</ColNames>
  1987. <OnDelete>cascade</OnDelete>
  1988. <RefColNames>id</RefColNames>
  1989. <RefTableName>roles</RefTableName>
  1990. </foreign-key>
  1991. <index id="467" parent="250" name="PRIMARY">
  1992. <ColNames>role_id
  1993. model_id
  1994. model_type</ColNames>
  1995. <Type>btree</Type>
  1996. <Unique>1</Unique>
  1997. </index>
  1998. <index id="468" parent="250" name="model_has_roles_model_id_model_type_index">
  1999. <ColNames>model_id
  2000. model_type</ColNames>
  2001. <Type>btree</Type>
  2002. </index>
  2003. <key id="469" parent="250" name="PRIMARY">
  2004. <NameSurrogate>1</NameSurrogate>
  2005. <Primary>1</Primary>
  2006. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2007. </key>
  2008. <column id="470" parent="251" name="id">
  2009. <AutoIncrement>1019</AutoIncrement>
  2010. <NotNull>1</NotNull>
  2011. <Position>1</Position>
  2012. <StoredType>int(10) unsigned|0s</StoredType>
  2013. </column>
  2014. <column id="471" parent="251" name="type">
  2015. <Comment>服务类型:1-Shadowsocks(R)、2-V2ray、3-Trojan、4-VNet</Comment>
  2016. <DefaultExpression>1</DefaultExpression>
  2017. <NotNull>1</NotNull>
  2018. <Position>2</Position>
  2019. <StoredType>tinyint(1)|0s</StoredType>
  2020. </column>
  2021. <column id="472" parent="251" name="name">
  2022. <Comment>名称</Comment>
  2023. <NotNull>1</NotNull>
  2024. <Position>3</Position>
  2025. <StoredType>varchar(128)|0s</StoredType>
  2026. </column>
  2027. <column id="473" parent="251" name="country_code">
  2028. <Comment>国家代码</Comment>
  2029. <DefaultExpression>&apos;un&apos;</DefaultExpression>
  2030. <NotNull>1</NotNull>
  2031. <Position>4</Position>
  2032. <StoredType>char(5)|0s</StoredType>
  2033. </column>
  2034. <column id="474" parent="251" name="server">
  2035. <Comment>服务器域名地址</Comment>
  2036. <Position>5</Position>
  2037. <StoredType>varchar(191)|0s</StoredType>
  2038. </column>
  2039. <column id="475" parent="251" name="ip">
  2040. <Comment>服务器IPV4地址</Comment>
  2041. <Position>6</Position>
  2042. <StoredType>varchar(45)|0s</StoredType>
  2043. </column>
  2044. <column id="476" parent="251" name="ipv6">
  2045. <Comment>服务器IPV6地址</Comment>
  2046. <Position>7</Position>
  2047. <StoredType>varchar(45)|0s</StoredType>
  2048. </column>
  2049. <column id="477" parent="251" name="level">
  2050. <Comment>等级:0-无等级,全部可见</Comment>
  2051. <DefaultExpression>0</DefaultExpression>
  2052. <NotNull>1</NotNull>
  2053. <Position>8</Position>
  2054. <StoredType>tinyint(3) unsigned|0s</StoredType>
  2055. </column>
  2056. <column id="478" parent="251" name="rule_group_id">
  2057. <Comment>从属规则分组ID</Comment>
  2058. <Position>9</Position>
  2059. <StoredType>int(10) unsigned|0s</StoredType>
  2060. </column>
  2061. <column id="479" parent="251" name="speed_limit">
  2062. <Comment>节点限速,为0表示不限速,单位Byte</Comment>
  2063. <DefaultExpression>0</DefaultExpression>
  2064. <NotNull>1</NotNull>
  2065. <Position>10</Position>
  2066. <StoredType>bigint(20) unsigned|0s</StoredType>
  2067. </column>
  2068. <column id="480" parent="251" name="client_limit">
  2069. <Comment>设备数限制</Comment>
  2070. <DefaultExpression>0</DefaultExpression>
  2071. <NotNull>1</NotNull>
  2072. <Position>11</Position>
  2073. <StoredType>smallint(5) unsigned|0s</StoredType>
  2074. </column>
  2075. <column id="481" parent="251" name="relay_server">
  2076. <Comment>中转地址</Comment>
  2077. <Position>12</Position>
  2078. <StoredType>varchar(191)|0s</StoredType>
  2079. </column>
  2080. <column id="482" parent="251" name="relay_port">
  2081. <Comment>中转端口</Comment>
  2082. <Position>13</Position>
  2083. <StoredType>smallint(5) unsigned|0s</StoredType>
  2084. </column>
  2085. <column id="483" parent="251" name="description">
  2086. <Comment>节点简单描述</Comment>
  2087. <Position>14</Position>
  2088. <StoredType>varchar(191)|0s</StoredType>
  2089. </column>
  2090. <column id="484" parent="251" name="geo">
  2091. <Comment>节点地理位置</Comment>
  2092. <Position>15</Position>
  2093. <StoredType>varchar(191)|0s</StoredType>
  2094. </column>
  2095. <column id="485" parent="251" name="method">
  2096. <Comment>加密方式</Comment>
  2097. <DefaultExpression>&apos;aes-256-cfb&apos;</DefaultExpression>
  2098. <NotNull>1</NotNull>
  2099. <Position>16</Position>
  2100. <StoredType>varchar(32)|0s</StoredType>
  2101. </column>
  2102. <column id="486" parent="251" name="protocol">
  2103. <Comment>协议</Comment>
  2104. <DefaultExpression>&apos;origin&apos;</DefaultExpression>
  2105. <NotNull>1</NotNull>
  2106. <Position>17</Position>
  2107. <StoredType>varchar(64)|0s</StoredType>
  2108. </column>
  2109. <column id="487" parent="251" name="protocol_param">
  2110. <Comment>协议参数</Comment>
  2111. <Position>18</Position>
  2112. <StoredType>varchar(128)|0s</StoredType>
  2113. </column>
  2114. <column id="488" parent="251" name="obfs">
  2115. <Comment>混淆</Comment>
  2116. <DefaultExpression>&apos;plain&apos;</DefaultExpression>
  2117. <NotNull>1</NotNull>
  2118. <Position>19</Position>
  2119. <StoredType>varchar(64)|0s</StoredType>
  2120. </column>
  2121. <column id="489" parent="251" name="obfs_param">
  2122. <Comment>混淆参数</Comment>
  2123. <Position>20</Position>
  2124. <StoredType>varchar(191)|0s</StoredType>
  2125. </column>
  2126. <column id="490" parent="251" name="traffic_rate">
  2127. <Comment>流量比率</Comment>
  2128. <DefaultExpression>1.00</DefaultExpression>
  2129. <NotNull>1</NotNull>
  2130. <Position>21</Position>
  2131. <StoredType>double(6,2 digit) unsigned|0s</StoredType>
  2132. </column>
  2133. <column id="491" parent="251" name="is_subscribe">
  2134. <Comment>是否允许用户订阅该节点:0-否、1-是</Comment>
  2135. <DefaultExpression>1</DefaultExpression>
  2136. <NotNull>1</NotNull>
  2137. <Position>22</Position>
  2138. <StoredType>tinyint(1)|0s</StoredType>
  2139. </column>
  2140. <column id="492" parent="251" name="is_ddns">
  2141. <Comment>是否使用DDNS:0-否、1-是</Comment>
  2142. <DefaultExpression>0</DefaultExpression>
  2143. <NotNull>1</NotNull>
  2144. <Position>23</Position>
  2145. <StoredType>tinyint(1)|0s</StoredType>
  2146. </column>
  2147. <column id="493" parent="251" name="is_relay">
  2148. <Comment>是否中转节点:0-否、1-是</Comment>
  2149. <DefaultExpression>0</DefaultExpression>
  2150. <NotNull>1</NotNull>
  2151. <Position>24</Position>
  2152. <StoredType>tinyint(1)|0s</StoredType>
  2153. </column>
  2154. <column id="494" parent="251" name="is_udp">
  2155. <Comment>是否启用UDP:0-不启用、1-启用</Comment>
  2156. <DefaultExpression>1</DefaultExpression>
  2157. <NotNull>1</NotNull>
  2158. <Position>25</Position>
  2159. <StoredType>tinyint(1)|0s</StoredType>
  2160. </column>
  2161. <column id="495" parent="251" name="push_port">
  2162. <Comment>消息推送端口</Comment>
  2163. <DefaultExpression>1000</DefaultExpression>
  2164. <NotNull>1</NotNull>
  2165. <Position>26</Position>
  2166. <StoredType>smallint(5) unsigned|0s</StoredType>
  2167. </column>
  2168. <column id="496" parent="251" name="detection_type">
  2169. <Comment>节点检测: 0-关闭、1-只检测TCP、2-只检测ICMP、3-检测全部</Comment>
  2170. <DefaultExpression>1</DefaultExpression>
  2171. <NotNull>1</NotNull>
  2172. <Position>27</Position>
  2173. <StoredType>tinyint(1)|0s</StoredType>
  2174. </column>
  2175. <column id="497" parent="251" name="compatible">
  2176. <Comment>兼容SS</Comment>
  2177. <DefaultExpression>0</DefaultExpression>
  2178. <NotNull>1</NotNull>
  2179. <Position>28</Position>
  2180. <StoredType>tinyint(1)|0s</StoredType>
  2181. </column>
  2182. <column id="498" parent="251" name="single">
  2183. <Comment>启用单端口功能:0-否、1-是</Comment>
  2184. <DefaultExpression>0</DefaultExpression>
  2185. <NotNull>1</NotNull>
  2186. <Position>29</Position>
  2187. <StoredType>tinyint(1)|0s</StoredType>
  2188. </column>
  2189. <column id="499" parent="251" name="port">
  2190. <Comment>单端口的端口号或连接端口号</Comment>
  2191. <Position>30</Position>
  2192. <StoredType>smallint(5) unsigned|0s</StoredType>
  2193. </column>
  2194. <column id="500" parent="251" name="passwd">
  2195. <Comment>单端口的连接密码</Comment>
  2196. <Position>31</Position>
  2197. <StoredType>varchar(191)|0s</StoredType>
  2198. </column>
  2199. <column id="501" parent="251" name="sort">
  2200. <Comment>排序值,值越大越靠前显示</Comment>
  2201. <DefaultExpression>0</DefaultExpression>
  2202. <NotNull>1</NotNull>
  2203. <Position>32</Position>
  2204. <StoredType>tinyint(3) unsigned|0s</StoredType>
  2205. </column>
  2206. <column id="502" parent="251" name="status">
  2207. <Comment>状态:0-维护、1-正常</Comment>
  2208. <DefaultExpression>1</DefaultExpression>
  2209. <NotNull>1</NotNull>
  2210. <Position>33</Position>
  2211. <StoredType>tinyint(1)|0s</StoredType>
  2212. </column>
  2213. <column id="503" parent="251" name="v2_alter_id">
  2214. <Comment>V2Ray额外ID</Comment>
  2215. <DefaultExpression>16</DefaultExpression>
  2216. <NotNull>1</NotNull>
  2217. <Position>34</Position>
  2218. <StoredType>smallint(5) unsigned|0s</StoredType>
  2219. </column>
  2220. <column id="504" parent="251" name="v2_port">
  2221. <Comment>V2Ray服务端口</Comment>
  2222. <DefaultExpression>0</DefaultExpression>
  2223. <NotNull>1</NotNull>
  2224. <Position>35</Position>
  2225. <StoredType>smallint(5) unsigned|0s</StoredType>
  2226. </column>
  2227. <column id="505" parent="251" name="v2_method">
  2228. <Comment>V2Ray加密方式</Comment>
  2229. <DefaultExpression>&apos;aes-128-gcm&apos;</DefaultExpression>
  2230. <NotNull>1</NotNull>
  2231. <Position>36</Position>
  2232. <StoredType>varchar(32)|0s</StoredType>
  2233. </column>
  2234. <column id="506" parent="251" name="v2_net">
  2235. <Comment>V2Ray传输协议</Comment>
  2236. <DefaultExpression>&apos;tcp&apos;</DefaultExpression>
  2237. <NotNull>1</NotNull>
  2238. <Position>37</Position>
  2239. <StoredType>varchar(16)|0s</StoredType>
  2240. </column>
  2241. <column id="507" parent="251" name="v2_type">
  2242. <Comment>V2Ray伪装类型</Comment>
  2243. <DefaultExpression>&apos;none&apos;</DefaultExpression>
  2244. <NotNull>1</NotNull>
  2245. <Position>38</Position>
  2246. <StoredType>varchar(32)|0s</StoredType>
  2247. </column>
  2248. <column id="508" parent="251" name="v2_host">
  2249. <Comment>V2Ray伪装的域名</Comment>
  2250. <Position>39</Position>
  2251. <StoredType>varchar(191)|0s</StoredType>
  2252. </column>
  2253. <column id="509" parent="251" name="v2_path">
  2254. <Comment>V2Ray的WS/H2路径</Comment>
  2255. <Position>40</Position>
  2256. <StoredType>varchar(191)|0s</StoredType>
  2257. </column>
  2258. <column id="510" parent="251" name="v2_tls">
  2259. <Comment>V2Ray连接TLS:0-未开启、1-开启</Comment>
  2260. <DefaultExpression>0</DefaultExpression>
  2261. <NotNull>1</NotNull>
  2262. <Position>41</Position>
  2263. <StoredType>tinyint(1)|0s</StoredType>
  2264. </column>
  2265. <column id="511" parent="251" name="tls_provider">
  2266. <Comment>V2Ray节点的TLS提供商授权信息</Comment>
  2267. <Position>42</Position>
  2268. <StoredType>text|0s</StoredType>
  2269. </column>
  2270. <column id="512" parent="251" name="created_at">
  2271. <Comment>创建时间</Comment>
  2272. <NotNull>1</NotNull>
  2273. <Position>43</Position>
  2274. <StoredType>datetime|0s</StoredType>
  2275. </column>
  2276. <column id="513" parent="251" name="updated_at">
  2277. <Comment>最后更新时间</Comment>
  2278. <NotNull>1</NotNull>
  2279. <Position>44</Position>
  2280. <StoredType>datetime|0s</StoredType>
  2281. </column>
  2282. <column id="514" parent="251" name="v2_sni">
  2283. <Position>45</Position>
  2284. <StoredType>varchar(128)|0s</StoredType>
  2285. </column>
  2286. <column id="515" parent="251" name="vless">
  2287. <DefaultExpression>0</DefaultExpression>
  2288. <Position>46</Position>
  2289. <StoredType>tinyint(1)|0s</StoredType>
  2290. </column>
  2291. <column id="516" parent="251" name="vless_privateKey">
  2292. <Comment>密钥key</Comment>
  2293. <DefaultExpression>&apos;CA0mAkV9j_9_hOSEmoAtMyZlcYJml39WNQmrP6iPVEo&apos;</DefaultExpression>
  2294. <Position>47</Position>
  2295. <StoredType>varchar(128)|0s</StoredType>
  2296. </column>
  2297. <column id="517" parent="251" name="vless_pulkey">
  2298. <Comment>公钥</Comment>
  2299. <DefaultExpression>&apos;BJA3WEhDZzV1OQbhjhkKtHvYyqiscj3xPvNnIB1UizM&apos;</DefaultExpression>
  2300. <Position>48</Position>
  2301. <StoredType>varchar(128)|0s</StoredType>
  2302. </column>
  2303. <column id="518" parent="251" name="shortIds">
  2304. <Position>49</Position>
  2305. <StoredType>varchar(128)|0s</StoredType>
  2306. </column>
  2307. <foreign-key id="519" parent="251" name="node_ibfk_1">
  2308. <ColNames>rule_group_id</ColNames>
  2309. <OnDelete>set-null</OnDelete>
  2310. <RefColNames>id</RefColNames>
  2311. <RefTableName>rule_group</RefTableName>
  2312. </foreign-key>
  2313. <index id="520" parent="251" name="PRIMARY">
  2314. <ColNames>id</ColNames>
  2315. <Type>btree</Type>
  2316. <Unique>1</Unique>
  2317. </index>
  2318. <index id="521" parent="251" name="ss_node_type_index">
  2319. <ColNames>type</ColNames>
  2320. <Type>btree</Type>
  2321. </index>
  2322. <index id="522" parent="251" name="ss_node_rule_group_id_foreign">
  2323. <ColNames>rule_group_id</ColNames>
  2324. <Type>btree</Type>
  2325. </index>
  2326. <index id="523" parent="251" name="ss_node_is_subscribe_index">
  2327. <ColNames>is_subscribe</ColNames>
  2328. <Type>btree</Type>
  2329. </index>
  2330. <key id="524" parent="251" name="PRIMARY">
  2331. <NameSurrogate>1</NameSurrogate>
  2332. <Primary>1</Primary>
  2333. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2334. </key>
  2335. <column id="525" parent="252" name="id">
  2336. <AutoIncrement>1019</AutoIncrement>
  2337. <NotNull>1</NotNull>
  2338. <Position>1</Position>
  2339. <StoredType>int(10) unsigned|0s</StoredType>
  2340. </column>
  2341. <column id="526" parent="252" name="node_id">
  2342. <Comment>授权节点ID</Comment>
  2343. <NotNull>1</NotNull>
  2344. <Position>2</Position>
  2345. <StoredType>int(10) unsigned|0s</StoredType>
  2346. </column>
  2347. <column id="527" parent="252" name="key">
  2348. <Comment>认证KEY</Comment>
  2349. <NotNull>1</NotNull>
  2350. <Position>3</Position>
  2351. <StoredType>char(16)|0s</StoredType>
  2352. </column>
  2353. <column id="528" parent="252" name="secret">
  2354. <Comment>通信密钥</Comment>
  2355. <NotNull>1</NotNull>
  2356. <Position>4</Position>
  2357. <StoredType>char(8)|0s</StoredType>
  2358. </column>
  2359. <column id="529" parent="252" name="created_at">
  2360. <Comment>创建时间</Comment>
  2361. <NotNull>1</NotNull>
  2362. <Position>5</Position>
  2363. <StoredType>datetime|0s</StoredType>
  2364. </column>
  2365. <column id="530" parent="252" name="updated_at">
  2366. <Comment>最后更新时间</Comment>
  2367. <NotNull>1</NotNull>
  2368. <Position>6</Position>
  2369. <StoredType>datetime|0s</StoredType>
  2370. </column>
  2371. <foreign-key id="531" parent="252" name="node_auth_ibfk_1">
  2372. <ColNames>node_id</ColNames>
  2373. <OnDelete>cascade</OnDelete>
  2374. <RefColNames>id</RefColNames>
  2375. <RefTableName>node</RefTableName>
  2376. </foreign-key>
  2377. <index id="532" parent="252" name="PRIMARY">
  2378. <ColNames>id</ColNames>
  2379. <Type>btree</Type>
  2380. <Unique>1</Unique>
  2381. </index>
  2382. <index id="533" parent="252" name="node_auth_node_id_foreign">
  2383. <ColNames>node_id</ColNames>
  2384. <Type>btree</Type>
  2385. </index>
  2386. <key id="534" parent="252" name="PRIMARY">
  2387. <NameSurrogate>1</NameSurrogate>
  2388. <Primary>1</Primary>
  2389. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2390. </key>
  2391. <column id="535" parent="253" name="id">
  2392. <AutoIncrement>2</AutoIncrement>
  2393. <NotNull>1</NotNull>
  2394. <Position>1</Position>
  2395. <StoredType>int(10) unsigned|0s</StoredType>
  2396. </column>
  2397. <column id="536" parent="253" name="domain">
  2398. <Comment>域名</Comment>
  2399. <NotNull>1</NotNull>
  2400. <Position>2</Position>
  2401. <StoredType>varchar(191)|0s</StoredType>
  2402. </column>
  2403. <column id="537" parent="253" name="key">
  2404. <Comment>域名证书KEY</Comment>
  2405. <Position>3</Position>
  2406. <StoredType>text|0s</StoredType>
  2407. </column>
  2408. <column id="538" parent="253" name="pem">
  2409. <Comment>域名证书PEM</Comment>
  2410. <Position>4</Position>
  2411. <StoredType>text|0s</StoredType>
  2412. </column>
  2413. <column id="539" parent="253" name="created_at">
  2414. <Comment>创建时间</Comment>
  2415. <NotNull>1</NotNull>
  2416. <Position>5</Position>
  2417. <StoredType>datetime|0s</StoredType>
  2418. </column>
  2419. <column id="540" parent="253" name="updated_at">
  2420. <Comment>最后更新时间</Comment>
  2421. <NotNull>1</NotNull>
  2422. <Position>6</Position>
  2423. <StoredType>datetime|0s</StoredType>
  2424. </column>
  2425. <index id="541" parent="253" name="PRIMARY">
  2426. <ColNames>id</ColNames>
  2427. <Type>btree</Type>
  2428. <Unique>1</Unique>
  2429. </index>
  2430. <index id="542" parent="253" name="node_certificate_domain_unique">
  2431. <ColNames>domain</ColNames>
  2432. <Type>btree</Type>
  2433. <Unique>1</Unique>
  2434. </index>
  2435. <key id="543" parent="253" name="PRIMARY">
  2436. <NameSurrogate>1</NameSurrogate>
  2437. <Primary>1</Primary>
  2438. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2439. </key>
  2440. <key id="544" parent="253" name="node_certificate_domain_unique">
  2441. <UnderlyingIndexName>node_certificate_domain_unique</UnderlyingIndexName>
  2442. </key>
  2443. <column id="545" parent="254" name="id">
  2444. <AutoIncrement>144098</AutoIncrement>
  2445. <NotNull>1</NotNull>
  2446. <Position>1</Position>
  2447. <StoredType>int(10) unsigned|0s</StoredType>
  2448. </column>
  2449. <column id="546" parent="254" name="node_id">
  2450. <Comment>节点ID</Comment>
  2451. <DefaultExpression>0</DefaultExpression>
  2452. <NotNull>1</NotNull>
  2453. <Position>2</Position>
  2454. <StoredType>int(10) unsigned|0s</StoredType>
  2455. </column>
  2456. <column id="547" parent="254" name="u">
  2457. <Comment>上传流量</Comment>
  2458. <DefaultExpression>0</DefaultExpression>
  2459. <NotNull>1</NotNull>
  2460. <Position>3</Position>
  2461. <StoredType>bigint(20) unsigned|0s</StoredType>
  2462. </column>
  2463. <column id="548" parent="254" name="d">
  2464. <Comment>下载流量</Comment>
  2465. <DefaultExpression>0</DefaultExpression>
  2466. <NotNull>1</NotNull>
  2467. <Position>4</Position>
  2468. <StoredType>bigint(20) unsigned|0s</StoredType>
  2469. </column>
  2470. <column id="549" parent="254" name="total">
  2471. <Comment>总流量</Comment>
  2472. <DefaultExpression>0</DefaultExpression>
  2473. <NotNull>1</NotNull>
  2474. <Position>5</Position>
  2475. <StoredType>bigint(20) unsigned|0s</StoredType>
  2476. </column>
  2477. <column id="550" parent="254" name="traffic">
  2478. <Comment>总流量(带单位)</Comment>
  2479. <Position>6</Position>
  2480. <StoredType>varchar(191)|0s</StoredType>
  2481. </column>
  2482. <column id="551" parent="254" name="created_at">
  2483. <Comment>创建时间</Comment>
  2484. <NotNull>1</NotNull>
  2485. <Position>7</Position>
  2486. <StoredType>datetime|0s</StoredType>
  2487. </column>
  2488. <foreign-key id="552" parent="254" name="node_daily_data_flow_ibfk_1">
  2489. <ColNames>node_id</ColNames>
  2490. <OnDelete>cascade</OnDelete>
  2491. <RefColNames>id</RefColNames>
  2492. <RefTableName>node</RefTableName>
  2493. </foreign-key>
  2494. <index id="553" parent="254" name="PRIMARY">
  2495. <ColNames>id</ColNames>
  2496. <Type>btree</Type>
  2497. <Unique>1</Unique>
  2498. </index>
  2499. <index id="554" parent="254" name="node_daily_data_flow_node_id_index">
  2500. <ColNames>node_id</ColNames>
  2501. <Type>btree</Type>
  2502. </index>
  2503. <key id="555" parent="254" name="PRIMARY">
  2504. <NameSurrogate>1</NameSurrogate>
  2505. <Primary>1</Primary>
  2506. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2507. </key>
  2508. <column id="556" parent="255" name="id">
  2509. <AutoIncrement>232071047</AutoIncrement>
  2510. <NotNull>1</NotNull>
  2511. <Position>1</Position>
  2512. <StoredType>int(10) unsigned|0s</StoredType>
  2513. </column>
  2514. <column id="557" parent="255" name="node_id">
  2515. <Comment>节点ID</Comment>
  2516. <DefaultExpression>0</DefaultExpression>
  2517. <NotNull>1</NotNull>
  2518. <Position>2</Position>
  2519. <StoredType>int(10) unsigned|0s</StoredType>
  2520. </column>
  2521. <column id="558" parent="255" name="uptime">
  2522. <Comment>后端存活时长,单位秒</Comment>
  2523. <NotNull>1</NotNull>
  2524. <Position>3</Position>
  2525. <StoredType>int(10) unsigned|0s</StoredType>
  2526. </column>
  2527. <column id="559" parent="255" name="load">
  2528. <Comment>负载</Comment>
  2529. <NotNull>1</NotNull>
  2530. <Position>4</Position>
  2531. <StoredType>varchar(191)|0s</StoredType>
  2532. </column>
  2533. <column id="560" parent="255" name="log_time">
  2534. <Comment>记录时间</Comment>
  2535. <NotNull>1</NotNull>
  2536. <Position>5</Position>
  2537. <StoredType>int(10) unsigned|0s</StoredType>
  2538. </column>
  2539. <foreign-key id="561" parent="255" name="node_heartbeat_ibfk_1">
  2540. <ColNames>node_id</ColNames>
  2541. <OnDelete>cascade</OnDelete>
  2542. <RefColNames>id</RefColNames>
  2543. <RefTableName>node</RefTableName>
  2544. </foreign-key>
  2545. <index id="562" parent="255" name="PRIMARY">
  2546. <ColNames>id</ColNames>
  2547. <Type>btree</Type>
  2548. <Unique>1</Unique>
  2549. </index>
  2550. <index id="563" parent="255" name="ss_node_info_node_id_index">
  2551. <ColNames>node_id</ColNames>
  2552. <Type>btree</Type>
  2553. </index>
  2554. <key id="564" parent="255" name="PRIMARY">
  2555. <NameSurrogate>1</NameSurrogate>
  2556. <Primary>1</Primary>
  2557. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2558. </key>
  2559. <column id="565" parent="256" name="id">
  2560. <AutoIncrement>3443408</AutoIncrement>
  2561. <NotNull>1</NotNull>
  2562. <Position>1</Position>
  2563. <StoredType>int(10) unsigned|0s</StoredType>
  2564. </column>
  2565. <column id="566" parent="256" name="node_id">
  2566. <Comment>节点ID</Comment>
  2567. <DefaultExpression>0</DefaultExpression>
  2568. <NotNull>1</NotNull>
  2569. <Position>2</Position>
  2570. <StoredType>int(10) unsigned|0s</StoredType>
  2571. </column>
  2572. <column id="567" parent="256" name="u">
  2573. <Comment>上传流量</Comment>
  2574. <DefaultExpression>0</DefaultExpression>
  2575. <NotNull>1</NotNull>
  2576. <Position>3</Position>
  2577. <StoredType>bigint(20) unsigned|0s</StoredType>
  2578. </column>
  2579. <column id="568" parent="256" name="d">
  2580. <Comment>下载流量</Comment>
  2581. <DefaultExpression>0</DefaultExpression>
  2582. <NotNull>1</NotNull>
  2583. <Position>4</Position>
  2584. <StoredType>bigint(20) unsigned|0s</StoredType>
  2585. </column>
  2586. <column id="569" parent="256" name="total">
  2587. <Comment>总流量</Comment>
  2588. <DefaultExpression>0</DefaultExpression>
  2589. <NotNull>1</NotNull>
  2590. <Position>5</Position>
  2591. <StoredType>bigint(20) unsigned|0s</StoredType>
  2592. </column>
  2593. <column id="570" parent="256" name="traffic">
  2594. <Comment>总流量(带单位)</Comment>
  2595. <Position>6</Position>
  2596. <StoredType>varchar(191)|0s</StoredType>
  2597. </column>
  2598. <column id="571" parent="256" name="created_at">
  2599. <Comment>创建时间</Comment>
  2600. <NotNull>1</NotNull>
  2601. <Position>7</Position>
  2602. <StoredType>datetime|0s</StoredType>
  2603. </column>
  2604. <foreign-key id="572" parent="256" name="node_hourly_data_flow_ibfk_1">
  2605. <ColNames>node_id</ColNames>
  2606. <OnDelete>cascade</OnDelete>
  2607. <RefColNames>id</RefColNames>
  2608. <RefTableName>node</RefTableName>
  2609. </foreign-key>
  2610. <index id="573" parent="256" name="PRIMARY">
  2611. <ColNames>id</ColNames>
  2612. <Type>btree</Type>
  2613. <Unique>1</Unique>
  2614. </index>
  2615. <index id="574" parent="256" name="node_hourly_data_flow_node_id_index">
  2616. <ColNames>node_id</ColNames>
  2617. <Type>btree</Type>
  2618. </index>
  2619. <key id="575" parent="256" name="PRIMARY">
  2620. <NameSurrogate>1</NameSurrogate>
  2621. <Primary>1</Primary>
  2622. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2623. </key>
  2624. <column id="576" parent="257" name="id">
  2625. <AutoIncrement>2558543450</AutoIncrement>
  2626. <NotNull>1</NotNull>
  2627. <Position>1</Position>
  2628. <StoredType>int(10) unsigned|0s</StoredType>
  2629. </column>
  2630. <column id="577" parent="257" name="node_id">
  2631. <Comment>节点ID</Comment>
  2632. <DefaultExpression>0</DefaultExpression>
  2633. <NotNull>1</NotNull>
  2634. <Position>2</Position>
  2635. <StoredType>int(10) unsigned|0s</StoredType>
  2636. </column>
  2637. <column id="578" parent="257" name="user_id">
  2638. <Comment>用户ID</Comment>
  2639. <Position>3</Position>
  2640. <StoredType>int(10) unsigned|0s</StoredType>
  2641. </column>
  2642. <column id="579" parent="257" name="port">
  2643. <Comment>端口</Comment>
  2644. <DefaultExpression>0</DefaultExpression>
  2645. <NotNull>1</NotNull>
  2646. <Position>4</Position>
  2647. <StoredType>smallint(5) unsigned|0s</StoredType>
  2648. </column>
  2649. <column id="580" parent="257" name="type">
  2650. <Comment>类型:all、tcp、udp</Comment>
  2651. <DefaultExpression>&apos;tcp&apos;</DefaultExpression>
  2652. <NotNull>1</NotNull>
  2653. <Position>5</Position>
  2654. <StoredType>char(3)|0s</StoredType>
  2655. </column>
  2656. <column id="581" parent="257" name="ip">
  2657. <Comment>连接IP:每个IP用,号隔开</Comment>
  2658. <Position>6</Position>
  2659. <StoredType>text|0s</StoredType>
  2660. </column>
  2661. <column id="582" parent="257" name="created_at">
  2662. <Comment>上报时间</Comment>
  2663. <DefaultExpression>0</DefaultExpression>
  2664. <NotNull>1</NotNull>
  2665. <Position>7</Position>
  2666. <StoredType>int(10) unsigned|0s</StoredType>
  2667. </column>
  2668. <foreign-key id="583" parent="257" name="ss_node_ip_node_id_foreign">
  2669. <ColNames>node_id</ColNames>
  2670. <OnDelete>cascade</OnDelete>
  2671. <RefColNames>id</RefColNames>
  2672. <RefTableName>node</RefTableName>
  2673. </foreign-key>
  2674. <foreign-key id="584" parent="257" name="ss_node_ip_user_id_foreign">
  2675. <ColNames>user_id</ColNames>
  2676. <OnDelete>cascade</OnDelete>
  2677. <RefColNames>id</RefColNames>
  2678. <RefTableName>user</RefTableName>
  2679. </foreign-key>
  2680. <index id="585" parent="257" name="PRIMARY">
  2681. <ColNames>id</ColNames>
  2682. <Type>btree</Type>
  2683. <Unique>1</Unique>
  2684. </index>
  2685. <index id="586" parent="257" name="ss_node_ip_node_id_index">
  2686. <ColNames>node_id</ColNames>
  2687. <Type>btree</Type>
  2688. </index>
  2689. <index id="587" parent="257" name="ss_node_ip_user_id_index">
  2690. <ColNames>user_id</ColNames>
  2691. <Type>btree</Type>
  2692. </index>
  2693. <index id="588" parent="257" name="ss_node_ip_port_index">
  2694. <ColNames>port</ColNames>
  2695. <Type>btree</Type>
  2696. </index>
  2697. <key id="589" parent="257" name="PRIMARY">
  2698. <NameSurrogate>1</NameSurrogate>
  2699. <Primary>1</Primary>
  2700. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2701. </key>
  2702. <column id="590" parent="258" name="id">
  2703. <AutoIncrement>126471770</AutoIncrement>
  2704. <NotNull>1</NotNull>
  2705. <Position>1</Position>
  2706. <StoredType>int(10) unsigned|0s</StoredType>
  2707. </column>
  2708. <column id="591" parent="258" name="node_id">
  2709. <Comment>节点ID</Comment>
  2710. <NotNull>1</NotNull>
  2711. <Position>2</Position>
  2712. <StoredType>int(10) unsigned|0s</StoredType>
  2713. </column>
  2714. <column id="592" parent="258" name="online_user">
  2715. <Comment>在线用户数</Comment>
  2716. <NotNull>1</NotNull>
  2717. <Position>3</Position>
  2718. <StoredType>int(10) unsigned|0s</StoredType>
  2719. </column>
  2720. <column id="593" parent="258" name="log_time">
  2721. <Comment>记录时间</Comment>
  2722. <NotNull>1</NotNull>
  2723. <Position>4</Position>
  2724. <StoredType>int(10) unsigned|0s</StoredType>
  2725. </column>
  2726. <foreign-key id="594" parent="258" name="ss_node_online_log_node_id_foreign">
  2727. <ColNames>node_id</ColNames>
  2728. <OnDelete>cascade</OnDelete>
  2729. <RefColNames>id</RefColNames>
  2730. <RefTableName>node</RefTableName>
  2731. </foreign-key>
  2732. <index id="595" parent="258" name="PRIMARY">
  2733. <ColNames>id</ColNames>
  2734. <Type>btree</Type>
  2735. <Unique>1</Unique>
  2736. </index>
  2737. <index id="596" parent="258" name="ss_node_online_log_node_id_index">
  2738. <ColNames>node_id</ColNames>
  2739. <Type>btree</Type>
  2740. </index>
  2741. <key id="597" parent="258" name="PRIMARY">
  2742. <NameSurrogate>1</NameSurrogate>
  2743. <Primary>1</Primary>
  2744. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2745. </key>
  2746. <column id="598" parent="259" name="id">
  2747. <AutoIncrement>1</AutoIncrement>
  2748. <NotNull>1</NotNull>
  2749. <Position>1</Position>
  2750. <StoredType>int(10) unsigned|0s</StoredType>
  2751. </column>
  2752. <column id="599" parent="259" name="node_id">
  2753. <Comment>节点ID</Comment>
  2754. <NotNull>1</NotNull>
  2755. <Position>2</Position>
  2756. <StoredType>int(10) unsigned|0s</StoredType>
  2757. </column>
  2758. <column id="600" parent="259" name="user_group_id">
  2759. <Comment>从属用户分组ID</Comment>
  2760. <NotNull>1</NotNull>
  2761. <Position>3</Position>
  2762. <StoredType>int(10) unsigned|0s</StoredType>
  2763. </column>
  2764. <foreign-key id="601" parent="259" name="node_user_group_ibfk_1">
  2765. <ColNames>node_id</ColNames>
  2766. <OnDelete>cascade</OnDelete>
  2767. <RefColNames>id</RefColNames>
  2768. <RefTableName>node</RefTableName>
  2769. </foreign-key>
  2770. <foreign-key id="602" parent="259" name="node_user_group_ibfk_2">
  2771. <ColNames>user_group_id</ColNames>
  2772. <OnDelete>cascade</OnDelete>
  2773. <RefColNames>id</RefColNames>
  2774. <RefTableName>user_group</RefTableName>
  2775. </foreign-key>
  2776. <index id="603" parent="259" name="PRIMARY">
  2777. <ColNames>id</ColNames>
  2778. <Type>btree</Type>
  2779. <Unique>1</Unique>
  2780. </index>
  2781. <index id="604" parent="259" name="node_user_group_user_group_id_node_id_unique">
  2782. <ColNames>user_group_id
  2783. node_id</ColNames>
  2784. <Type>btree</Type>
  2785. <Unique>1</Unique>
  2786. </index>
  2787. <index id="605" parent="259" name="node_user_group_node_id_foreign">
  2788. <ColNames>node_id</ColNames>
  2789. <Type>btree</Type>
  2790. </index>
  2791. <key id="606" parent="259" name="PRIMARY">
  2792. <NameSurrogate>1</NameSurrogate>
  2793. <Primary>1</Primary>
  2794. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2795. </key>
  2796. <key id="607" parent="259" name="node_user_group_user_group_id_node_id_unique">
  2797. <UnderlyingIndexName>node_user_group_user_group_id_node_id_unique</UnderlyingIndexName>
  2798. </key>
  2799. <column id="608" parent="260" name="id">
  2800. <AutoIncrement>1</AutoIncrement>
  2801. <NotNull>1</NotNull>
  2802. <Position>1</Position>
  2803. <StoredType>int(10) unsigned|0s</StoredType>
  2804. </column>
  2805. <column id="609" parent="260" name="type">
  2806. <Comment>类型:1-邮件、2-ServerChan、3-Bark、4-Telegram</Comment>
  2807. <DefaultExpression>1</DefaultExpression>
  2808. <NotNull>1</NotNull>
  2809. <Position>2</Position>
  2810. <StoredType>tinyint(1)|0s</StoredType>
  2811. </column>
  2812. <column id="610" parent="260" name="address">
  2813. <Comment>收信地址</Comment>
  2814. <NotNull>1</NotNull>
  2815. <Position>3</Position>
  2816. <StoredType>varchar(191)|0s</StoredType>
  2817. </column>
  2818. <column id="611" parent="260" name="title">
  2819. <Comment>标题</Comment>
  2820. <NotNull>1</NotNull>
  2821. <Position>4</Position>
  2822. <StoredType>varchar(191)|0s</StoredType>
  2823. </column>
  2824. <column id="612" parent="260" name="content">
  2825. <Comment>内容</Comment>
  2826. <NotNull>1</NotNull>
  2827. <Position>5</Position>
  2828. <StoredType>text|0s</StoredType>
  2829. </column>
  2830. <column id="613" parent="260" name="status">
  2831. <Comment>状态:-1发送失败、0-等待发送、1-发送成功</Comment>
  2832. <DefaultExpression>0</DefaultExpression>
  2833. <NotNull>1</NotNull>
  2834. <Position>6</Position>
  2835. <StoredType>tinyint(1)|0s</StoredType>
  2836. </column>
  2837. <column id="614" parent="260" name="error">
  2838. <Comment>发送失败抛出的异常信息</Comment>
  2839. <Position>7</Position>
  2840. <StoredType>text|0s</StoredType>
  2841. </column>
  2842. <column id="615" parent="260" name="created_at">
  2843. <Comment>创建时间</Comment>
  2844. <NotNull>1</NotNull>
  2845. <Position>8</Position>
  2846. <StoredType>datetime|0s</StoredType>
  2847. </column>
  2848. <column id="616" parent="260" name="updated_at">
  2849. <Comment>最后更新时间</Comment>
  2850. <NotNull>1</NotNull>
  2851. <Position>9</Position>
  2852. <StoredType>datetime|0s</StoredType>
  2853. </column>
  2854. <index id="617" parent="260" name="PRIMARY">
  2855. <ColNames>id</ColNames>
  2856. <Type>btree</Type>
  2857. <Unique>1</Unique>
  2858. </index>
  2859. <key id="618" parent="260" name="PRIMARY">
  2860. <NameSurrogate>1</NameSurrogate>
  2861. <Primary>1</Primary>
  2862. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2863. </key>
  2864. <column id="619" parent="261" name="id">
  2865. <NotNull>1</NotNull>
  2866. <Position>1</Position>
  2867. <StoredType>char(36)|0s</StoredType>
  2868. </column>
  2869. <column id="620" parent="261" name="type">
  2870. <NotNull>1</NotNull>
  2871. <Position>2</Position>
  2872. <StoredType>varchar(191)|0s</StoredType>
  2873. </column>
  2874. <column id="621" parent="261" name="notifiable_type">
  2875. <NotNull>1</NotNull>
  2876. <Position>3</Position>
  2877. <StoredType>varchar(191)|0s</StoredType>
  2878. </column>
  2879. <column id="622" parent="261" name="notifiable_id">
  2880. <NotNull>1</NotNull>
  2881. <Position>4</Position>
  2882. <StoredType>bigint(20) unsigned|0s</StoredType>
  2883. </column>
  2884. <column id="623" parent="261" name="data">
  2885. <NotNull>1</NotNull>
  2886. <Position>5</Position>
  2887. <StoredType>text|0s</StoredType>
  2888. </column>
  2889. <column id="624" parent="261" name="read_at">
  2890. <Position>6</Position>
  2891. <StoredType>timestamp|0s</StoredType>
  2892. </column>
  2893. <column id="625" parent="261" name="created_at">
  2894. <Position>7</Position>
  2895. <StoredType>timestamp|0s</StoredType>
  2896. </column>
  2897. <column id="626" parent="261" name="updated_at">
  2898. <Position>8</Position>
  2899. <StoredType>timestamp|0s</StoredType>
  2900. </column>
  2901. <index id="627" parent="261" name="PRIMARY">
  2902. <ColNames>id</ColNames>
  2903. <Type>btree</Type>
  2904. <Unique>1</Unique>
  2905. </index>
  2906. <index id="628" parent="261" name="notifications_notifiable_type_notifiable_id_index">
  2907. <ColNames>notifiable_type
  2908. notifiable_id</ColNames>
  2909. <Type>btree</Type>
  2910. </index>
  2911. <key id="629" parent="261" name="PRIMARY">
  2912. <NameSurrogate>1</NameSurrogate>
  2913. <Primary>1</Primary>
  2914. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  2915. </key>
  2916. <column id="630" parent="262" name="id">
  2917. <AutoIncrement>1280248</AutoIncrement>
  2918. <NotNull>1</NotNull>
  2919. <Position>1</Position>
  2920. <StoredType>int(10) unsigned|0s</StoredType>
  2921. </column>
  2922. <column id="631" parent="262" name="sn">
  2923. <Comment>订单编号</Comment>
  2924. <NotNull>1</NotNull>
  2925. <Position>2</Position>
  2926. <StoredType>varchar(20)|0s</StoredType>
  2927. </column>
  2928. <column id="632" parent="262" name="user_id">
  2929. <Comment>购买者ID</Comment>
  2930. <NotNull>1</NotNull>
  2931. <Position>3</Position>
  2932. <StoredType>int(10) unsigned|0s</StoredType>
  2933. </column>
  2934. <column id="633" parent="262" name="goods_id">
  2935. <Comment>商品ID</Comment>
  2936. <Position>4</Position>
  2937. <StoredType>int(10) unsigned|0s</StoredType>
  2938. </column>
  2939. <column id="634" parent="262" name="coupon_id">
  2940. <Comment>优惠券ID</Comment>
  2941. <Position>5</Position>
  2942. <StoredType>int(10) unsigned|0s</StoredType>
  2943. </column>
  2944. <column id="635" parent="262" name="origin_amount">
  2945. <Comment>订单原始总价,单位分</Comment>
  2946. <DefaultExpression>0</DefaultExpression>
  2947. <NotNull>1</NotNull>
  2948. <Position>6</Position>
  2949. <StoredType>int(10) unsigned|0s</StoredType>
  2950. </column>
  2951. <column id="636" parent="262" name="amount">
  2952. <Comment>订单总价,单位分</Comment>
  2953. <DefaultExpression>0</DefaultExpression>
  2954. <NotNull>1</NotNull>
  2955. <Position>7</Position>
  2956. <StoredType>int(10) unsigned|0s</StoredType>
  2957. </column>
  2958. <column id="637" parent="262" name="expired_at">
  2959. <Comment>过期时间</Comment>
  2960. <Position>8</Position>
  2961. <StoredType>datetime|0s</StoredType>
  2962. </column>
  2963. <column id="638" parent="262" name="is_expire">
  2964. <Comment>是否已过期:0-未过期、1-已过期</Comment>
  2965. <DefaultExpression>0</DefaultExpression>
  2966. <NotNull>1</NotNull>
  2967. <Position>9</Position>
  2968. <StoredType>tinyint(1)|0s</StoredType>
  2969. </column>
  2970. <column id="639" parent="262" name="pay_type">
  2971. <Comment>支付渠道:0-余额、1-支付宝、2-QQ、3-微信、4-虚拟货币、5-paypal</Comment>
  2972. <DefaultExpression>0</DefaultExpression>
  2973. <NotNull>1</NotNull>
  2974. <Position>10</Position>
  2975. <StoredType>tinyint(1)|0s</StoredType>
  2976. </column>
  2977. <column id="640" parent="262" name="pay_way">
  2978. <Comment>支付方式:balance、f2fpay、codepay、payjs、bitpayx等</Comment>
  2979. <DefaultExpression>&apos;balance&apos;</DefaultExpression>
  2980. <NotNull>1</NotNull>
  2981. <Position>11</Position>
  2982. <StoredType>varchar(10)|0s</StoredType>
  2983. </column>
  2984. <column id="641" parent="262" name="status">
  2985. <Comment>订单状态:-1-已关闭、0-待支付、1-已支付待确认、2-已完成</Comment>
  2986. <DefaultExpression>0</DefaultExpression>
  2987. <NotNull>1</NotNull>
  2988. <Position>12</Position>
  2989. <StoredType>tinyint(1)|0s</StoredType>
  2990. </column>
  2991. <column id="642" parent="262" name="created_at">
  2992. <Comment>创建时间</Comment>
  2993. <NotNull>1</NotNull>
  2994. <Position>13</Position>
  2995. <StoredType>datetime|0s</StoredType>
  2996. </column>
  2997. <column id="643" parent="262" name="updated_at">
  2998. <Comment>最后更新时间</Comment>
  2999. <NotNull>1</NotNull>
  3000. <Position>14</Position>
  3001. <StoredType>datetime|0s</StoredType>
  3002. </column>
  3003. <foreign-key id="644" parent="262" name="order_ibfk_3">
  3004. <ColNames>user_id</ColNames>
  3005. <OnDelete>cascade</OnDelete>
  3006. <RefColNames>id</RefColNames>
  3007. <RefTableName>user</RefTableName>
  3008. </foreign-key>
  3009. <foreign-key id="645" parent="262" name="order_ibfk_2">
  3010. <ColNames>goods_id</ColNames>
  3011. <OnDelete>set-null</OnDelete>
  3012. <RefColNames>id</RefColNames>
  3013. <RefTableName>goods</RefTableName>
  3014. </foreign-key>
  3015. <foreign-key id="646" parent="262" name="order_ibfk_1">
  3016. <ColNames>coupon_id</ColNames>
  3017. <OnDelete>set-null</OnDelete>
  3018. <RefColNames>id</RefColNames>
  3019. <RefTableName>coupon</RefTableName>
  3020. </foreign-key>
  3021. <index id="647" parent="262" name="PRIMARY">
  3022. <ColNames>id</ColNames>
  3023. <Type>btree</Type>
  3024. <Unique>1</Unique>
  3025. </index>
  3026. <index id="648" parent="262" name="idx_order_search">
  3027. <ColNames>user_id
  3028. goods_id
  3029. is_expire
  3030. status</ColNames>
  3031. <Type>btree</Type>
  3032. </index>
  3033. <index id="649" parent="262" name="order_goods_id_foreign">
  3034. <ColNames>goods_id</ColNames>
  3035. <Type>btree</Type>
  3036. </index>
  3037. <index id="650" parent="262" name="order_coupon_id_foreign">
  3038. <ColNames>coupon_id</ColNames>
  3039. <Type>btree</Type>
  3040. </index>
  3041. <key id="651" parent="262" name="PRIMARY">
  3042. <NameSurrogate>1</NameSurrogate>
  3043. <Primary>1</Primary>
  3044. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3045. </key>
  3046. <column id="652" parent="263" name="id">
  3047. <AutoIncrement>1248678</AutoIncrement>
  3048. <NotNull>1</NotNull>
  3049. <Position>1</Position>
  3050. <StoredType>int(10) unsigned|0s</StoredType>
  3051. </column>
  3052. <column id="653" parent="263" name="trade_no">
  3053. <Comment>支付单号(本地订单号)</Comment>
  3054. <NotNull>1</NotNull>
  3055. <Position>2</Position>
  3056. <StoredType>varchar(64)|0s</StoredType>
  3057. </column>
  3058. <column id="654" parent="263" name="user_id">
  3059. <Comment>用户ID</Comment>
  3060. <NotNull>1</NotNull>
  3061. <Position>3</Position>
  3062. <StoredType>int(10) unsigned|0s</StoredType>
  3063. </column>
  3064. <column id="655" parent="263" name="order_id">
  3065. <Comment>本地订单ID</Comment>
  3066. <NotNull>1</NotNull>
  3067. <Position>4</Position>
  3068. <StoredType>int(10) unsigned|0s</StoredType>
  3069. </column>
  3070. <column id="656" parent="263" name="amount">
  3071. <Comment>金额,单位分</Comment>
  3072. <DefaultExpression>0</DefaultExpression>
  3073. <NotNull>1</NotNull>
  3074. <Position>5</Position>
  3075. <StoredType>int(10) unsigned|0s</StoredType>
  3076. </column>
  3077. <column id="657" parent="263" name="qr_code">
  3078. <Comment>支付二维码</Comment>
  3079. <Position>6</Position>
  3080. <StoredType>text|0s</StoredType>
  3081. </column>
  3082. <column id="658" parent="263" name="url">
  3083. <Comment>支付链接</Comment>
  3084. <Position>7</Position>
  3085. <StoredType>text|0s</StoredType>
  3086. </column>
  3087. <column id="659" parent="263" name="status">
  3088. <Comment>支付状态:-1-支付失败、0-等待支付、1-支付成功</Comment>
  3089. <DefaultExpression>0</DefaultExpression>
  3090. <NotNull>1</NotNull>
  3091. <Position>8</Position>
  3092. <StoredType>tinyint(1)|0s</StoredType>
  3093. </column>
  3094. <column id="660" parent="263" name="created_at">
  3095. <Comment>创建时间</Comment>
  3096. <NotNull>1</NotNull>
  3097. <Position>9</Position>
  3098. <StoredType>datetime|0s</StoredType>
  3099. </column>
  3100. <column id="661" parent="263" name="updated_at">
  3101. <Comment>最后更新时间</Comment>
  3102. <NotNull>1</NotNull>
  3103. <Position>10</Position>
  3104. <StoredType>datetime|0s</StoredType>
  3105. </column>
  3106. <foreign-key id="662" parent="263" name="payment_ibfk_2">
  3107. <ColNames>user_id</ColNames>
  3108. <OnDelete>cascade</OnDelete>
  3109. <RefColNames>id</RefColNames>
  3110. <RefTableName>user</RefTableName>
  3111. </foreign-key>
  3112. <foreign-key id="663" parent="263" name="payment_ibfk_1">
  3113. <ColNames>order_id</ColNames>
  3114. <OnDelete>cascade</OnDelete>
  3115. <RefColNames>id</RefColNames>
  3116. <RefTableName>order</RefTableName>
  3117. </foreign-key>
  3118. <index id="664" parent="263" name="PRIMARY">
  3119. <ColNames>id</ColNames>
  3120. <Type>btree</Type>
  3121. <Unique>1</Unique>
  3122. </index>
  3123. <index id="665" parent="263" name="payment_user_id_order_id_index">
  3124. <ColNames>user_id
  3125. order_id</ColNames>
  3126. <Type>btree</Type>
  3127. </index>
  3128. <index id="666" parent="263" name="payment_order_id_foreign">
  3129. <ColNames>order_id</ColNames>
  3130. <Type>btree</Type>
  3131. </index>
  3132. <key id="667" parent="263" name="PRIMARY">
  3133. <NameSurrogate>1</NameSurrogate>
  3134. <Primary>1</Primary>
  3135. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3136. </key>
  3137. <column id="668" parent="264" name="id">
  3138. <AutoIncrement>943343</AutoIncrement>
  3139. <NotNull>1</NotNull>
  3140. <Position>1</Position>
  3141. <StoredType>int(10) unsigned|0s</StoredType>
  3142. </column>
  3143. <column id="669" parent="264" name="trade_no">
  3144. <Comment>本地订单号</Comment>
  3145. <NotNull>1</NotNull>
  3146. <Position>2</Position>
  3147. <StoredType>varchar(64)|0s</StoredType>
  3148. </column>
  3149. <column id="670" parent="264" name="out_trade_no">
  3150. <Comment>外部订单号(支付平台)</Comment>
  3151. <NotNull>1</NotNull>
  3152. <Position>3</Position>
  3153. <StoredType>varchar(64)|0s</StoredType>
  3154. </column>
  3155. <column id="671" parent="264" name="amount">
  3156. <Comment>交易金额,单位分</Comment>
  3157. <NotNull>1</NotNull>
  3158. <Position>4</Position>
  3159. <StoredType>varchar(64)|0s</StoredType>
  3160. </column>
  3161. <column id="672" parent="264" name="status">
  3162. <Comment>交易状态:0-失败、1-成功</Comment>
  3163. <NotNull>1</NotNull>
  3164. <Position>5</Position>
  3165. <StoredType>tinyint(1)|0s</StoredType>
  3166. </column>
  3167. <column id="673" parent="264" name="created_at">
  3168. <Comment>创建时间</Comment>
  3169. <NotNull>1</NotNull>
  3170. <Position>6</Position>
  3171. <StoredType>datetime|0s</StoredType>
  3172. </column>
  3173. <column id="674" parent="264" name="updated_at">
  3174. <Comment>最后更新时间</Comment>
  3175. <NotNull>1</NotNull>
  3176. <Position>7</Position>
  3177. <StoredType>datetime|0s</StoredType>
  3178. </column>
  3179. <index id="675" parent="264" name="PRIMARY">
  3180. <ColNames>id</ColNames>
  3181. <Type>btree</Type>
  3182. <Unique>1</Unique>
  3183. </index>
  3184. <key id="676" parent="264" name="PRIMARY">
  3185. <NameSurrogate>1</NameSurrogate>
  3186. <Primary>1</Primary>
  3187. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3188. </key>
  3189. <column id="677" parent="265" name="id">
  3190. <AutoIncrement>100</AutoIncrement>
  3191. <NotNull>1</NotNull>
  3192. <Position>1</Position>
  3193. <StoredType>bigint(20) unsigned|0s</StoredType>
  3194. </column>
  3195. <column id="678" parent="265" name="name">
  3196. <NotNull>1</NotNull>
  3197. <Position>2</Position>
  3198. <StoredType>varchar(191)|0s</StoredType>
  3199. </column>
  3200. <column id="679" parent="265" name="description">
  3201. <NotNull>1</NotNull>
  3202. <Position>3</Position>
  3203. <StoredType>varchar(191)|0s</StoredType>
  3204. </column>
  3205. <column id="680" parent="265" name="guard_name">
  3206. <NotNull>1</NotNull>
  3207. <Position>4</Position>
  3208. <StoredType>varchar(191)|0s</StoredType>
  3209. </column>
  3210. <column id="681" parent="265" name="created_at">
  3211. <Position>5</Position>
  3212. <StoredType>timestamp|0s</StoredType>
  3213. </column>
  3214. <column id="682" parent="265" name="updated_at">
  3215. <Position>6</Position>
  3216. <StoredType>timestamp|0s</StoredType>
  3217. </column>
  3218. <index id="683" parent="265" name="PRIMARY">
  3219. <ColNames>id</ColNames>
  3220. <Type>btree</Type>
  3221. <Unique>1</Unique>
  3222. </index>
  3223. <key id="684" parent="265" name="PRIMARY">
  3224. <NameSurrogate>1</NameSurrogate>
  3225. <Primary>1</Primary>
  3226. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3227. </key>
  3228. <column id="685" parent="266" name="id">
  3229. <AutoIncrement>1</AutoIncrement>
  3230. <NotNull>1</NotNull>
  3231. <Position>1</Position>
  3232. <StoredType>int(10) unsigned|0s</StoredType>
  3233. </column>
  3234. <column id="686" parent="266" name="name">
  3235. <Comment>名称</Comment>
  3236. <NotNull>1</NotNull>
  3237. <Position>2</Position>
  3238. <StoredType>varchar(191)|0s</StoredType>
  3239. </column>
  3240. <column id="687" parent="266" name="min_amount">
  3241. <Comment>适用最小金额,单位分</Comment>
  3242. <DefaultExpression>0</DefaultExpression>
  3243. <NotNull>1</NotNull>
  3244. <Position>3</Position>
  3245. <StoredType>int(10) unsigned|0s</StoredType>
  3246. </column>
  3247. <column id="688" parent="266" name="max_amount">
  3248. <Comment>适用最大金额,单位分</Comment>
  3249. <DefaultExpression>0</DefaultExpression>
  3250. <NotNull>1</NotNull>
  3251. <Position>4</Position>
  3252. <StoredType>int(10) unsigned|0s</StoredType>
  3253. </column>
  3254. <column id="689" parent="266" name="status">
  3255. <Comment>状态:0-未启用、1-已启用</Comment>
  3256. <DefaultExpression>1</DefaultExpression>
  3257. <NotNull>1</NotNull>
  3258. <Position>5</Position>
  3259. <StoredType>tinyint(1)|0s</StoredType>
  3260. </column>
  3261. <column id="690" parent="266" name="created_at">
  3262. <Comment>创建时间</Comment>
  3263. <NotNull>1</NotNull>
  3264. <Position>6</Position>
  3265. <StoredType>datetime|0s</StoredType>
  3266. </column>
  3267. <column id="691" parent="266" name="updated_at">
  3268. <Comment>最后更新时间</Comment>
  3269. <NotNull>1</NotNull>
  3270. <Position>7</Position>
  3271. <StoredType>datetime|0s</StoredType>
  3272. </column>
  3273. <index id="692" parent="266" name="PRIMARY">
  3274. <ColNames>id</ColNames>
  3275. <Type>btree</Type>
  3276. <Unique>1</Unique>
  3277. </index>
  3278. <key id="693" parent="266" name="PRIMARY">
  3279. <NameSurrogate>1</NameSurrogate>
  3280. <Primary>1</Primary>
  3281. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3282. </key>
  3283. <column id="694" parent="267" name="id">
  3284. <AutoIncrement>2987</AutoIncrement>
  3285. <NotNull>1</NotNull>
  3286. <Position>1</Position>
  3287. <StoredType>int(10) unsigned|0s</StoredType>
  3288. </column>
  3289. <column id="695" parent="267" name="user_id">
  3290. <Comment>申请者ID</Comment>
  3291. <NotNull>1</NotNull>
  3292. <Position>2</Position>
  3293. <StoredType>int(10) unsigned|0s</StoredType>
  3294. </column>
  3295. <column id="696" parent="267" name="before">
  3296. <Comment>操作前可提现金额,单位分</Comment>
  3297. <DefaultExpression>0</DefaultExpression>
  3298. <NotNull>1</NotNull>
  3299. <Position>3</Position>
  3300. <StoredType>int(10) unsigned|0s</StoredType>
  3301. </column>
  3302. <column id="697" parent="267" name="after">
  3303. <Comment>操作后可提现金额,单位分</Comment>
  3304. <DefaultExpression>0</DefaultExpression>
  3305. <NotNull>1</NotNull>
  3306. <Position>4</Position>
  3307. <StoredType>int(10) unsigned|0s</StoredType>
  3308. </column>
  3309. <column id="698" parent="267" name="amount">
  3310. <Comment>本次提现金额,单位分</Comment>
  3311. <DefaultExpression>0</DefaultExpression>
  3312. <NotNull>1</NotNull>
  3313. <Position>5</Position>
  3314. <StoredType>int(10) unsigned|0s</StoredType>
  3315. </column>
  3316. <column id="699" parent="267" name="link_logs">
  3317. <Comment>关联返利日志ID,例如:1,3,4</Comment>
  3318. <NotNull>1</NotNull>
  3319. <Position>6</Position>
  3320. <StoredType>json|0s</StoredType>
  3321. </column>
  3322. <column id="700" parent="267" name="status">
  3323. <Comment>状态:-1-驳回、0-待审核、1-审核通过待打款、2-已打款</Comment>
  3324. <DefaultExpression>0</DefaultExpression>
  3325. <NotNull>1</NotNull>
  3326. <Position>7</Position>
  3327. <StoredType>tinyint(1)|0s</StoredType>
  3328. </column>
  3329. <column id="701" parent="267" name="created_at">
  3330. <Comment>创建时间</Comment>
  3331. <NotNull>1</NotNull>
  3332. <Position>8</Position>
  3333. <StoredType>datetime|0s</StoredType>
  3334. </column>
  3335. <column id="702" parent="267" name="updated_at">
  3336. <Comment>最后更新时间</Comment>
  3337. <NotNull>1</NotNull>
  3338. <Position>9</Position>
  3339. <StoredType>datetime|0s</StoredType>
  3340. </column>
  3341. <column id="703" parent="267" name="zfb_name">
  3342. <Comment>支付宝姓名&#xd;
  3343. </Comment>
  3344. <Position>10</Position>
  3345. <StoredType>varchar(250)|0s</StoredType>
  3346. </column>
  3347. <column id="704" parent="267" name="zfb_card">
  3348. <Comment>支付宝账号
  3349. </Comment>
  3350. <Position>11</Position>
  3351. <StoredType>varchar(250)|0s</StoredType>
  3352. </column>
  3353. <foreign-key id="705" parent="267" name="referral_apply_ibfk_1">
  3354. <ColNames>user_id</ColNames>
  3355. <OnDelete>cascade</OnDelete>
  3356. <RefColNames>id</RefColNames>
  3357. <RefTableName>user</RefTableName>
  3358. </foreign-key>
  3359. <index id="706" parent="267" name="PRIMARY">
  3360. <ColNames>id</ColNames>
  3361. <Type>btree</Type>
  3362. <Unique>1</Unique>
  3363. </index>
  3364. <index id="707" parent="267" name="referral_apply_user_id_foreign">
  3365. <ColNames>user_id</ColNames>
  3366. <Type>btree</Type>
  3367. </index>
  3368. <key id="708" parent="267" name="PRIMARY">
  3369. <NameSurrogate>1</NameSurrogate>
  3370. <Primary>1</Primary>
  3371. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3372. </key>
  3373. <column id="709" parent="268" name="id">
  3374. <AutoIncrement>52480</AutoIncrement>
  3375. <NotNull>1</NotNull>
  3376. <Position>1</Position>
  3377. <StoredType>int(10) unsigned|0s</StoredType>
  3378. </column>
  3379. <column id="710" parent="268" name="invitee_id">
  3380. <Comment>用户ID</Comment>
  3381. <Position>2</Position>
  3382. <StoredType>int(10) unsigned|0s</StoredType>
  3383. </column>
  3384. <column id="711" parent="268" name="inviter_id">
  3385. <Comment>推广人ID</Comment>
  3386. <NotNull>1</NotNull>
  3387. <Position>3</Position>
  3388. <StoredType>int(10) unsigned|0s</StoredType>
  3389. </column>
  3390. <column id="712" parent="268" name="order_id">
  3391. <Comment>关联订单ID</Comment>
  3392. <Position>4</Position>
  3393. <StoredType>int(10) unsigned|0s</StoredType>
  3394. </column>
  3395. <column id="713" parent="268" name="amount">
  3396. <Comment>消费金额,单位分</Comment>
  3397. <NotNull>1</NotNull>
  3398. <Position>5</Position>
  3399. <StoredType>int(10) unsigned|0s</StoredType>
  3400. </column>
  3401. <column id="714" parent="268" name="commission">
  3402. <Comment>返利金额</Comment>
  3403. <NotNull>1</NotNull>
  3404. <Position>6</Position>
  3405. <StoredType>int(10) unsigned|0s</StoredType>
  3406. </column>
  3407. <column id="715" parent="268" name="status">
  3408. <Comment>状态:0-未提现、1-审核中、2-已提现</Comment>
  3409. <DefaultExpression>0</DefaultExpression>
  3410. <NotNull>1</NotNull>
  3411. <Position>7</Position>
  3412. <StoredType>tinyint(1)|0s</StoredType>
  3413. </column>
  3414. <column id="716" parent="268" name="created_at">
  3415. <Comment>创建时间</Comment>
  3416. <NotNull>1</NotNull>
  3417. <Position>8</Position>
  3418. <StoredType>datetime|0s</StoredType>
  3419. </column>
  3420. <column id="717" parent="268" name="updated_at">
  3421. <Comment>最后更新时间</Comment>
  3422. <NotNull>1</NotNull>
  3423. <Position>9</Position>
  3424. <StoredType>datetime|0s</StoredType>
  3425. </column>
  3426. <foreign-key id="718" parent="268" name="referral_log_invitee_id_foreign">
  3427. <ColNames>invitee_id</ColNames>
  3428. <OnDelete>set-null</OnDelete>
  3429. <RefColNames>id</RefColNames>
  3430. <RefTableName>user</RefTableName>
  3431. </foreign-key>
  3432. <foreign-key id="719" parent="268" name="referral_log_inviter_id_foreign">
  3433. <ColNames>inviter_id</ColNames>
  3434. <OnDelete>cascade</OnDelete>
  3435. <RefColNames>id</RefColNames>
  3436. <RefTableName>user</RefTableName>
  3437. </foreign-key>
  3438. <foreign-key id="720" parent="268" name="referral_log_order_id_foreign">
  3439. <ColNames>order_id</ColNames>
  3440. <OnDelete>set-null</OnDelete>
  3441. <RefColNames>id</RefColNames>
  3442. <RefTableName>order</RefTableName>
  3443. </foreign-key>
  3444. <index id="721" parent="268" name="PRIMARY">
  3445. <ColNames>id</ColNames>
  3446. <Type>btree</Type>
  3447. <Unique>1</Unique>
  3448. </index>
  3449. <index id="722" parent="268" name="referral_log_invitee_id_foreign">
  3450. <ColNames>invitee_id</ColNames>
  3451. <Type>btree</Type>
  3452. </index>
  3453. <index id="723" parent="268" name="referral_log_inviter_id_invitee_id_index">
  3454. <ColNames>inviter_id
  3455. invitee_id</ColNames>
  3456. <Type>btree</Type>
  3457. </index>
  3458. <index id="724" parent="268" name="referral_log_order_id_foreign">
  3459. <ColNames>order_id</ColNames>
  3460. <Type>btree</Type>
  3461. </index>
  3462. <key id="725" parent="268" name="PRIMARY">
  3463. <NameSurrogate>1</NameSurrogate>
  3464. <Primary>1</Primary>
  3465. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3466. </key>
  3467. <column id="726" parent="269" name="permission_id">
  3468. <NotNull>1</NotNull>
  3469. <Position>1</Position>
  3470. <StoredType>bigint(20) unsigned|0s</StoredType>
  3471. </column>
  3472. <column id="727" parent="269" name="role_id">
  3473. <NotNull>1</NotNull>
  3474. <Position>2</Position>
  3475. <StoredType>bigint(20) unsigned|0s</StoredType>
  3476. </column>
  3477. <foreign-key id="728" parent="269" name="role_has_permissions_permission_id_foreign">
  3478. <ColNames>permission_id</ColNames>
  3479. <OnDelete>cascade</OnDelete>
  3480. <RefColNames>id</RefColNames>
  3481. <RefTableName>permissions</RefTableName>
  3482. </foreign-key>
  3483. <foreign-key id="729" parent="269" name="role_has_permissions_role_id_foreign">
  3484. <ColNames>role_id</ColNames>
  3485. <OnDelete>cascade</OnDelete>
  3486. <RefColNames>id</RefColNames>
  3487. <RefTableName>roles</RefTableName>
  3488. </foreign-key>
  3489. <index id="730" parent="269" name="PRIMARY">
  3490. <ColNames>permission_id
  3491. role_id</ColNames>
  3492. <Type>btree</Type>
  3493. <Unique>1</Unique>
  3494. </index>
  3495. <index id="731" parent="269" name="role_has_permissions_role_id_foreign">
  3496. <ColNames>role_id</ColNames>
  3497. <Type>btree</Type>
  3498. </index>
  3499. <key id="732" parent="269" name="PRIMARY">
  3500. <NameSurrogate>1</NameSurrogate>
  3501. <Primary>1</Primary>
  3502. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3503. </key>
  3504. <column id="733" parent="270" name="id">
  3505. <AutoIncrement>2</AutoIncrement>
  3506. <NotNull>1</NotNull>
  3507. <Position>1</Position>
  3508. <StoredType>bigint(20) unsigned|0s</StoredType>
  3509. </column>
  3510. <column id="734" parent="270" name="name">
  3511. <NotNull>1</NotNull>
  3512. <Position>2</Position>
  3513. <StoredType>varchar(191)|0s</StoredType>
  3514. </column>
  3515. <column id="735" parent="270" name="description">
  3516. <NotNull>1</NotNull>
  3517. <Position>3</Position>
  3518. <StoredType>varchar(191)|0s</StoredType>
  3519. </column>
  3520. <column id="736" parent="270" name="guard_name">
  3521. <NotNull>1</NotNull>
  3522. <Position>4</Position>
  3523. <StoredType>varchar(191)|0s</StoredType>
  3524. </column>
  3525. <column id="737" parent="270" name="created_at">
  3526. <Position>5</Position>
  3527. <StoredType>timestamp|0s</StoredType>
  3528. </column>
  3529. <column id="738" parent="270" name="updated_at">
  3530. <Position>6</Position>
  3531. <StoredType>timestamp|0s</StoredType>
  3532. </column>
  3533. <index id="739" parent="270" name="PRIMARY">
  3534. <ColNames>id</ColNames>
  3535. <Type>btree</Type>
  3536. <Unique>1</Unique>
  3537. </index>
  3538. <key id="740" parent="270" name="PRIMARY">
  3539. <NameSurrogate>1</NameSurrogate>
  3540. <Primary>1</Primary>
  3541. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3542. </key>
  3543. <column id="741" parent="271" name="id">
  3544. <AutoIncrement>19</AutoIncrement>
  3545. <NotNull>1</NotNull>
  3546. <Position>1</Position>
  3547. <StoredType>int(10) unsigned|0s</StoredType>
  3548. </column>
  3549. <column id="742" parent="271" name="type">
  3550. <Comment>类型:1-正则表达式、2-域名、3-IP、4-协议</Comment>
  3551. <DefaultExpression>1</DefaultExpression>
  3552. <NotNull>1</NotNull>
  3553. <Position>2</Position>
  3554. <StoredType>tinyint(1)|0s</StoredType>
  3555. </column>
  3556. <column id="743" parent="271" name="name">
  3557. <Comment>规则描述</Comment>
  3558. <NotNull>1</NotNull>
  3559. <Position>3</Position>
  3560. <StoredType>varchar(100)|0s</StoredType>
  3561. </column>
  3562. <column id="744" parent="271" name="pattern">
  3563. <Comment>规则值</Comment>
  3564. <NotNull>1</NotNull>
  3565. <Position>4</Position>
  3566. <StoredType>text|0s</StoredType>
  3567. </column>
  3568. <index id="745" parent="271" name="PRIMARY">
  3569. <ColNames>id</ColNames>
  3570. <Type>btree</Type>
  3571. <Unique>1</Unique>
  3572. </index>
  3573. <key id="746" parent="271" name="PRIMARY">
  3574. <NameSurrogate>1</NameSurrogate>
  3575. <Primary>1</Primary>
  3576. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3577. </key>
  3578. <column id="747" parent="272" name="id">
  3579. <AutoIncrement>1</AutoIncrement>
  3580. <NotNull>1</NotNull>
  3581. <Position>1</Position>
  3582. <StoredType>int(10) unsigned|0s</StoredType>
  3583. </column>
  3584. <column id="748" parent="272" name="type">
  3585. <Comment>模式:1-阻断、0-放行</Comment>
  3586. <DefaultExpression>1</DefaultExpression>
  3587. <NotNull>1</NotNull>
  3588. <Position>2</Position>
  3589. <StoredType>tinyint(1)|0s</StoredType>
  3590. </column>
  3591. <column id="749" parent="272" name="name">
  3592. <Comment>分组名称</Comment>
  3593. <NotNull>1</NotNull>
  3594. <Position>3</Position>
  3595. <StoredType>varchar(191)|0s</StoredType>
  3596. </column>
  3597. <column id="750" parent="272" name="created_at">
  3598. <Comment>创建时间</Comment>
  3599. <NotNull>1</NotNull>
  3600. <Position>4</Position>
  3601. <StoredType>datetime|0s</StoredType>
  3602. </column>
  3603. <column id="751" parent="272" name="updated_at">
  3604. <Comment>最后更新时间</Comment>
  3605. <NotNull>1</NotNull>
  3606. <Position>5</Position>
  3607. <StoredType>datetime|0s</StoredType>
  3608. </column>
  3609. <index id="752" parent="272" name="PRIMARY">
  3610. <ColNames>id</ColNames>
  3611. <Type>btree</Type>
  3612. <Unique>1</Unique>
  3613. </index>
  3614. <key id="753" parent="272" name="PRIMARY">
  3615. <NameSurrogate>1</NameSurrogate>
  3616. <Primary>1</Primary>
  3617. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3618. </key>
  3619. <column id="754" parent="273" name="id">
  3620. <AutoIncrement>1</AutoIncrement>
  3621. <NotNull>1</NotNull>
  3622. <Position>1</Position>
  3623. <StoredType>int(10) unsigned|0s</StoredType>
  3624. </column>
  3625. <column id="755" parent="273" name="user_id">
  3626. <Comment>触发者ID</Comment>
  3627. <DefaultExpression>0</DefaultExpression>
  3628. <NotNull>1</NotNull>
  3629. <Position>2</Position>
  3630. <StoredType>int(10) unsigned|0s</StoredType>
  3631. </column>
  3632. <column id="756" parent="273" name="node_id">
  3633. <Comment>节点ID</Comment>
  3634. <Position>3</Position>
  3635. <StoredType>int(10) unsigned|0s</StoredType>
  3636. </column>
  3637. <column id="757" parent="273" name="rule_id">
  3638. <Comment>规则ID,0表示白名单模式下访问访问了非规则允许的网址</Comment>
  3639. <DefaultExpression>0</DefaultExpression>
  3640. <Position>4</Position>
  3641. <StoredType>int(10) unsigned|0s</StoredType>
  3642. </column>
  3643. <column id="758" parent="273" name="reason">
  3644. <Comment>触发原因</Comment>
  3645. <Position>5</Position>
  3646. <StoredType>varchar(191)|0s</StoredType>
  3647. </column>
  3648. <column id="759" parent="273" name="created_at">
  3649. <Comment>创建时间</Comment>
  3650. <NotNull>1</NotNull>
  3651. <Position>6</Position>
  3652. <StoredType>datetime|0s</StoredType>
  3653. </column>
  3654. <foreign-key id="760" parent="273" name="rule_log_user_id_foreign">
  3655. <ColNames>user_id</ColNames>
  3656. <OnDelete>cascade</OnDelete>
  3657. <RefColNames>id</RefColNames>
  3658. <RefTableName>user</RefTableName>
  3659. </foreign-key>
  3660. <foreign-key id="761" parent="273" name="rule_log_node_id_foreign">
  3661. <ColNames>node_id</ColNames>
  3662. <OnDelete>set-null</OnDelete>
  3663. <RefColNames>id</RefColNames>
  3664. <RefTableName>node</RefTableName>
  3665. </foreign-key>
  3666. <foreign-key id="762" parent="273" name="rule_log_rule_id_foreign">
  3667. <ColNames>rule_id</ColNames>
  3668. <OnDelete>set-null</OnDelete>
  3669. <RefColNames>id</RefColNames>
  3670. <RefTableName>rule</RefTableName>
  3671. </foreign-key>
  3672. <index id="763" parent="273" name="PRIMARY">
  3673. <ColNames>id</ColNames>
  3674. <Type>btree</Type>
  3675. <Unique>1</Unique>
  3676. </index>
  3677. <index id="764" parent="273" name="idx">
  3678. <ColNames>user_id
  3679. node_id
  3680. rule_id</ColNames>
  3681. <Type>btree</Type>
  3682. </index>
  3683. <index id="765" parent="273" name="rule_log_node_id_foreign">
  3684. <ColNames>node_id</ColNames>
  3685. <Type>btree</Type>
  3686. </index>
  3687. <index id="766" parent="273" name="rule_log_rule_id_foreign">
  3688. <ColNames>rule_id</ColNames>
  3689. <Type>btree</Type>
  3690. </index>
  3691. <key id="767" parent="273" name="PRIMARY">
  3692. <NameSurrogate>1</NameSurrogate>
  3693. <Primary>1</Primary>
  3694. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3695. </key>
  3696. <column id="768" parent="274" name="id">
  3697. <AutoIncrement>1</AutoIncrement>
  3698. <NotNull>1</NotNull>
  3699. <Position>1</Position>
  3700. <StoredType>int(10) unsigned|0s</StoredType>
  3701. </column>
  3702. <column id="769" parent="274" name="rule_id">
  3703. <Comment>规则ID</Comment>
  3704. <NotNull>1</NotNull>
  3705. <Position>2</Position>
  3706. <StoredType>int(10) unsigned|0s</StoredType>
  3707. </column>
  3708. <column id="770" parent="274" name="rule_group_id">
  3709. <Comment>从属规则分组ID</Comment>
  3710. <NotNull>1</NotNull>
  3711. <Position>3</Position>
  3712. <StoredType>int(10) unsigned|0s</StoredType>
  3713. </column>
  3714. <foreign-key id="771" parent="274" name="rule_rule_group_rule_id_foreign">
  3715. <ColNames>rule_id</ColNames>
  3716. <OnDelete>cascade</OnDelete>
  3717. <RefColNames>id</RefColNames>
  3718. <RefTableName>rule</RefTableName>
  3719. </foreign-key>
  3720. <foreign-key id="772" parent="274" name="rule_rule_group_rule_group_id_foreign">
  3721. <ColNames>rule_group_id</ColNames>
  3722. <OnDelete>cascade</OnDelete>
  3723. <RefColNames>id</RefColNames>
  3724. <RefTableName>rule_group</RefTableName>
  3725. </foreign-key>
  3726. <index id="773" parent="274" name="PRIMARY">
  3727. <ColNames>id</ColNames>
  3728. <Type>btree</Type>
  3729. <Unique>1</Unique>
  3730. </index>
  3731. <index id="774" parent="274" name="rule_rule_group_rule_group_id_rule_id_unique">
  3732. <ColNames>rule_group_id
  3733. rule_id</ColNames>
  3734. <Type>btree</Type>
  3735. <Unique>1</Unique>
  3736. </index>
  3737. <index id="775" parent="274" name="rule_rule_group_rule_id_foreign">
  3738. <ColNames>rule_id</ColNames>
  3739. <Type>btree</Type>
  3740. </index>
  3741. <key id="776" parent="274" name="PRIMARY">
  3742. <NameSurrogate>1</NameSurrogate>
  3743. <Primary>1</Primary>
  3744. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3745. </key>
  3746. <key id="777" parent="274" name="rule_rule_group_rule_group_id_rule_id_unique">
  3747. <UnderlyingIndexName>rule_rule_group_rule_group_id_rule_id_unique</UnderlyingIndexName>
  3748. </key>
  3749. <column id="778" parent="275" name="id">
  3750. <AutoIncrement>461</AutoIncrement>
  3751. <NotNull>1</NotNull>
  3752. <Position>1</Position>
  3753. <StoredType>int(20)|0s</StoredType>
  3754. </column>
  3755. <column id="779" parent="275" name="fromNumber">
  3756. <Position>2</Position>
  3757. <StoredType>varchar(128)|0s</StoredType>
  3758. </column>
  3759. <column id="780" parent="275" name="codetext">
  3760. <Position>3</Position>
  3761. <StoredType>varchar(128)|0s</StoredType>
  3762. </column>
  3763. <column id="781" parent="275" name="codetime">
  3764. <Position>4</Position>
  3765. <StoredType>datetime|0s</StoredType>
  3766. </column>
  3767. <column id="782" parent="275" name="created_at">
  3768. <Position>5</Position>
  3769. <StoredType>datetime|0s</StoredType>
  3770. </column>
  3771. <column id="783" parent="275" name="updated_at">
  3772. <Position>6</Position>
  3773. <StoredType>datetime|0s</StoredType>
  3774. </column>
  3775. <column id="784" parent="275" name="toPhone">
  3776. <Position>7</Position>
  3777. <StoredType>varchar(128)|0s</StoredType>
  3778. </column>
  3779. <index id="785" parent="275" name="PRIMARY">
  3780. <ColNames>id</ColNames>
  3781. <Type>btree</Type>
  3782. <Unique>1</Unique>
  3783. </index>
  3784. <key id="786" parent="275" name="PRIMARY">
  3785. <NameSurrogate>1</NameSurrogate>
  3786. <Primary>1</Primary>
  3787. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3788. </key>
  3789. <column id="787" parent="276" name="id">
  3790. <AutoIncrement>34</AutoIncrement>
  3791. <NotNull>1</NotNull>
  3792. <Position>1</Position>
  3793. <StoredType>int(10) unsigned|0s</StoredType>
  3794. </column>
  3795. <column id="788" parent="276" name="name">
  3796. <Comment>配置名</Comment>
  3797. <NotNull>1</NotNull>
  3798. <Position>2</Position>
  3799. <StoredType>varchar(50)|0s</StoredType>
  3800. </column>
  3801. <column id="789" parent="276" name="type">
  3802. <Comment>类型:1-加密方式、2-协议、3-混淆</Comment>
  3803. <DefaultExpression>1</DefaultExpression>
  3804. <NotNull>1</NotNull>
  3805. <Position>3</Position>
  3806. <StoredType>tinyint(1)|0s</StoredType>
  3807. </column>
  3808. <column id="790" parent="276" name="is_default">
  3809. <Comment>是否默认:0-不是、1-是</Comment>
  3810. <DefaultExpression>0</DefaultExpression>
  3811. <NotNull>1</NotNull>
  3812. <Position>4</Position>
  3813. <StoredType>tinyint(1)|0s</StoredType>
  3814. </column>
  3815. <column id="791" parent="276" name="sort">
  3816. <Comment>排序:值越大排越前</Comment>
  3817. <DefaultExpression>0</DefaultExpression>
  3818. <NotNull>1</NotNull>
  3819. <Position>5</Position>
  3820. <StoredType>tinyint(3) unsigned|0s</StoredType>
  3821. </column>
  3822. <index id="792" parent="276" name="PRIMARY">
  3823. <ColNames>id</ColNames>
  3824. <Type>btree</Type>
  3825. <Unique>1</Unique>
  3826. </index>
  3827. <index id="793" parent="276" name="ss_config_type_index">
  3828. <ColNames>type</ColNames>
  3829. <Type>btree</Type>
  3830. </index>
  3831. <key id="794" parent="276" name="PRIMARY">
  3832. <NameSurrogate>1</NameSurrogate>
  3833. <Primary>1</Primary>
  3834. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3835. </key>
  3836. <column id="795" parent="277" name="id">
  3837. <AutoIncrement>32767</AutoIncrement>
  3838. <NotNull>1</NotNull>
  3839. <Position>1</Position>
  3840. <StoredType>int(10) unsigned|0s</StoredType>
  3841. </column>
  3842. <column id="796" parent="277" name="user_id">
  3843. <Comment>用户ID</Comment>
  3844. <DefaultExpression>0</DefaultExpression>
  3845. <NotNull>1</NotNull>
  3846. <Position>2</Position>
  3847. <StoredType>int(10) unsigned|0s</StoredType>
  3848. </column>
  3849. <column id="797" parent="277" name="admin_id">
  3850. <Comment>管理员ID</Comment>
  3851. <Position>3</Position>
  3852. <StoredType>int(10) unsigned|0s</StoredType>
  3853. </column>
  3854. <column id="798" parent="277" name="title">
  3855. <Comment>标题</Comment>
  3856. <NotNull>1</NotNull>
  3857. <Position>4</Position>
  3858. <StoredType>varchar(191)|0s</StoredType>
  3859. </column>
  3860. <column id="799" parent="277" name="content">
  3861. <Comment>内容</Comment>
  3862. <NotNull>1</NotNull>
  3863. <Position>5</Position>
  3864. <StoredType>text|0s</StoredType>
  3865. </column>
  3866. <column id="800" parent="277" name="status">
  3867. <Comment>状态:0-待处理、1-已处理未关闭、2-已关闭</Comment>
  3868. <DefaultExpression>0</DefaultExpression>
  3869. <NotNull>1</NotNull>
  3870. <Position>6</Position>
  3871. <StoredType>tinyint(1)|0s</StoredType>
  3872. </column>
  3873. <column id="801" parent="277" name="created_at">
  3874. <Comment>创建时间</Comment>
  3875. <NotNull>1</NotNull>
  3876. <Position>7</Position>
  3877. <StoredType>datetime|0s</StoredType>
  3878. </column>
  3879. <column id="802" parent="277" name="updated_at">
  3880. <Comment>最后更新时间</Comment>
  3881. <NotNull>1</NotNull>
  3882. <Position>8</Position>
  3883. <StoredType>datetime|0s</StoredType>
  3884. </column>
  3885. <foreign-key id="803" parent="277" name="ticket_user_id_foreign">
  3886. <ColNames>user_id</ColNames>
  3887. <OnDelete>cascade</OnDelete>
  3888. <RefColNames>id</RefColNames>
  3889. <RefTableName>user</RefTableName>
  3890. </foreign-key>
  3891. <foreign-key id="804" parent="277" name="ticket_admin_id_foreign">
  3892. <ColNames>admin_id</ColNames>
  3893. <OnDelete>set-null</OnDelete>
  3894. <RefColNames>id</RefColNames>
  3895. <RefTableName>user</RefTableName>
  3896. </foreign-key>
  3897. <index id="805" parent="277" name="PRIMARY">
  3898. <ColNames>id</ColNames>
  3899. <Type>btree</Type>
  3900. <Unique>1</Unique>
  3901. </index>
  3902. <index id="806" parent="277" name="ticket_user_id_foreign">
  3903. <ColNames>user_id</ColNames>
  3904. <Type>btree</Type>
  3905. </index>
  3906. <index id="807" parent="277" name="ticket_admin_id_foreign">
  3907. <ColNames>admin_id</ColNames>
  3908. <Type>btree</Type>
  3909. </index>
  3910. <key id="808" parent="277" name="PRIMARY">
  3911. <NameSurrogate>1</NameSurrogate>
  3912. <Primary>1</Primary>
  3913. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3914. </key>
  3915. <column id="809" parent="278" name="id">
  3916. <AutoIncrement>71722</AutoIncrement>
  3917. <NotNull>1</NotNull>
  3918. <Position>1</Position>
  3919. <StoredType>int(10) unsigned|0s</StoredType>
  3920. </column>
  3921. <column id="810" parent="278" name="ticket_id">
  3922. <Comment>工单ID</Comment>
  3923. <NotNull>1</NotNull>
  3924. <Position>2</Position>
  3925. <StoredType>int(10) unsigned|0s</StoredType>
  3926. </column>
  3927. <column id="811" parent="278" name="user_id">
  3928. <Comment>用户ID</Comment>
  3929. <Position>3</Position>
  3930. <StoredType>int(10) unsigned|0s</StoredType>
  3931. </column>
  3932. <column id="812" parent="278" name="admin_id">
  3933. <Comment>管理员ID</Comment>
  3934. <Position>4</Position>
  3935. <StoredType>int(10) unsigned|0s</StoredType>
  3936. </column>
  3937. <column id="813" parent="278" name="content">
  3938. <Comment>回复内容</Comment>
  3939. <NotNull>1</NotNull>
  3940. <Position>5</Position>
  3941. <StoredType>text|0s</StoredType>
  3942. </column>
  3943. <column id="814" parent="278" name="created_at">
  3944. <Comment>创建时间</Comment>
  3945. <NotNull>1</NotNull>
  3946. <Position>6</Position>
  3947. <StoredType>datetime|0s</StoredType>
  3948. </column>
  3949. <column id="815" parent="278" name="updated_at">
  3950. <Comment>最后更新时间</Comment>
  3951. <NotNull>1</NotNull>
  3952. <Position>7</Position>
  3953. <StoredType>datetime|0s</StoredType>
  3954. </column>
  3955. <foreign-key id="816" parent="278" name="ticket_reply_ticket_id_foreign">
  3956. <ColNames>ticket_id</ColNames>
  3957. <OnDelete>cascade</OnDelete>
  3958. <RefColNames>id</RefColNames>
  3959. <RefTableName>ticket</RefTableName>
  3960. </foreign-key>
  3961. <foreign-key id="817" parent="278" name="ticket_reply_user_id_foreign">
  3962. <ColNames>user_id</ColNames>
  3963. <OnDelete>cascade</OnDelete>
  3964. <RefColNames>id</RefColNames>
  3965. <RefTableName>user</RefTableName>
  3966. </foreign-key>
  3967. <foreign-key id="818" parent="278" name="ticket_reply_admin_id_foreign">
  3968. <ColNames>admin_id</ColNames>
  3969. <OnDelete>set-null</OnDelete>
  3970. <RefColNames>id</RefColNames>
  3971. <RefTableName>user</RefTableName>
  3972. </foreign-key>
  3973. <index id="819" parent="278" name="PRIMARY">
  3974. <ColNames>id</ColNames>
  3975. <Type>btree</Type>
  3976. <Unique>1</Unique>
  3977. </index>
  3978. <index id="820" parent="278" name="ticket_reply_ticket_id_foreign">
  3979. <ColNames>ticket_id</ColNames>
  3980. <Type>btree</Type>
  3981. </index>
  3982. <index id="821" parent="278" name="ticket_reply_user_id_foreign">
  3983. <ColNames>user_id</ColNames>
  3984. <Type>btree</Type>
  3985. </index>
  3986. <index id="822" parent="278" name="ticket_reply_admin_id_foreign">
  3987. <ColNames>admin_id</ColNames>
  3988. <Type>btree</Type>
  3989. </index>
  3990. <key id="823" parent="278" name="PRIMARY">
  3991. <NameSurrogate>1</NameSurrogate>
  3992. <Primary>1</Primary>
  3993. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  3994. </key>
  3995. <column id="824" parent="279" name="id">
  3996. <AutoIncrement>1340233</AutoIncrement>
  3997. <NotNull>1</NotNull>
  3998. <Position>1</Position>
  3999. <StoredType>int(10) unsigned|0s</StoredType>
  4000. </column>
  4001. <column id="825" parent="279" name="username">
  4002. <Comment>昵称</Comment>
  4003. <NotNull>1</NotNull>
  4004. <Position>2</Position>
  4005. <StoredType>varchar(64)|0s</StoredType>
  4006. </column>
  4007. <column id="826" parent="279" name="email">
  4008. <Comment>邮箱</Comment>
  4009. <NotNull>1</NotNull>
  4010. <Position>3</Position>
  4011. <StoredType>varchar(128)|0s</StoredType>
  4012. </column>
  4013. <column id="827" parent="279" name="password">
  4014. <Comment>密码</Comment>
  4015. <NotNull>1</NotNull>
  4016. <Position>4</Position>
  4017. <StoredType>varchar(64)|0s</StoredType>
  4018. </column>
  4019. <column id="828" parent="279" name="port">
  4020. <Comment>代理端口</Comment>
  4021. <DefaultExpression>0</DefaultExpression>
  4022. <NotNull>1</NotNull>
  4023. <Position>5</Position>
  4024. <StoredType>smallint(5) unsigned|0s</StoredType>
  4025. </column>
  4026. <column id="829" parent="279" name="passwd">
  4027. <Comment>代理密码</Comment>
  4028. <NotNull>1</NotNull>
  4029. <Position>6</Position>
  4030. <StoredType>varchar(16)|0s</StoredType>
  4031. </column>
  4032. <column id="830" parent="279" name="vmess_id">
  4033. <NotNull>1</NotNull>
  4034. <Position>7</Position>
  4035. <StoredType>char(36)|0s</StoredType>
  4036. </column>
  4037. <column id="831" parent="279" name="transfer_enable">
  4038. <Comment>可用流量,单位字节,默认1TiB</Comment>
  4039. <DefaultExpression>1099511627776</DefaultExpression>
  4040. <NotNull>1</NotNull>
  4041. <Position>8</Position>
  4042. <StoredType>bigint(20) unsigned|0s</StoredType>
  4043. </column>
  4044. <column id="832" parent="279" name="u">
  4045. <Comment>已上传流量,单位字节</Comment>
  4046. <DefaultExpression>0</DefaultExpression>
  4047. <NotNull>1</NotNull>
  4048. <Position>9</Position>
  4049. <StoredType>bigint(20) unsigned|0s</StoredType>
  4050. </column>
  4051. <column id="833" parent="279" name="d">
  4052. <Comment>已下载流量,单位字节</Comment>
  4053. <DefaultExpression>0</DefaultExpression>
  4054. <NotNull>1</NotNull>
  4055. <Position>10</Position>
  4056. <StoredType>bigint(20) unsigned|0s</StoredType>
  4057. </column>
  4058. <column id="834" parent="279" name="t">
  4059. <Comment>最后使用时间</Comment>
  4060. <Position>11</Position>
  4061. <StoredType>int(10) unsigned|0s</StoredType>
  4062. </column>
  4063. <column id="835" parent="279" name="ip">
  4064. <Comment>最后连接IP</Comment>
  4065. <Position>12</Position>
  4066. <StoredType>varchar(45)|0s</StoredType>
  4067. </column>
  4068. <column id="836" parent="279" name="enable">
  4069. <Comment>代理状态</Comment>
  4070. <DefaultExpression>1</DefaultExpression>
  4071. <NotNull>1</NotNull>
  4072. <Position>13</Position>
  4073. <StoredType>tinyint(1)|0s</StoredType>
  4074. </column>
  4075. <column id="837" parent="279" name="method">
  4076. <Comment>加密方式</Comment>
  4077. <DefaultExpression>&apos;aes-256-cfb&apos;</DefaultExpression>
  4078. <NotNull>1</NotNull>
  4079. <Position>14</Position>
  4080. <StoredType>varchar(30)|0s</StoredType>
  4081. </column>
  4082. <column id="838" parent="279" name="protocol">
  4083. <Comment>协议</Comment>
  4084. <DefaultExpression>&apos;origin&apos;</DefaultExpression>
  4085. <NotNull>1</NotNull>
  4086. <Position>15</Position>
  4087. <StoredType>varchar(30)|0s</StoredType>
  4088. </column>
  4089. <column id="839" parent="279" name="protocol_param">
  4090. <Comment>协议参数</Comment>
  4091. <Position>16</Position>
  4092. <StoredType>varchar(191)|0s</StoredType>
  4093. </column>
  4094. <column id="840" parent="279" name="obfs">
  4095. <Comment>混淆</Comment>
  4096. <DefaultExpression>&apos;plain&apos;</DefaultExpression>
  4097. <NotNull>1</NotNull>
  4098. <Position>17</Position>
  4099. <StoredType>varchar(30)|0s</StoredType>
  4100. </column>
  4101. <column id="841" parent="279" name="speed_limit">
  4102. <Comment>用户限速,为0表示不限速,单位Byte</Comment>
  4103. <DefaultExpression>0</DefaultExpression>
  4104. <NotNull>1</NotNull>
  4105. <Position>18</Position>
  4106. <StoredType>bigint(20) unsigned|0s</StoredType>
  4107. </column>
  4108. <column id="842" parent="279" name="wechat">
  4109. <Comment>微信</Comment>
  4110. <Position>19</Position>
  4111. <StoredType>varchar(30)|0s</StoredType>
  4112. </column>
  4113. <column id="843" parent="279" name="qq">
  4114. <Comment>QQ</Comment>
  4115. <Position>20</Position>
  4116. <StoredType>varchar(20)|0s</StoredType>
  4117. </column>
  4118. <column id="844" parent="279" name="credit">
  4119. <Comment>余额,单位分</Comment>
  4120. <DefaultExpression>0</DefaultExpression>
  4121. <NotNull>1</NotNull>
  4122. <Position>21</Position>
  4123. <StoredType>int(10) unsigned|0s</StoredType>
  4124. </column>
  4125. <column id="845" parent="279" name="expired_at">
  4126. <Comment>过期时间</Comment>
  4127. <DefaultExpression>&apos;2099-01-01 00:00:00&apos;</DefaultExpression>
  4128. <NotNull>1</NotNull>
  4129. <Position>22</Position>
  4130. <StoredType>datetime|0s</StoredType>
  4131. </column>
  4132. <column id="846" parent="279" name="ban_time">
  4133. <Comment>封禁到期时间</Comment>
  4134. <Position>23</Position>
  4135. <StoredType>int(10) unsigned|0s</StoredType>
  4136. </column>
  4137. <column id="847" parent="279" name="remark">
  4138. <Comment>备注</Comment>
  4139. <Position>24</Position>
  4140. <StoredType>text|0s</StoredType>
  4141. </column>
  4142. <column id="848" parent="279" name="level">
  4143. <Comment>等级,默认0级</Comment>
  4144. <DefaultExpression>0</DefaultExpression>
  4145. <NotNull>1</NotNull>
  4146. <Position>25</Position>
  4147. <StoredType>tinyint(3) unsigned|0s</StoredType>
  4148. </column>
  4149. <column id="849" parent="279" name="user_group_id">
  4150. <Comment>所属分组</Comment>
  4151. <Position>26</Position>
  4152. <StoredType>int(10) unsigned|0s</StoredType>
  4153. </column>
  4154. <column id="850" parent="279" name="reg_ip">
  4155. <Comment>注册IP</Comment>
  4156. <DefaultExpression>&apos;127.0.0.1&apos;</DefaultExpression>
  4157. <NotNull>1</NotNull>
  4158. <Position>27</Position>
  4159. <StoredType>varchar(45)|0s</StoredType>
  4160. </column>
  4161. <column id="851" parent="279" name="last_login">
  4162. <Comment>最后登录时间</Comment>
  4163. <DefaultExpression>0</DefaultExpression>
  4164. <NotNull>1</NotNull>
  4165. <Position>28</Position>
  4166. <StoredType>int(10) unsigned|0s</StoredType>
  4167. </column>
  4168. <column id="852" parent="279" name="inviter_id">
  4169. <Comment>邀请人</Comment>
  4170. <Position>29</Position>
  4171. <StoredType>int(10) unsigned|0s</StoredType>
  4172. </column>
  4173. <column id="853" parent="279" name="reset_time">
  4174. <Comment>流量重置日期</Comment>
  4175. <Position>30</Position>
  4176. <StoredType>datetime|0s</StoredType>
  4177. </column>
  4178. <column id="854" parent="279" name="invite_num">
  4179. <Comment>可生成邀请码数</Comment>
  4180. <DefaultExpression>0</DefaultExpression>
  4181. <NotNull>1</NotNull>
  4182. <Position>31</Position>
  4183. <StoredType>int(10) unsigned|0s</StoredType>
  4184. </column>
  4185. <column id="855" parent="279" name="status">
  4186. <Comment>状态:-1-禁用、0-未激活、1-正常</Comment>
  4187. <DefaultExpression>0</DefaultExpression>
  4188. <NotNull>1</NotNull>
  4189. <Position>32</Position>
  4190. <StoredType>tinyint(1)|0s</StoredType>
  4191. </column>
  4192. <column id="856" parent="279" name="remember_token">
  4193. <Position>33</Position>
  4194. <StoredType>varchar(191)|0s</StoredType>
  4195. </column>
  4196. <column id="857" parent="279" name="created_at">
  4197. <Comment>创建时间</Comment>
  4198. <NotNull>1</NotNull>
  4199. <Position>34</Position>
  4200. <StoredType>datetime|0s</StoredType>
  4201. </column>
  4202. <column id="858" parent="279" name="updated_at">
  4203. <Comment>最后更新时间</Comment>
  4204. <NotNull>1</NotNull>
  4205. <Position>35</Position>
  4206. <StoredType>datetime|0s</StoredType>
  4207. </column>
  4208. <column id="859" parent="279" name="client_limit">
  4209. <Comment>用户链接的设备</Comment>
  4210. <DefaultExpression>10</DefaultExpression>
  4211. <Position>36</Position>
  4212. <StoredType>int(11)|0s</StoredType>
  4213. </column>
  4214. <column id="860" parent="279" name="ol_emil">
  4215. <Comment>旧emil</Comment>
  4216. <Position>37</Position>
  4217. <StoredType>varchar(128)|0s</StoredType>
  4218. </column>
  4219. <foreign-key id="861" parent="279" name="user_ibfk_2">
  4220. <ColNames>user_group_id</ColNames>
  4221. <OnDelete>set-null</OnDelete>
  4222. <RefColNames>id</RefColNames>
  4223. <RefTableName>user_group</RefTableName>
  4224. </foreign-key>
  4225. <foreign-key id="862" parent="279" name="user_ibfk_1">
  4226. <ColNames>inviter_id</ColNames>
  4227. <OnDelete>set-null</OnDelete>
  4228. <RefColNames>id</RefColNames>
  4229. <RefTableName>user</RefTableName>
  4230. </foreign-key>
  4231. <index id="863" parent="279" name="PRIMARY">
  4232. <ColNames>id</ColNames>
  4233. <Type>btree</Type>
  4234. <Unique>1</Unique>
  4235. </index>
  4236. <index id="864" parent="279" name="user_email_unique">
  4237. <ColNames>email</ColNames>
  4238. <Type>btree</Type>
  4239. <Unique>1</Unique>
  4240. </index>
  4241. <index id="865" parent="279" name="idx_search">
  4242. <ColNames>enable
  4243. status
  4244. port</ColNames>
  4245. <Type>btree</Type>
  4246. </index>
  4247. <index id="866" parent="279" name="user_user_group_id_foreign">
  4248. <ColNames>user_group_id</ColNames>
  4249. <Type>btree</Type>
  4250. </index>
  4251. <index id="867" parent="279" name="user_inviter_id_foreign">
  4252. <ColNames>inviter_id</ColNames>
  4253. <Type>btree</Type>
  4254. </index>
  4255. <key id="868" parent="279" name="PRIMARY">
  4256. <NameSurrogate>1</NameSurrogate>
  4257. <Primary>1</Primary>
  4258. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4259. </key>
  4260. <key id="869" parent="279" name="user_email_unique">
  4261. <UnderlyingIndexName>user_email_unique</UnderlyingIndexName>
  4262. </key>
  4263. <column id="870" parent="280" name="id">
  4264. <AutoIncrement>888942</AutoIncrement>
  4265. <NotNull>1</NotNull>
  4266. <Position>1</Position>
  4267. <StoredType>int(10) unsigned|0s</StoredType>
  4268. </column>
  4269. <column id="871" parent="280" name="user_id">
  4270. <Comment>用户ID</Comment>
  4271. <NotNull>1</NotNull>
  4272. <Position>2</Position>
  4273. <StoredType>int(10) unsigned|0s</StoredType>
  4274. </column>
  4275. <column id="872" parent="280" name="time">
  4276. <Comment>封禁账号时长,单位分钟</Comment>
  4277. <DefaultExpression>0</DefaultExpression>
  4278. <NotNull>1</NotNull>
  4279. <Position>3</Position>
  4280. <StoredType>int(10) unsigned|0s</StoredType>
  4281. </column>
  4282. <column id="873" parent="280" name="description">
  4283. <Comment>操作描述</Comment>
  4284. <Position>4</Position>
  4285. <StoredType>varchar(191)|0s</StoredType>
  4286. </column>
  4287. <column id="874" parent="280" name="status">
  4288. <Comment>状态:0-未处理、1-已处理</Comment>
  4289. <DefaultExpression>0</DefaultExpression>
  4290. <NotNull>1</NotNull>
  4291. <Position>5</Position>
  4292. <StoredType>tinyint(1)|0s</StoredType>
  4293. </column>
  4294. <column id="875" parent="280" name="created_at">
  4295. <Comment>创建时间</Comment>
  4296. <NotNull>1</NotNull>
  4297. <Position>6</Position>
  4298. <StoredType>datetime|0s</StoredType>
  4299. </column>
  4300. <column id="876" parent="280" name="updated_at">
  4301. <Comment>最后更新时间</Comment>
  4302. <NotNull>1</NotNull>
  4303. <Position>7</Position>
  4304. <StoredType>datetime|0s</StoredType>
  4305. </column>
  4306. <foreign-key id="877" parent="280" name="user_baned_log_user_id_foreign">
  4307. <ColNames>user_id</ColNames>
  4308. <OnDelete>cascade</OnDelete>
  4309. <RefColNames>id</RefColNames>
  4310. <RefTableName>user</RefTableName>
  4311. </foreign-key>
  4312. <index id="878" parent="280" name="PRIMARY">
  4313. <ColNames>id</ColNames>
  4314. <Type>btree</Type>
  4315. <Unique>1</Unique>
  4316. </index>
  4317. <index id="879" parent="280" name="user_baned_log_user_id_foreign">
  4318. <ColNames>user_id</ColNames>
  4319. <Type>btree</Type>
  4320. </index>
  4321. <key id="880" parent="280" name="PRIMARY">
  4322. <NameSurrogate>1</NameSurrogate>
  4323. <Primary>1</Primary>
  4324. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4325. </key>
  4326. <column id="881" parent="281" name="id">
  4327. <AutoIncrement>61840</AutoIncrement>
  4328. <NotNull>1</NotNull>
  4329. <Position>1</Position>
  4330. <StoredType>int(10) unsigned|0s</StoredType>
  4331. </column>
  4332. <column id="882" parent="281" name="user_id">
  4333. <Comment>用户ID</Comment>
  4334. <DefaultExpression>0</DefaultExpression>
  4335. <NotNull>1</NotNull>
  4336. <Position>2</Position>
  4337. <StoredType>int(10) unsigned|0s</StoredType>
  4338. </column>
  4339. <column id="883" parent="281" name="order_id">
  4340. <Comment>订单ID</Comment>
  4341. <Position>3</Position>
  4342. <StoredType>int(10) unsigned|0s</StoredType>
  4343. </column>
  4344. <column id="884" parent="281" name="before">
  4345. <Comment>发生前余额,单位分</Comment>
  4346. <DefaultExpression>0</DefaultExpression>
  4347. <NotNull>1</NotNull>
  4348. <Position>4</Position>
  4349. <StoredType>int(10) unsigned|0s</StoredType>
  4350. </column>
  4351. <column id="885" parent="281" name="after">
  4352. <Comment>发生后金额,单位分</Comment>
  4353. <DefaultExpression>0</DefaultExpression>
  4354. <NotNull>1</NotNull>
  4355. <Position>5</Position>
  4356. <StoredType>int(10) unsigned|0s</StoredType>
  4357. </column>
  4358. <column id="886" parent="281" name="amount">
  4359. <Comment>发生金额,单位分</Comment>
  4360. <DefaultExpression>0</DefaultExpression>
  4361. <NotNull>1</NotNull>
  4362. <Position>6</Position>
  4363. <StoredType>int(11)|0s</StoredType>
  4364. </column>
  4365. <column id="887" parent="281" name="description">
  4366. <Comment>操作描述</Comment>
  4367. <Position>7</Position>
  4368. <StoredType>varchar(191)|0s</StoredType>
  4369. </column>
  4370. <column id="888" parent="281" name="created_at">
  4371. <Comment>创建时间</Comment>
  4372. <NotNull>1</NotNull>
  4373. <Position>8</Position>
  4374. <StoredType>datetime|0s</StoredType>
  4375. </column>
  4376. <foreign-key id="889" parent="281" name="user_credit_log_user_id_foreign">
  4377. <ColNames>user_id</ColNames>
  4378. <OnDelete>cascade</OnDelete>
  4379. <RefColNames>id</RefColNames>
  4380. <RefTableName>user</RefTableName>
  4381. </foreign-key>
  4382. <foreign-key id="890" parent="281" name="user_credit_log_order_id_foreign">
  4383. <ColNames>order_id</ColNames>
  4384. <OnDelete>set-null</OnDelete>
  4385. <RefColNames>id</RefColNames>
  4386. <RefTableName>order</RefTableName>
  4387. </foreign-key>
  4388. <index id="891" parent="281" name="PRIMARY">
  4389. <ColNames>id</ColNames>
  4390. <Type>btree</Type>
  4391. <Unique>1</Unique>
  4392. </index>
  4393. <index id="892" parent="281" name="user_credit_log_user_id_foreign">
  4394. <ColNames>user_id</ColNames>
  4395. <Type>btree</Type>
  4396. </index>
  4397. <index id="893" parent="281" name="user_credit_log_order_id_foreign">
  4398. <ColNames>order_id</ColNames>
  4399. <Type>btree</Type>
  4400. </index>
  4401. <key id="894" parent="281" name="PRIMARY">
  4402. <NameSurrogate>1</NameSurrogate>
  4403. <Primary>1</Primary>
  4404. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4405. </key>
  4406. <column id="895" parent="282" name="id">
  4407. <AutoIncrement>10094768</AutoIncrement>
  4408. <NotNull>1</NotNull>
  4409. <Position>1</Position>
  4410. <StoredType>int(10) unsigned|0s</StoredType>
  4411. </column>
  4412. <column id="896" parent="282" name="user_id">
  4413. <Comment>用户ID</Comment>
  4414. <DefaultExpression>0</DefaultExpression>
  4415. <NotNull>1</NotNull>
  4416. <Position>2</Position>
  4417. <StoredType>int(10) unsigned|0s</StoredType>
  4418. </column>
  4419. <column id="897" parent="282" name="node_id">
  4420. <Comment>节点ID,null表示统计全部节点</Comment>
  4421. <Position>3</Position>
  4422. <StoredType>int(10) unsigned|0s</StoredType>
  4423. </column>
  4424. <column id="898" parent="282" name="u">
  4425. <Comment>上传流量</Comment>
  4426. <DefaultExpression>0</DefaultExpression>
  4427. <NotNull>1</NotNull>
  4428. <Position>4</Position>
  4429. <StoredType>bigint(20) unsigned|0s</StoredType>
  4430. </column>
  4431. <column id="899" parent="282" name="d">
  4432. <Comment>下载流量</Comment>
  4433. <DefaultExpression>0</DefaultExpression>
  4434. <NotNull>1</NotNull>
  4435. <Position>5</Position>
  4436. <StoredType>bigint(20) unsigned|0s</StoredType>
  4437. </column>
  4438. <column id="900" parent="282" name="total">
  4439. <Comment>总流量</Comment>
  4440. <DefaultExpression>0</DefaultExpression>
  4441. <NotNull>1</NotNull>
  4442. <Position>6</Position>
  4443. <StoredType>bigint(20) unsigned|0s</StoredType>
  4444. </column>
  4445. <column id="901" parent="282" name="traffic">
  4446. <Comment>总流量(带单位)</Comment>
  4447. <Position>7</Position>
  4448. <StoredType>varchar(191)|0s</StoredType>
  4449. </column>
  4450. <column id="902" parent="282" name="created_at">
  4451. <Comment>创建时间</Comment>
  4452. <NotNull>1</NotNull>
  4453. <Position>8</Position>
  4454. <StoredType>datetime|0s</StoredType>
  4455. </column>
  4456. <foreign-key id="903" parent="282" name="user_daily_data_flow_user_id_foreign">
  4457. <ColNames>user_id</ColNames>
  4458. <OnDelete>cascade</OnDelete>
  4459. <RefColNames>id</RefColNames>
  4460. <RefTableName>user</RefTableName>
  4461. </foreign-key>
  4462. <foreign-key id="904" parent="282" name="user_daily_data_flow_node_id_foreign">
  4463. <ColNames>node_id</ColNames>
  4464. <OnDelete>cascade</OnDelete>
  4465. <RefColNames>id</RefColNames>
  4466. <RefTableName>node</RefTableName>
  4467. </foreign-key>
  4468. <index id="905" parent="282" name="PRIMARY">
  4469. <ColNames>id</ColNames>
  4470. <Type>btree</Type>
  4471. <Unique>1</Unique>
  4472. </index>
  4473. <index id="906" parent="282" name="idx_user_node">
  4474. <ColNames>user_id
  4475. node_id</ColNames>
  4476. <Type>btree</Type>
  4477. </index>
  4478. <index id="907" parent="282" name="user_daily_data_flow_node_id_foreign">
  4479. <ColNames>node_id</ColNames>
  4480. <Type>btree</Type>
  4481. </index>
  4482. <key id="908" parent="282" name="PRIMARY">
  4483. <NameSurrogate>1</NameSurrogate>
  4484. <Primary>1</Primary>
  4485. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4486. </key>
  4487. <column id="909" parent="283" name="id">
  4488. <AutoIncrement>590097</AutoIncrement>
  4489. <NotNull>1</NotNull>
  4490. <Position>1</Position>
  4491. <StoredType>int(10) unsigned|0s</StoredType>
  4492. </column>
  4493. <column id="910" parent="283" name="user_id">
  4494. <Comment>用户ID</Comment>
  4495. <DefaultExpression>0</DefaultExpression>
  4496. <NotNull>1</NotNull>
  4497. <Position>2</Position>
  4498. <StoredType>int(10) unsigned|0s</StoredType>
  4499. </column>
  4500. <column id="911" parent="283" name="order_id">
  4501. <Comment>发生的订单ID</Comment>
  4502. <Position>3</Position>
  4503. <StoredType>int(10) unsigned|0s</StoredType>
  4504. </column>
  4505. <column id="912" parent="283" name="before">
  4506. <Comment>操作前流量</Comment>
  4507. <DefaultExpression>0</DefaultExpression>
  4508. <NotNull>1</NotNull>
  4509. <Position>4</Position>
  4510. <StoredType>bigint(20)|0s</StoredType>
  4511. </column>
  4512. <column id="913" parent="283" name="after">
  4513. <Comment>操作后流量</Comment>
  4514. <DefaultExpression>0</DefaultExpression>
  4515. <NotNull>1</NotNull>
  4516. <Position>5</Position>
  4517. <StoredType>bigint(20)|0s</StoredType>
  4518. </column>
  4519. <column id="914" parent="283" name="description">
  4520. <Comment>描述</Comment>
  4521. <Position>6</Position>
  4522. <StoredType>varchar(191)|0s</StoredType>
  4523. </column>
  4524. <column id="915" parent="283" name="created_at">
  4525. <Comment>创建时间</Comment>
  4526. <NotNull>1</NotNull>
  4527. <Position>7</Position>
  4528. <StoredType>datetime|0s</StoredType>
  4529. </column>
  4530. <foreign-key id="916" parent="283" name="user_data_modify_log_user_id_foreign">
  4531. <ColNames>user_id</ColNames>
  4532. <OnDelete>cascade</OnDelete>
  4533. <RefColNames>id</RefColNames>
  4534. <RefTableName>user</RefTableName>
  4535. </foreign-key>
  4536. <foreign-key id="917" parent="283" name="user_data_modify_log_order_id_foreign">
  4537. <ColNames>order_id</ColNames>
  4538. <OnDelete>set-null</OnDelete>
  4539. <RefColNames>id</RefColNames>
  4540. <RefTableName>order</RefTableName>
  4541. </foreign-key>
  4542. <index id="918" parent="283" name="PRIMARY">
  4543. <ColNames>id</ColNames>
  4544. <Type>btree</Type>
  4545. <Unique>1</Unique>
  4546. </index>
  4547. <index id="919" parent="283" name="user_data_modify_log_user_id_foreign">
  4548. <ColNames>user_id</ColNames>
  4549. <Type>btree</Type>
  4550. </index>
  4551. <index id="920" parent="283" name="user_data_modify_log_order_id_foreign">
  4552. <ColNames>order_id</ColNames>
  4553. <Type>btree</Type>
  4554. </index>
  4555. <key id="921" parent="283" name="PRIMARY">
  4556. <NameSurrogate>1</NameSurrogate>
  4557. <Primary>1</Primary>
  4558. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4559. </key>
  4560. <column id="922" parent="284" name="id">
  4561. <AutoIncrement>1</AutoIncrement>
  4562. <NotNull>1</NotNull>
  4563. <Position>1</Position>
  4564. <StoredType>int(11)|0s</StoredType>
  4565. </column>
  4566. <column id="923" parent="284" name="email">
  4567. <NotNull>1</NotNull>
  4568. <Position>2</Position>
  4569. <StoredType>text|0s</StoredType>
  4570. </column>
  4571. <column id="924" parent="284" name="new_email">
  4572. <Position>3</Position>
  4573. <StoredType>text|0s</StoredType>
  4574. </column>
  4575. <column id="925" parent="284" name="created_at">
  4576. <Comment>创建时间</Comment>
  4577. <DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
  4578. <Position>4</Position>
  4579. <StoredType>datetime|0s</StoredType>
  4580. </column>
  4581. <column id="926" parent="284" name="user_id">
  4582. <NotNull>1</NotNull>
  4583. <Position>5</Position>
  4584. <StoredType>int(11)|0s</StoredType>
  4585. </column>
  4586. <index id="927" parent="284" name="PRIMARY">
  4587. <ColNames>id</ColNames>
  4588. <Type>btree</Type>
  4589. <Unique>1</Unique>
  4590. </index>
  4591. <key id="928" parent="284" name="PRIMARY">
  4592. <NameSurrogate>1</NameSurrogate>
  4593. <Primary>1</Primary>
  4594. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4595. </key>
  4596. <column id="929" parent="285" name="id">
  4597. <AutoIncrement>2</AutoIncrement>
  4598. <NotNull>1</NotNull>
  4599. <Position>1</Position>
  4600. <StoredType>int(10) unsigned|0s</StoredType>
  4601. </column>
  4602. <column id="930" parent="285" name="name">
  4603. <Comment>分组名称</Comment>
  4604. <NotNull>1</NotNull>
  4605. <Position>2</Position>
  4606. <StoredType>varchar(191)|0s</StoredType>
  4607. </column>
  4608. <index id="931" parent="285" name="PRIMARY">
  4609. <ColNames>id</ColNames>
  4610. <Type>btree</Type>
  4611. <Unique>1</Unique>
  4612. </index>
  4613. <key id="932" parent="285" name="PRIMARY">
  4614. <NameSurrogate>1</NameSurrogate>
  4615. <Primary>1</Primary>
  4616. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4617. </key>
  4618. <column id="933" parent="286" name="id">
  4619. <AutoIncrement>559112060</AutoIncrement>
  4620. <NotNull>1</NotNull>
  4621. <Position>1</Position>
  4622. <StoredType>int(10) unsigned|0s</StoredType>
  4623. </column>
  4624. <column id="934" parent="286" name="user_id">
  4625. <Comment>用户ID</Comment>
  4626. <NotNull>1</NotNull>
  4627. <Position>2</Position>
  4628. <StoredType>int(10) unsigned|0s</StoredType>
  4629. </column>
  4630. <column id="935" parent="286" name="node_id">
  4631. <Comment>节点ID,null表示统计全部节点</Comment>
  4632. <Position>3</Position>
  4633. <StoredType>int(10) unsigned|0s</StoredType>
  4634. </column>
  4635. <column id="936" parent="286" name="u">
  4636. <Comment>上传流量</Comment>
  4637. <DefaultExpression>0</DefaultExpression>
  4638. <NotNull>1</NotNull>
  4639. <Position>4</Position>
  4640. <StoredType>bigint(20) unsigned|0s</StoredType>
  4641. </column>
  4642. <column id="937" parent="286" name="d">
  4643. <Comment>下载流量</Comment>
  4644. <DefaultExpression>0</DefaultExpression>
  4645. <NotNull>1</NotNull>
  4646. <Position>5</Position>
  4647. <StoredType>bigint(20) unsigned|0s</StoredType>
  4648. </column>
  4649. <column id="938" parent="286" name="total">
  4650. <Comment>总流量</Comment>
  4651. <DefaultExpression>0</DefaultExpression>
  4652. <NotNull>1</NotNull>
  4653. <Position>6</Position>
  4654. <StoredType>bigint(20) unsigned|0s</StoredType>
  4655. </column>
  4656. <column id="939" parent="286" name="traffic">
  4657. <Comment>总流量(带单位)</Comment>
  4658. <Position>7</Position>
  4659. <StoredType>varchar(191)|0s</StoredType>
  4660. </column>
  4661. <column id="940" parent="286" name="created_at">
  4662. <Comment>创建时间</Comment>
  4663. <NotNull>1</NotNull>
  4664. <Position>8</Position>
  4665. <StoredType>datetime|0s</StoredType>
  4666. </column>
  4667. <foreign-key id="941" parent="286" name="user_hourly_data_flow_user_id_foreign">
  4668. <ColNames>user_id</ColNames>
  4669. <OnDelete>cascade</OnDelete>
  4670. <RefColNames>id</RefColNames>
  4671. <RefTableName>user</RefTableName>
  4672. </foreign-key>
  4673. <foreign-key id="942" parent="286" name="user_hourly_data_flow_node_id_foreign">
  4674. <ColNames>node_id</ColNames>
  4675. <OnDelete>cascade</OnDelete>
  4676. <RefColNames>id</RefColNames>
  4677. <RefTableName>node</RefTableName>
  4678. </foreign-key>
  4679. <index id="943" parent="286" name="PRIMARY">
  4680. <ColNames>id</ColNames>
  4681. <Type>btree</Type>
  4682. <Unique>1</Unique>
  4683. </index>
  4684. <index id="944" parent="286" name="idx_user_node">
  4685. <ColNames>user_id
  4686. node_id</ColNames>
  4687. <Type>btree</Type>
  4688. </index>
  4689. <index id="945" parent="286" name="user_hourly_data_flow_node_id_foreign">
  4690. <ColNames>node_id</ColNames>
  4691. <Type>btree</Type>
  4692. </index>
  4693. <key id="946" parent="286" name="PRIMARY">
  4694. <NameSurrogate>1</NameSurrogate>
  4695. <Primary>1</Primary>
  4696. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4697. </key>
  4698. <column id="947" parent="287" name="id">
  4699. <AutoIncrement>3379704</AutoIncrement>
  4700. <NotNull>1</NotNull>
  4701. <Position>1</Position>
  4702. <StoredType>int(10) unsigned|0s</StoredType>
  4703. </column>
  4704. <column id="948" parent="287" name="user_id">
  4705. <Comment>用户ID</Comment>
  4706. <DefaultExpression>0</DefaultExpression>
  4707. <NotNull>1</NotNull>
  4708. <Position>2</Position>
  4709. <StoredType>int(10) unsigned|0s</StoredType>
  4710. </column>
  4711. <column id="949" parent="287" name="ip">
  4712. <Comment>IP地址</Comment>
  4713. <NotNull>1</NotNull>
  4714. <Position>3</Position>
  4715. <StoredType>varchar(45)|0s</StoredType>
  4716. </column>
  4717. <column id="950" parent="287" name="country">
  4718. <Comment>国家</Comment>
  4719. <NotNull>1</NotNull>
  4720. <Position>4</Position>
  4721. <StoredType>varchar(128)|0s</StoredType>
  4722. </column>
  4723. <column id="951" parent="287" name="province">
  4724. <Comment>省份</Comment>
  4725. <NotNull>1</NotNull>
  4726. <Position>5</Position>
  4727. <StoredType>varchar(128)|0s</StoredType>
  4728. </column>
  4729. <column id="952" parent="287" name="city">
  4730. <Comment>城市</Comment>
  4731. <NotNull>1</NotNull>
  4732. <Position>6</Position>
  4733. <StoredType>varchar(128)|0s</StoredType>
  4734. </column>
  4735. <column id="953" parent="287" name="county">
  4736. <Comment>郡县</Comment>
  4737. <NotNull>1</NotNull>
  4738. <Position>7</Position>
  4739. <StoredType>varchar(128)|0s</StoredType>
  4740. </column>
  4741. <column id="954" parent="287" name="isp">
  4742. <Comment>运营商</Comment>
  4743. <NotNull>1</NotNull>
  4744. <Position>8</Position>
  4745. <StoredType>varchar(128)|0s</StoredType>
  4746. </column>
  4747. <column id="955" parent="287" name="area">
  4748. <Comment>地区</Comment>
  4749. <NotNull>1</NotNull>
  4750. <Position>9</Position>
  4751. <StoredType>varchar(191)|0s</StoredType>
  4752. </column>
  4753. <column id="956" parent="287" name="created_at">
  4754. <Comment>创建时间</Comment>
  4755. <NotNull>1</NotNull>
  4756. <Position>10</Position>
  4757. <StoredType>datetime|0s</StoredType>
  4758. </column>
  4759. <foreign-key id="957" parent="287" name="user_login_log_user_id_foreign">
  4760. <ColNames>user_id</ColNames>
  4761. <OnDelete>cascade</OnDelete>
  4762. <RefColNames>id</RefColNames>
  4763. <RefTableName>user</RefTableName>
  4764. </foreign-key>
  4765. <index id="958" parent="287" name="PRIMARY">
  4766. <ColNames>id</ColNames>
  4767. <Type>btree</Type>
  4768. <Unique>1</Unique>
  4769. </index>
  4770. <index id="959" parent="287" name="user_login_log_user_id_foreign">
  4771. <ColNames>user_id</ColNames>
  4772. <Type>btree</Type>
  4773. </index>
  4774. <key id="960" parent="287" name="PRIMARY">
  4775. <NameSurrogate>1</NameSurrogate>
  4776. <Primary>1</Primary>
  4777. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4778. </key>
  4779. <column id="961" parent="288" name="id">
  4780. <AutoIncrement>1330171</AutoIncrement>
  4781. <NotNull>1</NotNull>
  4782. <Position>1</Position>
  4783. <StoredType>int(10) unsigned|0s</StoredType>
  4784. </column>
  4785. <column id="962" parent="288" name="user_id">
  4786. <Comment>用户ID</Comment>
  4787. <DefaultExpression>0</DefaultExpression>
  4788. <NotNull>1</NotNull>
  4789. <Position>2</Position>
  4790. <StoredType>int(10) unsigned|0s</StoredType>
  4791. </column>
  4792. <column id="963" parent="288" name="code">
  4793. <Comment>订阅地址唯一识别码</Comment>
  4794. <NotNull>1</NotNull>
  4795. <Position>3</Position>
  4796. <StoredType>char(8)|0s</StoredType>
  4797. </column>
  4798. <column id="964" parent="288" name="times">
  4799. <Comment>地址请求次数</Comment>
  4800. <DefaultExpression>0</DefaultExpression>
  4801. <NotNull>1</NotNull>
  4802. <Position>4</Position>
  4803. <StoredType>int(10) unsigned|0s</StoredType>
  4804. </column>
  4805. <column id="965" parent="288" name="status">
  4806. <Comment>状态:0-禁用、1-启用</Comment>
  4807. <DefaultExpression>1</DefaultExpression>
  4808. <NotNull>1</NotNull>
  4809. <Position>5</Position>
  4810. <StoredType>tinyint(1)|0s</StoredType>
  4811. </column>
  4812. <column id="966" parent="288" name="ban_time">
  4813. <Comment>封禁时间</Comment>
  4814. <Position>6</Position>
  4815. <StoredType>int(10) unsigned|0s</StoredType>
  4816. </column>
  4817. <column id="967" parent="288" name="ban_desc">
  4818. <Comment>封禁理由</Comment>
  4819. <Position>7</Position>
  4820. <StoredType>varchar(50)|0s</StoredType>
  4821. </column>
  4822. <column id="968" parent="288" name="created_at">
  4823. <Comment>创建时间</Comment>
  4824. <NotNull>1</NotNull>
  4825. <Position>8</Position>
  4826. <StoredType>datetime|0s</StoredType>
  4827. </column>
  4828. <column id="969" parent="288" name="updated_at">
  4829. <Comment>最后更新时间</Comment>
  4830. <NotNull>1</NotNull>
  4831. <Position>9</Position>
  4832. <StoredType>datetime|0s</StoredType>
  4833. </column>
  4834. <foreign-key id="970" parent="288" name="user_subscribe_user_id_foreign">
  4835. <ColNames>user_id</ColNames>
  4836. <OnDelete>cascade</OnDelete>
  4837. <RefColNames>id</RefColNames>
  4838. <RefTableName>user</RefTableName>
  4839. </foreign-key>
  4840. <index id="971" parent="288" name="PRIMARY">
  4841. <ColNames>id</ColNames>
  4842. <Type>btree</Type>
  4843. <Unique>1</Unique>
  4844. </index>
  4845. <index id="972" parent="288" name="user_subscribe_code_unique">
  4846. <ColNames>code</ColNames>
  4847. <Type>btree</Type>
  4848. <Unique>1</Unique>
  4849. </index>
  4850. <index id="973" parent="288" name="user_id">
  4851. <ColNames>user_id
  4852. status</ColNames>
  4853. <Type>btree</Type>
  4854. </index>
  4855. <index id="974" parent="288" name="user_subscribe_code_index">
  4856. <ColNames>code</ColNames>
  4857. <Type>btree</Type>
  4858. </index>
  4859. <key id="975" parent="288" name="PRIMARY">
  4860. <NameSurrogate>1</NameSurrogate>
  4861. <Primary>1</Primary>
  4862. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4863. </key>
  4864. <key id="976" parent="288" name="user_subscribe_code_unique">
  4865. <UnderlyingIndexName>user_subscribe_code_unique</UnderlyingIndexName>
  4866. </key>
  4867. <column id="977" parent="289" name="id">
  4868. <AutoIncrement>7205317</AutoIncrement>
  4869. <NotNull>1</NotNull>
  4870. <Position>1</Position>
  4871. <StoredType>int(10) unsigned|0s</StoredType>
  4872. </column>
  4873. <column id="978" parent="289" name="user_subscribe_id">
  4874. <Comment>对应user_subscribe的id</Comment>
  4875. <NotNull>1</NotNull>
  4876. <Position>2</Position>
  4877. <StoredType>int(10) unsigned|0s</StoredType>
  4878. </column>
  4879. <column id="979" parent="289" name="request_ip">
  4880. <Comment>请求IP</Comment>
  4881. <Position>3</Position>
  4882. <StoredType>varchar(45)|0s</StoredType>
  4883. </column>
  4884. <column id="980" parent="289" name="request_time">
  4885. <Comment>请求时间</Comment>
  4886. <NotNull>1</NotNull>
  4887. <Position>4</Position>
  4888. <StoredType>datetime|0s</StoredType>
  4889. </column>
  4890. <column id="981" parent="289" name="request_header">
  4891. <Comment>请求头部信息</Comment>
  4892. <Position>5</Position>
  4893. <StoredType>text|0s</StoredType>
  4894. </column>
  4895. <foreign-key id="982" parent="289" name="user_subscribe_log_user_subscribe_id_foreign">
  4896. <ColNames>user_subscribe_id</ColNames>
  4897. <OnDelete>cascade</OnDelete>
  4898. <RefColNames>id</RefColNames>
  4899. <RefTableName>user_subscribe</RefTableName>
  4900. </foreign-key>
  4901. <index id="983" parent="289" name="PRIMARY">
  4902. <ColNames>id</ColNames>
  4903. <Type>btree</Type>
  4904. <Unique>1</Unique>
  4905. </index>
  4906. <index id="984" parent="289" name="user_subscribe_log_user_subscribe_id_index">
  4907. <ColNames>user_subscribe_id</ColNames>
  4908. <Type>btree</Type>
  4909. </index>
  4910. <key id="985" parent="289" name="PRIMARY">
  4911. <NameSurrogate>1</NameSurrogate>
  4912. <Primary>1</Primary>
  4913. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4914. </key>
  4915. <column id="986" parent="290" name="id">
  4916. <AutoIncrement>2120201136</AutoIncrement>
  4917. <NotNull>1</NotNull>
  4918. <Position>1</Position>
  4919. <StoredType>int(10) unsigned|0s</StoredType>
  4920. </column>
  4921. <column id="987" parent="290" name="user_id">
  4922. <Comment>用户ID</Comment>
  4923. <DefaultExpression>0</DefaultExpression>
  4924. <NotNull>1</NotNull>
  4925. <Position>2</Position>
  4926. <StoredType>int(10) unsigned|0s</StoredType>
  4927. </column>
  4928. <column id="988" parent="290" name="node_id">
  4929. <Comment>节点ID</Comment>
  4930. <DefaultExpression>0</DefaultExpression>
  4931. <NotNull>1</NotNull>
  4932. <Position>3</Position>
  4933. <StoredType>int(10) unsigned|0s</StoredType>
  4934. </column>
  4935. <column id="989" parent="290" name="u">
  4936. <Comment>上传流量</Comment>
  4937. <DefaultExpression>0</DefaultExpression>
  4938. <NotNull>1</NotNull>
  4939. <Position>4</Position>
  4940. <StoredType>int(10) unsigned|0s</StoredType>
  4941. </column>
  4942. <column id="990" parent="290" name="d">
  4943. <Comment>下载流量</Comment>
  4944. <DefaultExpression>0</DefaultExpression>
  4945. <NotNull>1</NotNull>
  4946. <Position>5</Position>
  4947. <StoredType>int(10) unsigned|0s</StoredType>
  4948. </column>
  4949. <column id="991" parent="290" name="rate">
  4950. <Comment>倍率</Comment>
  4951. <NotNull>1</NotNull>
  4952. <Position>6</Position>
  4953. <StoredType>double(6,2 digit) unsigned|0s</StoredType>
  4954. </column>
  4955. <column id="992" parent="290" name="traffic">
  4956. <Comment>产生流量</Comment>
  4957. <NotNull>1</NotNull>
  4958. <Position>7</Position>
  4959. <StoredType>varchar(32)|0s</StoredType>
  4960. </column>
  4961. <column id="993" parent="290" name="log_time">
  4962. <Comment>记录时间</Comment>
  4963. <NotNull>1</NotNull>
  4964. <Position>8</Position>
  4965. <StoredType>int(10) unsigned|0s</StoredType>
  4966. </column>
  4967. <foreign-key id="994" parent="290" name="user_traffic_log_user_id_foreign">
  4968. <ColNames>user_id</ColNames>
  4969. <OnDelete>cascade</OnDelete>
  4970. <RefColNames>id</RefColNames>
  4971. <RefTableName>user</RefTableName>
  4972. </foreign-key>
  4973. <foreign-key id="995" parent="290" name="user_traffic_log_node_id_foreign">
  4974. <ColNames>node_id</ColNames>
  4975. <OnDelete>cascade</OnDelete>
  4976. <RefColNames>id</RefColNames>
  4977. <RefTableName>node</RefTableName>
  4978. </foreign-key>
  4979. <index id="996" parent="290" name="PRIMARY">
  4980. <ColNames>id</ColNames>
  4981. <Type>btree</Type>
  4982. <Unique>1</Unique>
  4983. </index>
  4984. <index id="997" parent="290" name="idx_user_node_time">
  4985. <ColNames>user_id
  4986. node_id
  4987. log_time</ColNames>
  4988. <Type>btree</Type>
  4989. </index>
  4990. <index id="998" parent="290" name="user_traffic_log_node_id_foreign">
  4991. <ColNames>node_id</ColNames>
  4992. <Type>btree</Type>
  4993. </index>
  4994. <key id="999" parent="290" name="PRIMARY">
  4995. <NameSurrogate>1</NameSurrogate>
  4996. <Primary>1</Primary>
  4997. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  4998. </key>
  4999. <column id="1000" parent="291" name="id">
  5000. <AutoIncrement>114372</AutoIncrement>
  5001. <NotNull>1</NotNull>
  5002. <Position>1</Position>
  5003. <StoredType>int(10) unsigned|0s</StoredType>
  5004. </column>
  5005. <column id="1001" parent="291" name="type">
  5006. <Comment>激活类型:1-自行激活、2-管理员激活</Comment>
  5007. <DefaultExpression>1</DefaultExpression>
  5008. <NotNull>1</NotNull>
  5009. <Position>2</Position>
  5010. <StoredType>tinyint(1)|0s</StoredType>
  5011. </column>
  5012. <column id="1002" parent="291" name="user_id">
  5013. <Comment>用户ID</Comment>
  5014. <NotNull>1</NotNull>
  5015. <Position>3</Position>
  5016. <StoredType>int(10) unsigned|0s</StoredType>
  5017. </column>
  5018. <column id="1003" parent="291" name="token">
  5019. <Comment>校验token</Comment>
  5020. <NotNull>1</NotNull>
  5021. <Position>4</Position>
  5022. <StoredType>varchar(32)|0s</StoredType>
  5023. </column>
  5024. <column id="1004" parent="291" name="status">
  5025. <Comment>状态:0-未使用、1-已使用、2-已失效</Comment>
  5026. <DefaultExpression>0</DefaultExpression>
  5027. <NotNull>1</NotNull>
  5028. <Position>5</Position>
  5029. <StoredType>tinyint(1)|0s</StoredType>
  5030. </column>
  5031. <column id="1005" parent="291" name="created_at">
  5032. <Comment>创建时间</Comment>
  5033. <NotNull>1</NotNull>
  5034. <Position>6</Position>
  5035. <StoredType>datetime|0s</StoredType>
  5036. </column>
  5037. <column id="1006" parent="291" name="updated_at">
  5038. <Comment>最后更新时间</Comment>
  5039. <NotNull>1</NotNull>
  5040. <Position>7</Position>
  5041. <StoredType>datetime|0s</StoredType>
  5042. </column>
  5043. <foreign-key id="1007" parent="291" name="verify_user_id_foreign">
  5044. <ColNames>user_id</ColNames>
  5045. <OnDelete>cascade</OnDelete>
  5046. <RefColNames>id</RefColNames>
  5047. <RefTableName>user</RefTableName>
  5048. </foreign-key>
  5049. <index id="1008" parent="291" name="PRIMARY">
  5050. <ColNames>id</ColNames>
  5051. <Type>btree</Type>
  5052. <Unique>1</Unique>
  5053. </index>
  5054. <index id="1009" parent="291" name="verify_user_id_foreign">
  5055. <ColNames>user_id</ColNames>
  5056. <Type>btree</Type>
  5057. </index>
  5058. <key id="1010" parent="291" name="PRIMARY">
  5059. <NameSurrogate>1</NameSurrogate>
  5060. <Primary>1</Primary>
  5061. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  5062. </key>
  5063. <column id="1011" parent="292" name="id">
  5064. <AutoIncrement>17</AutoIncrement>
  5065. <NotNull>1</NotNull>
  5066. <Position>1</Position>
  5067. <StoredType>int(10) unsigned|0s</StoredType>
  5068. </column>
  5069. <column id="1012" parent="292" name="address">
  5070. <Comment>用户邮箱</Comment>
  5071. <NotNull>1</NotNull>
  5072. <Position>2</Position>
  5073. <StoredType>varchar(128)|0s</StoredType>
  5074. </column>
  5075. <column id="1013" parent="292" name="code">
  5076. <Comment>验证码</Comment>
  5077. <NotNull>1</NotNull>
  5078. <Position>3</Position>
  5079. <StoredType>char(6)|0s</StoredType>
  5080. </column>
  5081. <column id="1014" parent="292" name="status">
  5082. <Comment>状态:0-未使用、1-已使用、2-已失效</Comment>
  5083. <DefaultExpression>0</DefaultExpression>
  5084. <NotNull>1</NotNull>
  5085. <Position>4</Position>
  5086. <StoredType>tinyint(1)|0s</StoredType>
  5087. </column>
  5088. <column id="1015" parent="292" name="created_at">
  5089. <Comment>创建时间</Comment>
  5090. <NotNull>1</NotNull>
  5091. <Position>5</Position>
  5092. <StoredType>datetime|0s</StoredType>
  5093. </column>
  5094. <column id="1016" parent="292" name="updated_at">
  5095. <Comment>最后更新时间</Comment>
  5096. <NotNull>1</NotNull>
  5097. <Position>6</Position>
  5098. <StoredType>datetime|0s</StoredType>
  5099. </column>
  5100. <index id="1017" parent="292" name="PRIMARY">
  5101. <ColNames>id</ColNames>
  5102. <Type>btree</Type>
  5103. <Unique>1</Unique>
  5104. </index>
  5105. <key id="1018" parent="292" name="PRIMARY">
  5106. <NameSurrogate>1</NameSurrogate>
  5107. <Primary>1</Primary>
  5108. <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
  5109. </key>
  5110. </database-model>
  5111. </dataSource>