12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111 |
- <?xml version="1.0" encoding="UTF-8"?>
- <dataSource name="api_niubiyun_xyz@158.247.203.230">
- <database-model serializer="dbm" dbms="MYSQL" family-id="MYSQL" format-version="4.53">
- <root id="1">
- <DefaultCasing>exact</DefaultCasing>
- <DefaultEngine>InnoDB</DefaultEngine>
- <DefaultTmpEngine>InnoDB</DefaultTmpEngine>
- <Grants>api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|ALTER|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|ALTER ROUTINE|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|CREATE|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|CREATE ROUTINE|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|CREATE TEMPORARY TABLES|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|CREATE VIEW|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|DELETE|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|DROP|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|EVENT|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|EXECUTE|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|INDEX|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|INSERT|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|LOCK TABLES|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|REFERENCES|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|SELECT|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|SHOW VIEW|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|TRIGGER|G
- api_niubiyun_xyz|schema||api_niubiyun_xyz|10.34.96.5|UPDATE|G</Grants>
- <ServerVersion>5.7.43</ServerVersion>
- </root>
- <collation id="2" parent="1" name="armscii8_bin">
- <Charset>armscii8</Charset>
- </collation>
- <collation id="3" parent="1" name="armscii8_general_ci">
- <Charset>armscii8</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="4" parent="1" name="ascii_bin">
- <Charset>ascii</Charset>
- </collation>
- <collation id="5" parent="1" name="ascii_general_ci">
- <Charset>ascii</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="6" parent="1" name="big5_bin">
- <Charset>big5</Charset>
- </collation>
- <collation id="7" parent="1" name="big5_chinese_ci">
- <Charset>big5</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="8" parent="1" name="binary">
- <Charset>binary</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="9" parent="1" name="cp1250_bin">
- <Charset>cp1250</Charset>
- </collation>
- <collation id="10" parent="1" name="cp1250_croatian_ci">
- <Charset>cp1250</Charset>
- </collation>
- <collation id="11" parent="1" name="cp1250_czech_cs">
- <Charset>cp1250</Charset>
- </collation>
- <collation id="12" parent="1" name="cp1250_general_ci">
- <Charset>cp1250</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="13" parent="1" name="cp1250_polish_ci">
- <Charset>cp1250</Charset>
- </collation>
- <collation id="14" parent="1" name="cp1251_bin">
- <Charset>cp1251</Charset>
- </collation>
- <collation id="15" parent="1" name="cp1251_bulgarian_ci">
- <Charset>cp1251</Charset>
- </collation>
- <collation id="16" parent="1" name="cp1251_general_ci">
- <Charset>cp1251</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="17" parent="1" name="cp1251_general_cs">
- <Charset>cp1251</Charset>
- </collation>
- <collation id="18" parent="1" name="cp1251_ukrainian_ci">
- <Charset>cp1251</Charset>
- </collation>
- <collation id="19" parent="1" name="cp1256_bin">
- <Charset>cp1256</Charset>
- </collation>
- <collation id="20" parent="1" name="cp1256_general_ci">
- <Charset>cp1256</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="21" parent="1" name="cp1257_bin">
- <Charset>cp1257</Charset>
- </collation>
- <collation id="22" parent="1" name="cp1257_general_ci">
- <Charset>cp1257</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="23" parent="1" name="cp1257_lithuanian_ci">
- <Charset>cp1257</Charset>
- </collation>
- <collation id="24" parent="1" name="cp850_bin">
- <Charset>cp850</Charset>
- </collation>
- <collation id="25" parent="1" name="cp850_general_ci">
- <Charset>cp850</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="26" parent="1" name="cp852_bin">
- <Charset>cp852</Charset>
- </collation>
- <collation id="27" parent="1" name="cp852_general_ci">
- <Charset>cp852</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="28" parent="1" name="cp866_bin">
- <Charset>cp866</Charset>
- </collation>
- <collation id="29" parent="1" name="cp866_general_ci">
- <Charset>cp866</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="30" parent="1" name="cp932_bin">
- <Charset>cp932</Charset>
- </collation>
- <collation id="31" parent="1" name="cp932_japanese_ci">
- <Charset>cp932</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="32" parent="1" name="dec8_bin">
- <Charset>dec8</Charset>
- </collation>
- <collation id="33" parent="1" name="dec8_swedish_ci">
- <Charset>dec8</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="34" parent="1" name="eucjpms_bin">
- <Charset>eucjpms</Charset>
- </collation>
- <collation id="35" parent="1" name="eucjpms_japanese_ci">
- <Charset>eucjpms</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="36" parent="1" name="euckr_bin">
- <Charset>euckr</Charset>
- </collation>
- <collation id="37" parent="1" name="euckr_korean_ci">
- <Charset>euckr</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="38" parent="1" name="gb18030_bin">
- <Charset>gb18030</Charset>
- </collation>
- <collation id="39" parent="1" name="gb18030_chinese_ci">
- <Charset>gb18030</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="40" parent="1" name="gb18030_unicode_520_ci">
- <Charset>gb18030</Charset>
- </collation>
- <collation id="41" parent="1" name="gb2312_bin">
- <Charset>gb2312</Charset>
- </collation>
- <collation id="42" parent="1" name="gb2312_chinese_ci">
- <Charset>gb2312</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="43" parent="1" name="gbk_bin">
- <Charset>gbk</Charset>
- </collation>
- <collation id="44" parent="1" name="gbk_chinese_ci">
- <Charset>gbk</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="45" parent="1" name="geostd8_bin">
- <Charset>geostd8</Charset>
- </collation>
- <collation id="46" parent="1" name="geostd8_general_ci">
- <Charset>geostd8</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="47" parent="1" name="greek_bin">
- <Charset>greek</Charset>
- </collation>
- <collation id="48" parent="1" name="greek_general_ci">
- <Charset>greek</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="49" parent="1" name="hebrew_bin">
- <Charset>hebrew</Charset>
- </collation>
- <collation id="50" parent="1" name="hebrew_general_ci">
- <Charset>hebrew</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="51" parent="1" name="hp8_bin">
- <Charset>hp8</Charset>
- </collation>
- <collation id="52" parent="1" name="hp8_english_ci">
- <Charset>hp8</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="53" parent="1" name="keybcs2_bin">
- <Charset>keybcs2</Charset>
- </collation>
- <collation id="54" parent="1" name="keybcs2_general_ci">
- <Charset>keybcs2</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="55" parent="1" name="koi8r_bin">
- <Charset>koi8r</Charset>
- </collation>
- <collation id="56" parent="1" name="koi8r_general_ci">
- <Charset>koi8r</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="57" parent="1" name="koi8u_bin">
- <Charset>koi8u</Charset>
- </collation>
- <collation id="58" parent="1" name="koi8u_general_ci">
- <Charset>koi8u</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="59" parent="1" name="latin1_bin">
- <Charset>latin1</Charset>
- </collation>
- <collation id="60" parent="1" name="latin1_danish_ci">
- <Charset>latin1</Charset>
- </collation>
- <collation id="61" parent="1" name="latin1_general_ci">
- <Charset>latin1</Charset>
- </collation>
- <collation id="62" parent="1" name="latin1_general_cs">
- <Charset>latin1</Charset>
- </collation>
- <collation id="63" parent="1" name="latin1_german1_ci">
- <Charset>latin1</Charset>
- </collation>
- <collation id="64" parent="1" name="latin1_german2_ci">
- <Charset>latin1</Charset>
- </collation>
- <collation id="65" parent="1" name="latin1_spanish_ci">
- <Charset>latin1</Charset>
- </collation>
- <collation id="66" parent="1" name="latin1_swedish_ci">
- <Charset>latin1</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="67" parent="1" name="latin2_bin">
- <Charset>latin2</Charset>
- </collation>
- <collation id="68" parent="1" name="latin2_croatian_ci">
- <Charset>latin2</Charset>
- </collation>
- <collation id="69" parent="1" name="latin2_czech_cs">
- <Charset>latin2</Charset>
- </collation>
- <collation id="70" parent="1" name="latin2_general_ci">
- <Charset>latin2</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="71" parent="1" name="latin2_hungarian_ci">
- <Charset>latin2</Charset>
- </collation>
- <collation id="72" parent="1" name="latin5_bin">
- <Charset>latin5</Charset>
- </collation>
- <collation id="73" parent="1" name="latin5_turkish_ci">
- <Charset>latin5</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="74" parent="1" name="latin7_bin">
- <Charset>latin7</Charset>
- </collation>
- <collation id="75" parent="1" name="latin7_estonian_cs">
- <Charset>latin7</Charset>
- </collation>
- <collation id="76" parent="1" name="latin7_general_ci">
- <Charset>latin7</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="77" parent="1" name="latin7_general_cs">
- <Charset>latin7</Charset>
- </collation>
- <collation id="78" parent="1" name="macce_bin">
- <Charset>macce</Charset>
- </collation>
- <collation id="79" parent="1" name="macce_general_ci">
- <Charset>macce</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="80" parent="1" name="macroman_bin">
- <Charset>macroman</Charset>
- </collation>
- <collation id="81" parent="1" name="macroman_general_ci">
- <Charset>macroman</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="82" parent="1" name="sjis_bin">
- <Charset>sjis</Charset>
- </collation>
- <collation id="83" parent="1" name="sjis_japanese_ci">
- <Charset>sjis</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="84" parent="1" name="swe7_bin">
- <Charset>swe7</Charset>
- </collation>
- <collation id="85" parent="1" name="swe7_swedish_ci">
- <Charset>swe7</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="86" parent="1" name="tis620_bin">
- <Charset>tis620</Charset>
- </collation>
- <collation id="87" parent="1" name="tis620_thai_ci">
- <Charset>tis620</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="88" parent="1" name="ucs2_bin">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="89" parent="1" name="ucs2_croatian_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="90" parent="1" name="ucs2_czech_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="91" parent="1" name="ucs2_danish_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="92" parent="1" name="ucs2_esperanto_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="93" parent="1" name="ucs2_estonian_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="94" parent="1" name="ucs2_general_ci">
- <Charset>ucs2</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="95" parent="1" name="ucs2_general_mysql500_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="96" parent="1" name="ucs2_german2_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="97" parent="1" name="ucs2_hungarian_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="98" parent="1" name="ucs2_icelandic_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="99" parent="1" name="ucs2_latvian_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="100" parent="1" name="ucs2_lithuanian_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="101" parent="1" name="ucs2_persian_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="102" parent="1" name="ucs2_polish_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="103" parent="1" name="ucs2_roman_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="104" parent="1" name="ucs2_romanian_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="105" parent="1" name="ucs2_sinhala_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="106" parent="1" name="ucs2_slovak_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="107" parent="1" name="ucs2_slovenian_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="108" parent="1" name="ucs2_spanish2_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="109" parent="1" name="ucs2_spanish_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="110" parent="1" name="ucs2_swedish_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="111" parent="1" name="ucs2_turkish_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="112" parent="1" name="ucs2_unicode_520_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="113" parent="1" name="ucs2_unicode_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="114" parent="1" name="ucs2_vietnamese_ci">
- <Charset>ucs2</Charset>
- </collation>
- <collation id="115" parent="1" name="ujis_bin">
- <Charset>ujis</Charset>
- </collation>
- <collation id="116" parent="1" name="ujis_japanese_ci">
- <Charset>ujis</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="117" parent="1" name="utf16_bin">
- <Charset>utf16</Charset>
- </collation>
- <collation id="118" parent="1" name="utf16_croatian_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="119" parent="1" name="utf16_czech_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="120" parent="1" name="utf16_danish_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="121" parent="1" name="utf16_esperanto_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="122" parent="1" name="utf16_estonian_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="123" parent="1" name="utf16_general_ci">
- <Charset>utf16</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="124" parent="1" name="utf16_german2_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="125" parent="1" name="utf16_hungarian_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="126" parent="1" name="utf16_icelandic_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="127" parent="1" name="utf16_latvian_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="128" parent="1" name="utf16_lithuanian_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="129" parent="1" name="utf16_persian_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="130" parent="1" name="utf16_polish_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="131" parent="1" name="utf16_roman_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="132" parent="1" name="utf16_romanian_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="133" parent="1" name="utf16_sinhala_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="134" parent="1" name="utf16_slovak_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="135" parent="1" name="utf16_slovenian_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="136" parent="1" name="utf16_spanish2_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="137" parent="1" name="utf16_spanish_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="138" parent="1" name="utf16_swedish_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="139" parent="1" name="utf16_turkish_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="140" parent="1" name="utf16_unicode_520_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="141" parent="1" name="utf16_unicode_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="142" parent="1" name="utf16_vietnamese_ci">
- <Charset>utf16</Charset>
- </collation>
- <collation id="143" parent="1" name="utf16le_bin">
- <Charset>utf16le</Charset>
- </collation>
- <collation id="144" parent="1" name="utf16le_general_ci">
- <Charset>utf16le</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="145" parent="1" name="utf32_bin">
- <Charset>utf32</Charset>
- </collation>
- <collation id="146" parent="1" name="utf32_croatian_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="147" parent="1" name="utf32_czech_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="148" parent="1" name="utf32_danish_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="149" parent="1" name="utf32_esperanto_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="150" parent="1" name="utf32_estonian_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="151" parent="1" name="utf32_general_ci">
- <Charset>utf32</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="152" parent="1" name="utf32_german2_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="153" parent="1" name="utf32_hungarian_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="154" parent="1" name="utf32_icelandic_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="155" parent="1" name="utf32_latvian_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="156" parent="1" name="utf32_lithuanian_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="157" parent="1" name="utf32_persian_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="158" parent="1" name="utf32_polish_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="159" parent="1" name="utf32_roman_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="160" parent="1" name="utf32_romanian_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="161" parent="1" name="utf32_sinhala_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="162" parent="1" name="utf32_slovak_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="163" parent="1" name="utf32_slovenian_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="164" parent="1" name="utf32_spanish2_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="165" parent="1" name="utf32_spanish_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="166" parent="1" name="utf32_swedish_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="167" parent="1" name="utf32_turkish_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="168" parent="1" name="utf32_unicode_520_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="169" parent="1" name="utf32_unicode_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="170" parent="1" name="utf32_vietnamese_ci">
- <Charset>utf32</Charset>
- </collation>
- <collation id="171" parent="1" name="utf8_bin">
- <Charset>utf8</Charset>
- </collation>
- <collation id="172" parent="1" name="utf8_croatian_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="173" parent="1" name="utf8_czech_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="174" parent="1" name="utf8_danish_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="175" parent="1" name="utf8_esperanto_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="176" parent="1" name="utf8_estonian_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="177" parent="1" name="utf8_general_ci">
- <Charset>utf8</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="178" parent="1" name="utf8_general_mysql500_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="179" parent="1" name="utf8_german2_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="180" parent="1" name="utf8_hungarian_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="181" parent="1" name="utf8_icelandic_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="182" parent="1" name="utf8_latvian_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="183" parent="1" name="utf8_lithuanian_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="184" parent="1" name="utf8_persian_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="185" parent="1" name="utf8_polish_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="186" parent="1" name="utf8_roman_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="187" parent="1" name="utf8_romanian_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="188" parent="1" name="utf8_sinhala_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="189" parent="1" name="utf8_slovak_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="190" parent="1" name="utf8_slovenian_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="191" parent="1" name="utf8_spanish2_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="192" parent="1" name="utf8_spanish_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="193" parent="1" name="utf8_swedish_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="194" parent="1" name="utf8_turkish_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="195" parent="1" name="utf8_unicode_520_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="196" parent="1" name="utf8_unicode_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="197" parent="1" name="utf8_vietnamese_ci">
- <Charset>utf8</Charset>
- </collation>
- <collation id="198" parent="1" name="utf8mb4_bin">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="199" parent="1" name="utf8mb4_croatian_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="200" parent="1" name="utf8mb4_czech_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="201" parent="1" name="utf8mb4_danish_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="202" parent="1" name="utf8mb4_esperanto_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="203" parent="1" name="utf8mb4_estonian_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="204" parent="1" name="utf8mb4_general_ci">
- <Charset>utf8mb4</Charset>
- <DefaultForCharset>1</DefaultForCharset>
- </collation>
- <collation id="205" parent="1" name="utf8mb4_german2_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="206" parent="1" name="utf8mb4_hungarian_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="207" parent="1" name="utf8mb4_icelandic_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="208" parent="1" name="utf8mb4_latvian_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="209" parent="1" name="utf8mb4_lithuanian_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="210" parent="1" name="utf8mb4_persian_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="211" parent="1" name="utf8mb4_polish_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="212" parent="1" name="utf8mb4_roman_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="213" parent="1" name="utf8mb4_romanian_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="214" parent="1" name="utf8mb4_sinhala_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="215" parent="1" name="utf8mb4_slovak_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="216" parent="1" name="utf8mb4_slovenian_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="217" parent="1" name="utf8mb4_spanish2_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="218" parent="1" name="utf8mb4_spanish_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="219" parent="1" name="utf8mb4_swedish_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="220" parent="1" name="utf8mb4_turkish_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="221" parent="1" name="utf8mb4_unicode_520_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="222" parent="1" name="utf8mb4_unicode_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <collation id="223" parent="1" name="utf8mb4_vietnamese_ci">
- <Charset>utf8mb4</Charset>
- </collation>
- <schema id="224" parent="1" name="api_niubiyun_xyz">
- <Current>1</Current>
- <LastIntrospectionLocalTimestamp>2024-09-07.06:07:43</LastIntrospectionLocalTimestamp>
- <CollationName>utf8mb4_general_ci</CollationName>
- </schema>
- <schema id="225" parent="1" name="information_schema">
- <CollationName>utf8_general_ci</CollationName>
- </schema>
- <user id="226" parent="1" name="api_niubiyun_xyz">
- <Host>10.34.96.5</Host>
- </user>
- <scheduled-event id="227" parent="224" name="删除1天前的数据node_online_ip">
- <Definer>api_niubiyun_xyz@localhost</Definer>
- <Interval>'1' DAY</Interval>
- <LastExecuted>2024-09-07.13:48:07</LastExecuted>
- <SourceTextLength>69</SourceTextLength>
- <Starts>'2023-08-04 05:48:07'</Starts>
- <Status>enabled</Status>
- </scheduled-event>
- <scheduled-event id="228" parent="224" name="删除1天的数据user_daily_data_flow">
- <Definer>api_niubiyun_xyz@localhost</Definer>
- <Interval>'1' DAY</Interval>
- <LastExecuted>2024-09-07.12:53:14</LastExecuted>
- <SourceTextLength>75</SourceTextLength>
- <Starts>'2023-08-04 04:53:14'</Starts>
- <Status>enabled</Status>
- </scheduled-event>
- <scheduled-event id="229" parent="224" name="删除1小时前的数据user_hourly_data_flow">
- <Definer>api_niubiyun_xyz@localhost</Definer>
- <Interval>'2' HOUR</Interval>
- <LastExecuted>2024-09-07.13:15:48</LastExecuted>
- <SourceTextLength>77</SourceTextLength>
- <Starts>'2023-08-04 13:15:48'</Starts>
- <Status>enabled</Status>
- </scheduled-event>
- <scheduled-event id="230" parent="224" name="删除7天前已关闭的订单">
- <Definer>api_niubiyun_xyz@localhost</Definer>
- <Interval>'1' DAY</Interval>
- <LastExecuted>2024-09-06.15:58:13</LastExecuted>
- <SourceTextLength>82</SourceTextLength>
- <Starts>'2023-12-14 07:58:13'</Starts>
- <Status>enabled</Status>
- </scheduled-event>
- <scheduled-event id="231" parent="224" name="删除7天前的数据notifications(邮件)">
- <Definer>api_niubiyun_xyz@localhost</Definer>
- <Interval>'1' DAY</Interval>
- <LastExecuted>2024-09-06.19:51:20</LastExecuted>
- <SourceTextLength>68</SourceTextLength>
- <Starts>'2023-08-04 11:51:20'</Starts>
- <Status>enabled</Status>
- </scheduled-event>
- <scheduled-event id="232" parent="224" name="清空failed_jobs">
- <Definer>api_niubiyun_xyz@localhost</Definer>
- <Interval>'1' DAY</Interval>
- <LastExecuted>2024-09-06.15:50:13</LastExecuted>
- <SourceTextLength>26</SourceTextLength>
- <Starts>'2022-10-20 07:50:13'</Starts>
- <Status>enabled</Status>
- </scheduled-event>
- <table id="233" parent="224" name="appupdate">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_general_ci</CollationName>
- </table>
- <table id="234" parent="224" name="article">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="235" parent="224" name="config">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="236" parent="224" name="country">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="237" parent="224" name="coupon">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="238" parent="224" name="coupon_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="239" parent="224" name="email_filter">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="240" parent="224" name="failed_jobs">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="241" parent="224" name="goods">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="242" parent="224" name="invite">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="243" parent="224" name="jobs">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="244" parent="224" name="label">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="245" parent="224" name="label_node">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="246" parent="224" name="level">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="247" parent="224" name="marketing">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="248" parent="224" name="migrations">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="249" parent="224" name="model_has_permissions">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="250" parent="224" name="model_has_roles">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="251" parent="224" name="node">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="252" parent="224" name="node_auth">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="253" parent="224" name="node_certificate">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="254" parent="224" name="node_daily_data_flow">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="255" parent="224" name="node_heartbeat">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="256" parent="224" name="node_hourly_data_flow">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="257" parent="224" name="node_online_ip">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="258" parent="224" name="node_online_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="259" parent="224" name="node_user_group">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="260" parent="224" name="notification_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="261" parent="224" name="notifications">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="262" parent="224" name="order">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="263" parent="224" name="payment">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="264" parent="224" name="payment_callback">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="265" parent="224" name="permissions">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="266" parent="224" name="products_pool">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="267" parent="224" name="referral_apply">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="268" parent="224" name="referral_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="269" parent="224" name="role_has_permissions">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="270" parent="224" name="roles">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="271" parent="224" name="rule">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="272" parent="224" name="rule_group">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="273" parent="224" name="rule_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="274" parent="224" name="rule_rule_group">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="275" parent="224" name="sms">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_general_ci</CollationName>
- </table>
- <table id="276" parent="224" name="ss_config">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="277" parent="224" name="ticket">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="278" parent="224" name="ticket_reply">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="279" parent="224" name="user">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="280" parent="224" name="user_baned_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="281" parent="224" name="user_credit_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="282" parent="224" name="user_daily_data_flow">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="283" parent="224" name="user_data_modify_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="284" parent="224" name="user_emails">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_general_ci</CollationName>
- </table>
- <table id="285" parent="224" name="user_group">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="286" parent="224" name="user_hourly_data_flow">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="287" parent="224" name="user_login_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="288" parent="224" name="user_subscribe">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="289" parent="224" name="user_subscribe_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="290" parent="224" name="user_traffic_log">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="291" parent="224" name="verify">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <table id="292" parent="224" name="verify_code">
- <Engine>InnoDB</Engine>
- <CollationName>utf8mb4_unicode_ci</CollationName>
- </table>
- <column id="293" parent="233" name="id">
- <AutoIncrement>6</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(11)|0s</StoredType>
- </column>
- <column id="294" parent="233" name="appname">
- <Comment>app 名称</Comment>
- <DefaultExpression>''</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="295" parent="233" name="appversion">
- <DefaultExpression>''</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="296" parent="233" name="appdownload">
- <Comment>app下载地址</Comment>
- <DefaultExpression>''</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(256)|0s</StoredType>
- </column>
- <column id="297" parent="233" name="appmsg">
- <DefaultExpression>''</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>varchar(256)|0s</StoredType>
- </column>
- <column id="298" parent="233" name="appdown">
- <Comment>下载页面</Comment>
- <Position>6</Position>
- <StoredType>varchar(256)|0s</StoredType>
- </column>
- <index id="299" parent="233" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="300" parent="233" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="301" parent="234" name="id">
- <AutoIncrement>18</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="302" parent="234" name="type">
- <Comment>类型:1-文章、2-站内公告、3-站外公告</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="303" parent="234" name="title">
- <Comment>标题</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(100)|0s</StoredType>
- </column>
- <column id="304" parent="234" name="summary">
- <Comment>简介</Comment>
- <Position>4</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="305" parent="234" name="logo">
- <Comment>LOGO</Comment>
- <Position>5</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="306" parent="234" name="content">
- <Comment>内容</Comment>
- <Position>6</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="307" parent="234" name="sort">
- <Comment>排序</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <column id="308" parent="234" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="309" parent="234" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="310" parent="234" name="deleted_at">
- <Comment>删除时间</Comment>
- <Position>10</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <index id="311" parent="234" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="312" parent="234" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="313" parent="235" name="name">
- <Comment>配置名</Comment>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="314" parent="235" name="value">
- <Comment>配置值</Comment>
- <Position>2</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <index id="315" parent="235" name="PRIMARY">
- <ColNames>name</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="316" parent="235" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="317" parent="236" name="code">
- <Comment>ISO国家代码</Comment>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>char(2)|0s</StoredType>
- </column>
- <column id="318" parent="236" name="name">
- <Comment>名称</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(10)|0s</StoredType>
- </column>
- <index id="319" parent="236" name="PRIMARY">
- <ColNames>code</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="320" parent="236" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="321" parent="237" name="id">
- <AutoIncrement>17440</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="322" parent="237" name="name">
- <Comment>优惠券名称</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(50)|0s</StoredType>
- </column>
- <column id="323" parent="237" name="logo">
- <Comment>优惠券LOGO</Comment>
- <Position>3</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="324" parent="237" name="sn">
- <Comment>优惠券码</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(50)|0s</StoredType>
- </column>
- <column id="325" parent="237" name="type">
- <Comment>类型:1-抵用券、2-折扣券、3-充值券</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="326" parent="237" name="usable_times">
- <Comment>可使用次数</Comment>
- <Position>6</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="327" parent="237" name="value">
- <Comment>折扣金额(元)/折扣力度</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="328" parent="237" name="rule">
- <Comment>使用限制(元)</Comment>
- <Position>8</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="329" parent="237" name="start_time">
- <Comment>有效期开始</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="330" parent="237" name="end_time">
- <Comment>有效期结束</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>10</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="331" parent="237" name="status">
- <Comment>状态:0-未使用、1-已使用、2-已失效</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>11</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="332" parent="237" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>12</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="333" parent="237" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>13</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="334" parent="237" name="deleted_at">
- <Comment>删除时间</Comment>
- <Position>14</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <index id="335" parent="237" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="336" parent="237" name="coupon_sn_unique">
- <ColNames>sn</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="337" parent="237" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="338" parent="237" name="coupon_sn_unique">
- <UnderlyingIndexName>coupon_sn_unique</UnderlyingIndexName>
- </key>
- <column id="339" parent="238" name="id">
- <AutoIncrement>15963</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="340" parent="238" name="coupon_id">
- <Comment>优惠券ID</Comment>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="341" parent="238" name="goods_id">
- <Comment>商品ID</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="342" parent="238" name="order_id">
- <Comment>订单ID</Comment>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="343" parent="238" name="description">
- <Comment>备注</Comment>
- <Position>5</Position>
- <StoredType>varchar(50)|0s</StoredType>
- </column>
- <column id="344" parent="238" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="345" parent="238" name="coupon_log_coupon_id_foreign">
- <ColNames>coupon_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>coupon</RefTableName>
- </foreign-key>
- <foreign-key id="346" parent="238" name="coupon_log_goods_id_foreign">
- <ColNames>goods_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>goods</RefTableName>
- </foreign-key>
- <foreign-key id="347" parent="238" name="coupon_log_order_id_foreign">
- <ColNames>order_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>order</RefTableName>
- </foreign-key>
- <index id="348" parent="238" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="349" parent="238" name="coupon_log_coupon_id_foreign">
- <ColNames>coupon_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="350" parent="238" name="coupon_log_goods_id_foreign">
- <ColNames>goods_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="351" parent="238" name="coupon_log_order_id_foreign">
- <ColNames>order_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="352" parent="238" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="353" parent="239" name="id">
- <AutoIncrement>136</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="354" parent="239" name="type">
- <Comment>类型:1-黑名单、2-白名单</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="355" parent="239" name="words">
- <Comment>敏感词</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(50)|0s</StoredType>
- </column>
- <index id="356" parent="239" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="357" parent="239" name="email_filter_words_type_index">
- <ColNames>words
- type</ColNames>
- <Type>btree</Type>
- </index>
- <key id="358" parent="239" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="359" parent="240" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="360" parent="240" name="connection">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="361" parent="240" name="queue">
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="362" parent="240" name="payload">
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>longtext|0s</StoredType>
- </column>
- <column id="363" parent="240" name="exception">
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>longtext|0s</StoredType>
- </column>
- <column id="364" parent="240" name="failed_at">
- <DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <index id="365" parent="240" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="366" parent="240" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="367" parent="241" name="id">
- <AutoIncrement>30</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="368" parent="241" name="name">
- <Comment>商品名称</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(100)|0s</StoredType>
- </column>
- <column id="369" parent="241" name="logo">
- <Comment>商品图片地址</Comment>
- <Position>3</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="370" parent="241" name="traffic">
- <Comment>商品内含多少流量,单位MiB</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="371" parent="241" name="type">
- <Comment>商品类型:1-流量包、2-套餐</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="372" parent="241" name="price">
- <Comment>售价,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="373" parent="241" name="level">
- <Comment>购买后给用户授权的等级</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <column id="374" parent="241" name="renew">
- <Comment>流量重置价格,单位分</Comment>
- <Position>8</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="375" parent="241" name="period">
- <Comment>流量自动重置周期</Comment>
- <Position>9</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="376" parent="241" name="info">
- <Comment>商品信息</Comment>
- <Position>10</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="377" parent="241" name="description">
- <Comment>商品描述</Comment>
- <Position>11</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="378" parent="241" name="days">
- <Comment>有效期</Comment>
- <DefaultExpression>30</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>12</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="379" parent="241" name="invite_num">
- <Comment>赠送邀请码数</Comment>
- <Position>13</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="380" parent="241" name="limit_num">
- <Comment>限购数量,默认为null不限购</Comment>
- <Position>14</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="381" parent="241" name="color">
- <Comment>商品颜色</Comment>
- <DefaultExpression>'green'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>15</Position>
- <StoredType>varchar(50)|0s</StoredType>
- </column>
- <column id="382" parent="241" name="sort">
- <Comment>排序</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>16</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <column id="383" parent="241" name="is_hot">
- <Comment>是否热销:0-否、1-是</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>17</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="384" parent="241" name="status">
- <Comment>状态:0-下架、1-上架</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>18</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="385" parent="241" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>19</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="386" parent="241" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>20</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="387" parent="241" name="deleted_at">
- <Comment>删除时间</Comment>
- <Position>21</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <index id="388" parent="241" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="389" parent="241" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="390" parent="242" name="id">
- <AutoIncrement>21</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="391" parent="242" name="inviter_id">
- <Comment>邀请ID</Comment>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="392" parent="242" name="invitee_id">
- <Comment>受邀ID</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="393" parent="242" name="code">
- <Comment>邀请码</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>char(12)|0s</StoredType>
- </column>
- <column id="394" parent="242" name="status">
- <Comment>邀请码状态:0-未使用、1-已使用、2-已过期</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="395" parent="242" name="dateline">
- <Comment>有效期至</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="396" parent="242" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="397" parent="242" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="398" parent="242" name="deleted_at">
- <Comment>删除时间</Comment>
- <Position>9</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <foreign-key id="399" parent="242" name="invite_ibfk_2">
- <ColNames>inviter_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="400" parent="242" name="invite_ibfk_1">
- <ColNames>invitee_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="401" parent="242" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="402" parent="242" name="invite_code_unique">
- <ColNames>code</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="403" parent="242" name="invite_inviter_id_foreign">
- <ColNames>inviter_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="404" parent="242" name="invite_invitee_id_foreign">
- <ColNames>invitee_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="405" parent="242" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="406" parent="242" name="invite_code_unique">
- <UnderlyingIndexName>invite_code_unique</UnderlyingIndexName>
- </key>
- <column id="407" parent="243" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="408" parent="243" name="queue">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="409" parent="243" name="payload">
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>longtext|0s</StoredType>
- </column>
- <column id="410" parent="243" name="attempts">
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <column id="411" parent="243" name="reserved_at">
- <Position>5</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="412" parent="243" name="available_at">
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="413" parent="243" name="created_at">
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <index id="414" parent="243" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="415" parent="243" name="jobs_queue_index">
- <ColNames>queue</ColNames>
- <Type>btree</Type>
- </index>
- <key id="416" parent="243" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="417" parent="244" name="id">
- <AutoIncrement>33</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="418" parent="244" name="name">
- <Comment>名称</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="419" parent="244" name="sort">
- <Comment>排序值</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <index id="420" parent="244" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="421" parent="244" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="422" parent="245" name="id">
- <AutoIncrement>214</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="423" parent="245" name="node_id">
- <Comment>节点ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="424" parent="245" name="label_id">
- <Comment>标签ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <foreign-key id="425" parent="245" name="label_node_ibfk_2">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <foreign-key id="426" parent="245" name="label_node_ibfk_1">
- <ColNames>label_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>label</RefTableName>
- </foreign-key>
- <index id="427" parent="245" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="428" parent="245" name="node_label_node_id_label_id_unique">
- <ColNames>node_id
- label_id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="429" parent="245" name="idx_node_label">
- <ColNames>node_id
- label_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="430" parent="245" name="node_label_label_id_foreign">
- <ColNames>label_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="431" parent="245" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="432" parent="245" name="node_label_node_id_label_id_unique">
- <UnderlyingIndexName>node_label_node_id_label_id_unique</UnderlyingIndexName>
- </key>
- <column id="433" parent="246" name="id">
- <AutoIncrement>9</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="434" parent="246" name="level">
- <Comment>等级</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <column id="435" parent="246" name="name">
- <Comment>等级名称</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(100)|0s</StoredType>
- </column>
- <index id="436" parent="246" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="437" parent="246" name="level_level_unique">
- <ColNames>level</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="438" parent="246" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="439" parent="246" name="level_level_unique">
- <UnderlyingIndexName>level_level_unique</UnderlyingIndexName>
- </key>
- <column id="440" parent="247" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="441" parent="247" name="type">
- <Comment>类型:1-邮件群发</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="442" parent="247" name="receiver">
- <Comment>接收者</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="443" parent="247" name="title">
- <Comment>标题</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="444" parent="247" name="content">
- <Comment>内容</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="445" parent="247" name="error">
- <Comment>错误信息</Comment>
- <Position>6</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="446" parent="247" name="status">
- <Comment>状态:-1-失败、0-待发送、1-成功</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="447" parent="247" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="448" parent="247" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <index id="449" parent="247" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="450" parent="247" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="451" parent="248" name="id">
- <AutoIncrement>62</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="452" parent="248" name="migration">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="453" parent="248" name="batch">
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(11)|0s</StoredType>
- </column>
- <index id="454" parent="248" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="455" parent="248" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="456" parent="249" name="permission_id">
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="457" parent="249" name="model_type">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="458" parent="249" name="model_id">
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <foreign-key id="459" parent="249" name="model_has_permissions_ibfk_1">
- <ColNames>permission_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>permissions</RefTableName>
- </foreign-key>
- <index id="460" parent="249" name="PRIMARY">
- <ColNames>permission_id
- model_id
- model_type</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="461" parent="249" name="model_has_permissions_model_id_model_type_index">
- <ColNames>model_id
- model_type</ColNames>
- <Type>btree</Type>
- </index>
- <key id="462" parent="249" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="463" parent="250" name="role_id">
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="464" parent="250" name="model_type">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="465" parent="250" name="model_id">
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <foreign-key id="466" parent="250" name="model_has_roles_ibfk_1">
- <ColNames>role_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>roles</RefTableName>
- </foreign-key>
- <index id="467" parent="250" name="PRIMARY">
- <ColNames>role_id
- model_id
- model_type</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="468" parent="250" name="model_has_roles_model_id_model_type_index">
- <ColNames>model_id
- model_type</ColNames>
- <Type>btree</Type>
- </index>
- <key id="469" parent="250" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="470" parent="251" name="id">
- <AutoIncrement>1019</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="471" parent="251" name="type">
- <Comment>服务类型:1-Shadowsocks(R)、2-V2ray、3-Trojan、4-VNet</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="472" parent="251" name="name">
- <Comment>名称</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="473" parent="251" name="country_code">
- <Comment>国家代码</Comment>
- <DefaultExpression>'un'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>char(5)|0s</StoredType>
- </column>
- <column id="474" parent="251" name="server">
- <Comment>服务器域名地址</Comment>
- <Position>5</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="475" parent="251" name="ip">
- <Comment>服务器IPV4地址</Comment>
- <Position>6</Position>
- <StoredType>varchar(45)|0s</StoredType>
- </column>
- <column id="476" parent="251" name="ipv6">
- <Comment>服务器IPV6地址</Comment>
- <Position>7</Position>
- <StoredType>varchar(45)|0s</StoredType>
- </column>
- <column id="477" parent="251" name="level">
- <Comment>等级:0-无等级,全部可见</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <column id="478" parent="251" name="rule_group_id">
- <Comment>从属规则分组ID</Comment>
- <Position>9</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="479" parent="251" name="speed_limit">
- <Comment>节点限速,为0表示不限速,单位Byte</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>10</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="480" parent="251" name="client_limit">
- <Comment>设备数限制</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>11</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="481" parent="251" name="relay_server">
- <Comment>中转地址</Comment>
- <Position>12</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="482" parent="251" name="relay_port">
- <Comment>中转端口</Comment>
- <Position>13</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="483" parent="251" name="description">
- <Comment>节点简单描述</Comment>
- <Position>14</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="484" parent="251" name="geo">
- <Comment>节点地理位置</Comment>
- <Position>15</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="485" parent="251" name="method">
- <Comment>加密方式</Comment>
- <DefaultExpression>'aes-256-cfb'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>16</Position>
- <StoredType>varchar(32)|0s</StoredType>
- </column>
- <column id="486" parent="251" name="protocol">
- <Comment>协议</Comment>
- <DefaultExpression>'origin'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>17</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="487" parent="251" name="protocol_param">
- <Comment>协议参数</Comment>
- <Position>18</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="488" parent="251" name="obfs">
- <Comment>混淆</Comment>
- <DefaultExpression>'plain'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>19</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="489" parent="251" name="obfs_param">
- <Comment>混淆参数</Comment>
- <Position>20</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="490" parent="251" name="traffic_rate">
- <Comment>流量比率</Comment>
- <DefaultExpression>1.00</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>21</Position>
- <StoredType>double(6,2 digit) unsigned|0s</StoredType>
- </column>
- <column id="491" parent="251" name="is_subscribe">
- <Comment>是否允许用户订阅该节点:0-否、1-是</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>22</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="492" parent="251" name="is_ddns">
- <Comment>是否使用DDNS:0-否、1-是</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>23</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="493" parent="251" name="is_relay">
- <Comment>是否中转节点:0-否、1-是</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>24</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="494" parent="251" name="is_udp">
- <Comment>是否启用UDP:0-不启用、1-启用</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>25</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="495" parent="251" name="push_port">
- <Comment>消息推送端口</Comment>
- <DefaultExpression>1000</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>26</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="496" parent="251" name="detection_type">
- <Comment>节点检测: 0-关闭、1-只检测TCP、2-只检测ICMP、3-检测全部</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>27</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="497" parent="251" name="compatible">
- <Comment>兼容SS</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>28</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="498" parent="251" name="single">
- <Comment>启用单端口功能:0-否、1-是</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>29</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="499" parent="251" name="port">
- <Comment>单端口的端口号或连接端口号</Comment>
- <Position>30</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="500" parent="251" name="passwd">
- <Comment>单端口的连接密码</Comment>
- <Position>31</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="501" parent="251" name="sort">
- <Comment>排序值,值越大越靠前显示</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>32</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <column id="502" parent="251" name="status">
- <Comment>状态:0-维护、1-正常</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>33</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="503" parent="251" name="v2_alter_id">
- <Comment>V2Ray额外ID</Comment>
- <DefaultExpression>16</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>34</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="504" parent="251" name="v2_port">
- <Comment>V2Ray服务端口</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>35</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="505" parent="251" name="v2_method">
- <Comment>V2Ray加密方式</Comment>
- <DefaultExpression>'aes-128-gcm'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>36</Position>
- <StoredType>varchar(32)|0s</StoredType>
- </column>
- <column id="506" parent="251" name="v2_net">
- <Comment>V2Ray传输协议</Comment>
- <DefaultExpression>'tcp'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>37</Position>
- <StoredType>varchar(16)|0s</StoredType>
- </column>
- <column id="507" parent="251" name="v2_type">
- <Comment>V2Ray伪装类型</Comment>
- <DefaultExpression>'none'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>38</Position>
- <StoredType>varchar(32)|0s</StoredType>
- </column>
- <column id="508" parent="251" name="v2_host">
- <Comment>V2Ray伪装的域名</Comment>
- <Position>39</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="509" parent="251" name="v2_path">
- <Comment>V2Ray的WS/H2路径</Comment>
- <Position>40</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="510" parent="251" name="v2_tls">
- <Comment>V2Ray连接TLS:0-未开启、1-开启</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>41</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="511" parent="251" name="tls_provider">
- <Comment>V2Ray节点的TLS提供商授权信息</Comment>
- <Position>42</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="512" parent="251" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>43</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="513" parent="251" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>44</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="514" parent="251" name="v2_sni">
- <Position>45</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="515" parent="251" name="vless">
- <DefaultExpression>0</DefaultExpression>
- <Position>46</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="516" parent="251" name="vless_privateKey">
- <Comment>密钥key</Comment>
- <DefaultExpression>'CA0mAkV9j_9_hOSEmoAtMyZlcYJml39WNQmrP6iPVEo'</DefaultExpression>
- <Position>47</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="517" parent="251" name="vless_pulkey">
- <Comment>公钥</Comment>
- <DefaultExpression>'BJA3WEhDZzV1OQbhjhkKtHvYyqiscj3xPvNnIB1UizM'</DefaultExpression>
- <Position>48</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="518" parent="251" name="shortIds">
- <Position>49</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <foreign-key id="519" parent="251" name="node_ibfk_1">
- <ColNames>rule_group_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>rule_group</RefTableName>
- </foreign-key>
- <index id="520" parent="251" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="521" parent="251" name="ss_node_type_index">
- <ColNames>type</ColNames>
- <Type>btree</Type>
- </index>
- <index id="522" parent="251" name="ss_node_rule_group_id_foreign">
- <ColNames>rule_group_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="523" parent="251" name="ss_node_is_subscribe_index">
- <ColNames>is_subscribe</ColNames>
- <Type>btree</Type>
- </index>
- <key id="524" parent="251" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="525" parent="252" name="id">
- <AutoIncrement>1019</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="526" parent="252" name="node_id">
- <Comment>授权节点ID</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="527" parent="252" name="key">
- <Comment>认证KEY</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>char(16)|0s</StoredType>
- </column>
- <column id="528" parent="252" name="secret">
- <Comment>通信密钥</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>char(8)|0s</StoredType>
- </column>
- <column id="529" parent="252" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="530" parent="252" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="531" parent="252" name="node_auth_ibfk_1">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <index id="532" parent="252" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="533" parent="252" name="node_auth_node_id_foreign">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="534" parent="252" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="535" parent="253" name="id">
- <AutoIncrement>2</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="536" parent="253" name="domain">
- <Comment>域名</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="537" parent="253" name="key">
- <Comment>域名证书KEY</Comment>
- <Position>3</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="538" parent="253" name="pem">
- <Comment>域名证书PEM</Comment>
- <Position>4</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="539" parent="253" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="540" parent="253" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <index id="541" parent="253" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="542" parent="253" name="node_certificate_domain_unique">
- <ColNames>domain</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="543" parent="253" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="544" parent="253" name="node_certificate_domain_unique">
- <UnderlyingIndexName>node_certificate_domain_unique</UnderlyingIndexName>
- </key>
- <column id="545" parent="254" name="id">
- <AutoIncrement>144098</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="546" parent="254" name="node_id">
- <Comment>节点ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="547" parent="254" name="u">
- <Comment>上传流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="548" parent="254" name="d">
- <Comment>下载流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="549" parent="254" name="total">
- <Comment>总流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="550" parent="254" name="traffic">
- <Comment>总流量(带单位)</Comment>
- <Position>6</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="551" parent="254" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="552" parent="254" name="node_daily_data_flow_ibfk_1">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <index id="553" parent="254" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="554" parent="254" name="node_daily_data_flow_node_id_index">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="555" parent="254" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="556" parent="255" name="id">
- <AutoIncrement>232071047</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="557" parent="255" name="node_id">
- <Comment>节点ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="558" parent="255" name="uptime">
- <Comment>后端存活时长,单位秒</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="559" parent="255" name="load">
- <Comment>负载</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="560" parent="255" name="log_time">
- <Comment>记录时间</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <foreign-key id="561" parent="255" name="node_heartbeat_ibfk_1">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <index id="562" parent="255" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="563" parent="255" name="ss_node_info_node_id_index">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="564" parent="255" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="565" parent="256" name="id">
- <AutoIncrement>3443408</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="566" parent="256" name="node_id">
- <Comment>节点ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="567" parent="256" name="u">
- <Comment>上传流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="568" parent="256" name="d">
- <Comment>下载流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="569" parent="256" name="total">
- <Comment>总流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="570" parent="256" name="traffic">
- <Comment>总流量(带单位)</Comment>
- <Position>6</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="571" parent="256" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="572" parent="256" name="node_hourly_data_flow_ibfk_1">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <index id="573" parent="256" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="574" parent="256" name="node_hourly_data_flow_node_id_index">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="575" parent="256" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="576" parent="257" name="id">
- <AutoIncrement>2558543450</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="577" parent="257" name="node_id">
- <Comment>节点ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="578" parent="257" name="user_id">
- <Comment>用户ID</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="579" parent="257" name="port">
- <Comment>端口</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="580" parent="257" name="type">
- <Comment>类型:all、tcp、udp</Comment>
- <DefaultExpression>'tcp'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>char(3)|0s</StoredType>
- </column>
- <column id="581" parent="257" name="ip">
- <Comment>连接IP:每个IP用,号隔开</Comment>
- <Position>6</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="582" parent="257" name="created_at">
- <Comment>上报时间</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <foreign-key id="583" parent="257" name="ss_node_ip_node_id_foreign">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <foreign-key id="584" parent="257" name="ss_node_ip_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="585" parent="257" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="586" parent="257" name="ss_node_ip_node_id_index">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="587" parent="257" name="ss_node_ip_user_id_index">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="588" parent="257" name="ss_node_ip_port_index">
- <ColNames>port</ColNames>
- <Type>btree</Type>
- </index>
- <key id="589" parent="257" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="590" parent="258" name="id">
- <AutoIncrement>126471770</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="591" parent="258" name="node_id">
- <Comment>节点ID</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="592" parent="258" name="online_user">
- <Comment>在线用户数</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="593" parent="258" name="log_time">
- <Comment>记录时间</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <foreign-key id="594" parent="258" name="ss_node_online_log_node_id_foreign">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <index id="595" parent="258" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="596" parent="258" name="ss_node_online_log_node_id_index">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="597" parent="258" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="598" parent="259" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="599" parent="259" name="node_id">
- <Comment>节点ID</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="600" parent="259" name="user_group_id">
- <Comment>从属用户分组ID</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <foreign-key id="601" parent="259" name="node_user_group_ibfk_1">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <foreign-key id="602" parent="259" name="node_user_group_ibfk_2">
- <ColNames>user_group_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user_group</RefTableName>
- </foreign-key>
- <index id="603" parent="259" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="604" parent="259" name="node_user_group_user_group_id_node_id_unique">
- <ColNames>user_group_id
- node_id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="605" parent="259" name="node_user_group_node_id_foreign">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="606" parent="259" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="607" parent="259" name="node_user_group_user_group_id_node_id_unique">
- <UnderlyingIndexName>node_user_group_user_group_id_node_id_unique</UnderlyingIndexName>
- </key>
- <column id="608" parent="260" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="609" parent="260" name="type">
- <Comment>类型:1-邮件、2-ServerChan、3-Bark、4-Telegram</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="610" parent="260" name="address">
- <Comment>收信地址</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="611" parent="260" name="title">
- <Comment>标题</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="612" parent="260" name="content">
- <Comment>内容</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="613" parent="260" name="status">
- <Comment>状态:-1发送失败、0-等待发送、1-发送成功</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="614" parent="260" name="error">
- <Comment>发送失败抛出的异常信息</Comment>
- <Position>7</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="615" parent="260" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="616" parent="260" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <index id="617" parent="260" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="618" parent="260" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="619" parent="261" name="id">
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>char(36)|0s</StoredType>
- </column>
- <column id="620" parent="261" name="type">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="621" parent="261" name="notifiable_type">
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="622" parent="261" name="notifiable_id">
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="623" parent="261" name="data">
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="624" parent="261" name="read_at">
- <Position>6</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <column id="625" parent="261" name="created_at">
- <Position>7</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <column id="626" parent="261" name="updated_at">
- <Position>8</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <index id="627" parent="261" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="628" parent="261" name="notifications_notifiable_type_notifiable_id_index">
- <ColNames>notifiable_type
- notifiable_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="629" parent="261" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="630" parent="262" name="id">
- <AutoIncrement>1280248</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="631" parent="262" name="sn">
- <Comment>订单编号</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(20)|0s</StoredType>
- </column>
- <column id="632" parent="262" name="user_id">
- <Comment>购买者ID</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="633" parent="262" name="goods_id">
- <Comment>商品ID</Comment>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="634" parent="262" name="coupon_id">
- <Comment>优惠券ID</Comment>
- <Position>5</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="635" parent="262" name="origin_amount">
- <Comment>订单原始总价,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="636" parent="262" name="amount">
- <Comment>订单总价,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="637" parent="262" name="expired_at">
- <Comment>过期时间</Comment>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="638" parent="262" name="is_expire">
- <Comment>是否已过期:0-未过期、1-已过期</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="639" parent="262" name="pay_type">
- <Comment>支付渠道:0-余额、1-支付宝、2-QQ、3-微信、4-虚拟货币、5-paypal</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>10</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="640" parent="262" name="pay_way">
- <Comment>支付方式:balance、f2fpay、codepay、payjs、bitpayx等</Comment>
- <DefaultExpression>'balance'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>11</Position>
- <StoredType>varchar(10)|0s</StoredType>
- </column>
- <column id="641" parent="262" name="status">
- <Comment>订单状态:-1-已关闭、0-待支付、1-已支付待确认、2-已完成</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>12</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="642" parent="262" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>13</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="643" parent="262" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>14</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="644" parent="262" name="order_ibfk_3">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="645" parent="262" name="order_ibfk_2">
- <ColNames>goods_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>goods</RefTableName>
- </foreign-key>
- <foreign-key id="646" parent="262" name="order_ibfk_1">
- <ColNames>coupon_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>coupon</RefTableName>
- </foreign-key>
- <index id="647" parent="262" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="648" parent="262" name="idx_order_search">
- <ColNames>user_id
- goods_id
- is_expire
- status</ColNames>
- <Type>btree</Type>
- </index>
- <index id="649" parent="262" name="order_goods_id_foreign">
- <ColNames>goods_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="650" parent="262" name="order_coupon_id_foreign">
- <ColNames>coupon_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="651" parent="262" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="652" parent="263" name="id">
- <AutoIncrement>1248678</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="653" parent="263" name="trade_no">
- <Comment>支付单号(本地订单号)</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="654" parent="263" name="user_id">
- <Comment>用户ID</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="655" parent="263" name="order_id">
- <Comment>本地订单ID</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="656" parent="263" name="amount">
- <Comment>金额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="657" parent="263" name="qr_code">
- <Comment>支付二维码</Comment>
- <Position>6</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="658" parent="263" name="url">
- <Comment>支付链接</Comment>
- <Position>7</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="659" parent="263" name="status">
- <Comment>支付状态:-1-支付失败、0-等待支付、1-支付成功</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="660" parent="263" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="661" parent="263" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>10</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="662" parent="263" name="payment_ibfk_2">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="663" parent="263" name="payment_ibfk_1">
- <ColNames>order_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>order</RefTableName>
- </foreign-key>
- <index id="664" parent="263" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="665" parent="263" name="payment_user_id_order_id_index">
- <ColNames>user_id
- order_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="666" parent="263" name="payment_order_id_foreign">
- <ColNames>order_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="667" parent="263" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="668" parent="264" name="id">
- <AutoIncrement>943343</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="669" parent="264" name="trade_no">
- <Comment>本地订单号</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="670" parent="264" name="out_trade_no">
- <Comment>外部订单号(支付平台)</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="671" parent="264" name="amount">
- <Comment>交易金额,单位分</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="672" parent="264" name="status">
- <Comment>交易状态:0-失败、1-成功</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="673" parent="264" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="674" parent="264" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <index id="675" parent="264" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="676" parent="264" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="677" parent="265" name="id">
- <AutoIncrement>100</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="678" parent="265" name="name">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="679" parent="265" name="description">
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="680" parent="265" name="guard_name">
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="681" parent="265" name="created_at">
- <Position>5</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <column id="682" parent="265" name="updated_at">
- <Position>6</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <index id="683" parent="265" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="684" parent="265" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="685" parent="266" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="686" parent="266" name="name">
- <Comment>名称</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="687" parent="266" name="min_amount">
- <Comment>适用最小金额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="688" parent="266" name="max_amount">
- <Comment>适用最大金额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="689" parent="266" name="status">
- <Comment>状态:0-未启用、1-已启用</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="690" parent="266" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="691" parent="266" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <index id="692" parent="266" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="693" parent="266" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="694" parent="267" name="id">
- <AutoIncrement>2987</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="695" parent="267" name="user_id">
- <Comment>申请者ID</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="696" parent="267" name="before">
- <Comment>操作前可提现金额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="697" parent="267" name="after">
- <Comment>操作后可提现金额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="698" parent="267" name="amount">
- <Comment>本次提现金额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="699" parent="267" name="link_logs">
- <Comment>关联返利日志ID,例如:1,3,4</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>json|0s</StoredType>
- </column>
- <column id="700" parent="267" name="status">
- <Comment>状态:-1-驳回、0-待审核、1-审核通过待打款、2-已打款</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="701" parent="267" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="702" parent="267" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="703" parent="267" name="zfb_name">
- <Comment>支付宝姓名
- </Comment>
- <Position>10</Position>
- <StoredType>varchar(250)|0s</StoredType>
- </column>
- <column id="704" parent="267" name="zfb_card">
- <Comment>支付宝账号
- </Comment>
- <Position>11</Position>
- <StoredType>varchar(250)|0s</StoredType>
- </column>
- <foreign-key id="705" parent="267" name="referral_apply_ibfk_1">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="706" parent="267" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="707" parent="267" name="referral_apply_user_id_foreign">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="708" parent="267" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="709" parent="268" name="id">
- <AutoIncrement>52480</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="710" parent="268" name="invitee_id">
- <Comment>用户ID</Comment>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="711" parent="268" name="inviter_id">
- <Comment>推广人ID</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="712" parent="268" name="order_id">
- <Comment>关联订单ID</Comment>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="713" parent="268" name="amount">
- <Comment>消费金额,单位分</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="714" parent="268" name="commission">
- <Comment>返利金额</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="715" parent="268" name="status">
- <Comment>状态:0-未提现、1-审核中、2-已提现</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="716" parent="268" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="717" parent="268" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="718" parent="268" name="referral_log_invitee_id_foreign">
- <ColNames>invitee_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="719" parent="268" name="referral_log_inviter_id_foreign">
- <ColNames>inviter_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="720" parent="268" name="referral_log_order_id_foreign">
- <ColNames>order_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>order</RefTableName>
- </foreign-key>
- <index id="721" parent="268" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="722" parent="268" name="referral_log_invitee_id_foreign">
- <ColNames>invitee_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="723" parent="268" name="referral_log_inviter_id_invitee_id_index">
- <ColNames>inviter_id
- invitee_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="724" parent="268" name="referral_log_order_id_foreign">
- <ColNames>order_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="725" parent="268" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="726" parent="269" name="permission_id">
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="727" parent="269" name="role_id">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <foreign-key id="728" parent="269" name="role_has_permissions_permission_id_foreign">
- <ColNames>permission_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>permissions</RefTableName>
- </foreign-key>
- <foreign-key id="729" parent="269" name="role_has_permissions_role_id_foreign">
- <ColNames>role_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>roles</RefTableName>
- </foreign-key>
- <index id="730" parent="269" name="PRIMARY">
- <ColNames>permission_id
- role_id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="731" parent="269" name="role_has_permissions_role_id_foreign">
- <ColNames>role_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="732" parent="269" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="733" parent="270" name="id">
- <AutoIncrement>2</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="734" parent="270" name="name">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="735" parent="270" name="description">
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="736" parent="270" name="guard_name">
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="737" parent="270" name="created_at">
- <Position>5</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <column id="738" parent="270" name="updated_at">
- <Position>6</Position>
- <StoredType>timestamp|0s</StoredType>
- </column>
- <index id="739" parent="270" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="740" parent="270" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="741" parent="271" name="id">
- <AutoIncrement>19</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="742" parent="271" name="type">
- <Comment>类型:1-正则表达式、2-域名、3-IP、4-协议</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="743" parent="271" name="name">
- <Comment>规则描述</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(100)|0s</StoredType>
- </column>
- <column id="744" parent="271" name="pattern">
- <Comment>规则值</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <index id="745" parent="271" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="746" parent="271" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="747" parent="272" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="748" parent="272" name="type">
- <Comment>模式:1-阻断、0-放行</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="749" parent="272" name="name">
- <Comment>分组名称</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="750" parent="272" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="751" parent="272" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <index id="752" parent="272" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="753" parent="272" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="754" parent="273" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="755" parent="273" name="user_id">
- <Comment>触发者ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="756" parent="273" name="node_id">
- <Comment>节点ID</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="757" parent="273" name="rule_id">
- <Comment>规则ID,0表示白名单模式下访问访问了非规则允许的网址</Comment>
- <DefaultExpression>0</DefaultExpression>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="758" parent="273" name="reason">
- <Comment>触发原因</Comment>
- <Position>5</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="759" parent="273" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="760" parent="273" name="rule_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="761" parent="273" name="rule_log_node_id_foreign">
- <ColNames>node_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <foreign-key id="762" parent="273" name="rule_log_rule_id_foreign">
- <ColNames>rule_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>rule</RefTableName>
- </foreign-key>
- <index id="763" parent="273" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="764" parent="273" name="idx">
- <ColNames>user_id
- node_id
- rule_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="765" parent="273" name="rule_log_node_id_foreign">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="766" parent="273" name="rule_log_rule_id_foreign">
- <ColNames>rule_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="767" parent="273" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="768" parent="274" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="769" parent="274" name="rule_id">
- <Comment>规则ID</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="770" parent="274" name="rule_group_id">
- <Comment>从属规则分组ID</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <foreign-key id="771" parent="274" name="rule_rule_group_rule_id_foreign">
- <ColNames>rule_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>rule</RefTableName>
- </foreign-key>
- <foreign-key id="772" parent="274" name="rule_rule_group_rule_group_id_foreign">
- <ColNames>rule_group_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>rule_group</RefTableName>
- </foreign-key>
- <index id="773" parent="274" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="774" parent="274" name="rule_rule_group_rule_group_id_rule_id_unique">
- <ColNames>rule_group_id
- rule_id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="775" parent="274" name="rule_rule_group_rule_id_foreign">
- <ColNames>rule_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="776" parent="274" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="777" parent="274" name="rule_rule_group_rule_group_id_rule_id_unique">
- <UnderlyingIndexName>rule_rule_group_rule_group_id_rule_id_unique</UnderlyingIndexName>
- </key>
- <column id="778" parent="275" name="id">
- <AutoIncrement>461</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(20)|0s</StoredType>
- </column>
- <column id="779" parent="275" name="fromNumber">
- <Position>2</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="780" parent="275" name="codetext">
- <Position>3</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="781" parent="275" name="codetime">
- <Position>4</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="782" parent="275" name="created_at">
- <Position>5</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="783" parent="275" name="updated_at">
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="784" parent="275" name="toPhone">
- <Position>7</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <index id="785" parent="275" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="786" parent="275" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="787" parent="276" name="id">
- <AutoIncrement>34</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="788" parent="276" name="name">
- <Comment>配置名</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(50)|0s</StoredType>
- </column>
- <column id="789" parent="276" name="type">
- <Comment>类型:1-加密方式、2-协议、3-混淆</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="790" parent="276" name="is_default">
- <Comment>是否默认:0-不是、1-是</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="791" parent="276" name="sort">
- <Comment>排序:值越大排越前</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <index id="792" parent="276" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="793" parent="276" name="ss_config_type_index">
- <ColNames>type</ColNames>
- <Type>btree</Type>
- </index>
- <key id="794" parent="276" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="795" parent="277" name="id">
- <AutoIncrement>32767</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="796" parent="277" name="user_id">
- <Comment>用户ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="797" parent="277" name="admin_id">
- <Comment>管理员ID</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="798" parent="277" name="title">
- <Comment>标题</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="799" parent="277" name="content">
- <Comment>内容</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="800" parent="277" name="status">
- <Comment>状态:0-待处理、1-已处理未关闭、2-已关闭</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="801" parent="277" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="802" parent="277" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="803" parent="277" name="ticket_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="804" parent="277" name="ticket_admin_id_foreign">
- <ColNames>admin_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="805" parent="277" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="806" parent="277" name="ticket_user_id_foreign">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="807" parent="277" name="ticket_admin_id_foreign">
- <ColNames>admin_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="808" parent="277" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="809" parent="278" name="id">
- <AutoIncrement>71722</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="810" parent="278" name="ticket_id">
- <Comment>工单ID</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="811" parent="278" name="user_id">
- <Comment>用户ID</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="812" parent="278" name="admin_id">
- <Comment>管理员ID</Comment>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="813" parent="278" name="content">
- <Comment>回复内容</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="814" parent="278" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="815" parent="278" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="816" parent="278" name="ticket_reply_ticket_id_foreign">
- <ColNames>ticket_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>ticket</RefTableName>
- </foreign-key>
- <foreign-key id="817" parent="278" name="ticket_reply_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="818" parent="278" name="ticket_reply_admin_id_foreign">
- <ColNames>admin_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="819" parent="278" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="820" parent="278" name="ticket_reply_ticket_id_foreign">
- <ColNames>ticket_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="821" parent="278" name="ticket_reply_user_id_foreign">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="822" parent="278" name="ticket_reply_admin_id_foreign">
- <ColNames>admin_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="823" parent="278" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="824" parent="279" name="id">
- <AutoIncrement>1340233</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="825" parent="279" name="username">
- <Comment>昵称</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="826" parent="279" name="email">
- <Comment>邮箱</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="827" parent="279" name="password">
- <Comment>密码</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(64)|0s</StoredType>
- </column>
- <column id="828" parent="279" name="port">
- <Comment>代理端口</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>smallint(5) unsigned|0s</StoredType>
- </column>
- <column id="829" parent="279" name="passwd">
- <Comment>代理密码</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>varchar(16)|0s</StoredType>
- </column>
- <column id="830" parent="279" name="vmess_id">
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>char(36)|0s</StoredType>
- </column>
- <column id="831" parent="279" name="transfer_enable">
- <Comment>可用流量,单位字节,默认1TiB</Comment>
- <DefaultExpression>1099511627776</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="832" parent="279" name="u">
- <Comment>已上传流量,单位字节</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="833" parent="279" name="d">
- <Comment>已下载流量,单位字节</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>10</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="834" parent="279" name="t">
- <Comment>最后使用时间</Comment>
- <Position>11</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="835" parent="279" name="ip">
- <Comment>最后连接IP</Comment>
- <Position>12</Position>
- <StoredType>varchar(45)|0s</StoredType>
- </column>
- <column id="836" parent="279" name="enable">
- <Comment>代理状态</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>13</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="837" parent="279" name="method">
- <Comment>加密方式</Comment>
- <DefaultExpression>'aes-256-cfb'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>14</Position>
- <StoredType>varchar(30)|0s</StoredType>
- </column>
- <column id="838" parent="279" name="protocol">
- <Comment>协议</Comment>
- <DefaultExpression>'origin'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>15</Position>
- <StoredType>varchar(30)|0s</StoredType>
- </column>
- <column id="839" parent="279" name="protocol_param">
- <Comment>协议参数</Comment>
- <Position>16</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="840" parent="279" name="obfs">
- <Comment>混淆</Comment>
- <DefaultExpression>'plain'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>17</Position>
- <StoredType>varchar(30)|0s</StoredType>
- </column>
- <column id="841" parent="279" name="speed_limit">
- <Comment>用户限速,为0表示不限速,单位Byte</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>18</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="842" parent="279" name="wechat">
- <Comment>微信</Comment>
- <Position>19</Position>
- <StoredType>varchar(30)|0s</StoredType>
- </column>
- <column id="843" parent="279" name="qq">
- <Comment>QQ</Comment>
- <Position>20</Position>
- <StoredType>varchar(20)|0s</StoredType>
- </column>
- <column id="844" parent="279" name="credit">
- <Comment>余额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>21</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="845" parent="279" name="expired_at">
- <Comment>过期时间</Comment>
- <DefaultExpression>'2099-01-01 00:00:00'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>22</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="846" parent="279" name="ban_time">
- <Comment>封禁到期时间</Comment>
- <Position>23</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="847" parent="279" name="remark">
- <Comment>备注</Comment>
- <Position>24</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="848" parent="279" name="level">
- <Comment>等级,默认0级</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>25</Position>
- <StoredType>tinyint(3) unsigned|0s</StoredType>
- </column>
- <column id="849" parent="279" name="user_group_id">
- <Comment>所属分组</Comment>
- <Position>26</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="850" parent="279" name="reg_ip">
- <Comment>注册IP</Comment>
- <DefaultExpression>'127.0.0.1'</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>27</Position>
- <StoredType>varchar(45)|0s</StoredType>
- </column>
- <column id="851" parent="279" name="last_login">
- <Comment>最后登录时间</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>28</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="852" parent="279" name="inviter_id">
- <Comment>邀请人</Comment>
- <Position>29</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="853" parent="279" name="reset_time">
- <Comment>流量重置日期</Comment>
- <Position>30</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="854" parent="279" name="invite_num">
- <Comment>可生成邀请码数</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>31</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="855" parent="279" name="status">
- <Comment>状态:-1-禁用、0-未激活、1-正常</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>32</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="856" parent="279" name="remember_token">
- <Position>33</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="857" parent="279" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>34</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="858" parent="279" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>35</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="859" parent="279" name="client_limit">
- <Comment>用户链接的设备</Comment>
- <DefaultExpression>10</DefaultExpression>
- <Position>36</Position>
- <StoredType>int(11)|0s</StoredType>
- </column>
- <column id="860" parent="279" name="ol_emil">
- <Comment>旧emil</Comment>
- <Position>37</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <foreign-key id="861" parent="279" name="user_ibfk_2">
- <ColNames>user_group_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user_group</RefTableName>
- </foreign-key>
- <foreign-key id="862" parent="279" name="user_ibfk_1">
- <ColNames>inviter_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="863" parent="279" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="864" parent="279" name="user_email_unique">
- <ColNames>email</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="865" parent="279" name="idx_search">
- <ColNames>enable
- status
- port</ColNames>
- <Type>btree</Type>
- </index>
- <index id="866" parent="279" name="user_user_group_id_foreign">
- <ColNames>user_group_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="867" parent="279" name="user_inviter_id_foreign">
- <ColNames>inviter_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="868" parent="279" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="869" parent="279" name="user_email_unique">
- <UnderlyingIndexName>user_email_unique</UnderlyingIndexName>
- </key>
- <column id="870" parent="280" name="id">
- <AutoIncrement>888942</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="871" parent="280" name="user_id">
- <Comment>用户ID</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="872" parent="280" name="time">
- <Comment>封禁账号时长,单位分钟</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="873" parent="280" name="description">
- <Comment>操作描述</Comment>
- <Position>4</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="874" parent="280" name="status">
- <Comment>状态:0-未处理、1-已处理</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="875" parent="280" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="876" parent="280" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="877" parent="280" name="user_baned_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="878" parent="280" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="879" parent="280" name="user_baned_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="880" parent="280" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="881" parent="281" name="id">
- <AutoIncrement>61840</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="882" parent="281" name="user_id">
- <Comment>用户ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="883" parent="281" name="order_id">
- <Comment>订单ID</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="884" parent="281" name="before">
- <Comment>发生前余额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="885" parent="281" name="after">
- <Comment>发生后金额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="886" parent="281" name="amount">
- <Comment>发生金额,单位分</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>int(11)|0s</StoredType>
- </column>
- <column id="887" parent="281" name="description">
- <Comment>操作描述</Comment>
- <Position>7</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="888" parent="281" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="889" parent="281" name="user_credit_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="890" parent="281" name="user_credit_log_order_id_foreign">
- <ColNames>order_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>order</RefTableName>
- </foreign-key>
- <index id="891" parent="281" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="892" parent="281" name="user_credit_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="893" parent="281" name="user_credit_log_order_id_foreign">
- <ColNames>order_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="894" parent="281" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="895" parent="282" name="id">
- <AutoIncrement>10094768</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="896" parent="282" name="user_id">
- <Comment>用户ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="897" parent="282" name="node_id">
- <Comment>节点ID,null表示统计全部节点</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="898" parent="282" name="u">
- <Comment>上传流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="899" parent="282" name="d">
- <Comment>下载流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="900" parent="282" name="total">
- <Comment>总流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="901" parent="282" name="traffic">
- <Comment>总流量(带单位)</Comment>
- <Position>7</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="902" parent="282" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="903" parent="282" name="user_daily_data_flow_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="904" parent="282" name="user_daily_data_flow_node_id_foreign">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <index id="905" parent="282" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="906" parent="282" name="idx_user_node">
- <ColNames>user_id
- node_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="907" parent="282" name="user_daily_data_flow_node_id_foreign">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="908" parent="282" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="909" parent="283" name="id">
- <AutoIncrement>590097</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="910" parent="283" name="user_id">
- <Comment>用户ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="911" parent="283" name="order_id">
- <Comment>发生的订单ID</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="912" parent="283" name="before">
- <Comment>操作前流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>bigint(20)|0s</StoredType>
- </column>
- <column id="913" parent="283" name="after">
- <Comment>操作后流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>bigint(20)|0s</StoredType>
- </column>
- <column id="914" parent="283" name="description">
- <Comment>描述</Comment>
- <Position>6</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="915" parent="283" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="916" parent="283" name="user_data_modify_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="917" parent="283" name="user_data_modify_log_order_id_foreign">
- <ColNames>order_id</ColNames>
- <OnDelete>set-null</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>order</RefTableName>
- </foreign-key>
- <index id="918" parent="283" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="919" parent="283" name="user_data_modify_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="920" parent="283" name="user_data_modify_log_order_id_foreign">
- <ColNames>order_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="921" parent="283" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="922" parent="284" name="id">
- <AutoIncrement>1</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(11)|0s</StoredType>
- </column>
- <column id="923" parent="284" name="email">
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="924" parent="284" name="new_email">
- <Position>3</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <column id="925" parent="284" name="created_at">
- <Comment>创建时间</Comment>
- <DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
- <Position>4</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="926" parent="284" name="user_id">
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>int(11)|0s</StoredType>
- </column>
- <index id="927" parent="284" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="928" parent="284" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="929" parent="285" name="id">
- <AutoIncrement>2</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="930" parent="285" name="name">
- <Comment>分组名称</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <index id="931" parent="285" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="932" parent="285" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="933" parent="286" name="id">
- <AutoIncrement>559112060</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="934" parent="286" name="user_id">
- <Comment>用户ID</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="935" parent="286" name="node_id">
- <Comment>节点ID,null表示统计全部节点</Comment>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="936" parent="286" name="u">
- <Comment>上传流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="937" parent="286" name="d">
- <Comment>下载流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="938" parent="286" name="total">
- <Comment>总流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>bigint(20) unsigned|0s</StoredType>
- </column>
- <column id="939" parent="286" name="traffic">
- <Comment>总流量(带单位)</Comment>
- <Position>7</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="940" parent="286" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="941" parent="286" name="user_hourly_data_flow_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="942" parent="286" name="user_hourly_data_flow_node_id_foreign">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <index id="943" parent="286" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="944" parent="286" name="idx_user_node">
- <ColNames>user_id
- node_id</ColNames>
- <Type>btree</Type>
- </index>
- <index id="945" parent="286" name="user_hourly_data_flow_node_id_foreign">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="946" parent="286" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="947" parent="287" name="id">
- <AutoIncrement>3379704</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="948" parent="287" name="user_id">
- <Comment>用户ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="949" parent="287" name="ip">
- <Comment>IP地址</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>varchar(45)|0s</StoredType>
- </column>
- <column id="950" parent="287" name="country">
- <Comment>国家</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="951" parent="287" name="province">
- <Comment>省份</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="952" parent="287" name="city">
- <Comment>城市</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="953" parent="287" name="county">
- <Comment>郡县</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="954" parent="287" name="isp">
- <Comment>运营商</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="955" parent="287" name="area">
- <Comment>地区</Comment>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>varchar(191)|0s</StoredType>
- </column>
- <column id="956" parent="287" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>10</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="957" parent="287" name="user_login_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="958" parent="287" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="959" parent="287" name="user_login_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="960" parent="287" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="961" parent="288" name="id">
- <AutoIncrement>1330171</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="962" parent="288" name="user_id">
- <Comment>用户ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="963" parent="288" name="code">
- <Comment>订阅地址唯一识别码</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>char(8)|0s</StoredType>
- </column>
- <column id="964" parent="288" name="times">
- <Comment>地址请求次数</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="965" parent="288" name="status">
- <Comment>状态:0-禁用、1-启用</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="966" parent="288" name="ban_time">
- <Comment>封禁时间</Comment>
- <Position>6</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="967" parent="288" name="ban_desc">
- <Comment>封禁理由</Comment>
- <Position>7</Position>
- <StoredType>varchar(50)|0s</StoredType>
- </column>
- <column id="968" parent="288" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="969" parent="288" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>9</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="970" parent="288" name="user_subscribe_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="971" parent="288" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="972" parent="288" name="user_subscribe_code_unique">
- <ColNames>code</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="973" parent="288" name="user_id">
- <ColNames>user_id
- status</ColNames>
- <Type>btree</Type>
- </index>
- <index id="974" parent="288" name="user_subscribe_code_index">
- <ColNames>code</ColNames>
- <Type>btree</Type>
- </index>
- <key id="975" parent="288" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <key id="976" parent="288" name="user_subscribe_code_unique">
- <UnderlyingIndexName>user_subscribe_code_unique</UnderlyingIndexName>
- </key>
- <column id="977" parent="289" name="id">
- <AutoIncrement>7205317</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="978" parent="289" name="user_subscribe_id">
- <Comment>对应user_subscribe的id</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="979" parent="289" name="request_ip">
- <Comment>请求IP</Comment>
- <Position>3</Position>
- <StoredType>varchar(45)|0s</StoredType>
- </column>
- <column id="980" parent="289" name="request_time">
- <Comment>请求时间</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="981" parent="289" name="request_header">
- <Comment>请求头部信息</Comment>
- <Position>5</Position>
- <StoredType>text|0s</StoredType>
- </column>
- <foreign-key id="982" parent="289" name="user_subscribe_log_user_subscribe_id_foreign">
- <ColNames>user_subscribe_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user_subscribe</RefTableName>
- </foreign-key>
- <index id="983" parent="289" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="984" parent="289" name="user_subscribe_log_user_subscribe_id_index">
- <ColNames>user_subscribe_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="985" parent="289" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="986" parent="290" name="id">
- <AutoIncrement>2120201136</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="987" parent="290" name="user_id">
- <Comment>用户ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="988" parent="290" name="node_id">
- <Comment>节点ID</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="989" parent="290" name="u">
- <Comment>上传流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="990" parent="290" name="d">
- <Comment>下载流量</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="991" parent="290" name="rate">
- <Comment>倍率</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>double(6,2 digit) unsigned|0s</StoredType>
- </column>
- <column id="992" parent="290" name="traffic">
- <Comment>产生流量</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>varchar(32)|0s</StoredType>
- </column>
- <column id="993" parent="290" name="log_time">
- <Comment>记录时间</Comment>
- <NotNull>1</NotNull>
- <Position>8</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <foreign-key id="994" parent="290" name="user_traffic_log_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <foreign-key id="995" parent="290" name="user_traffic_log_node_id_foreign">
- <ColNames>node_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>node</RefTableName>
- </foreign-key>
- <index id="996" parent="290" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="997" parent="290" name="idx_user_node_time">
- <ColNames>user_id
- node_id
- log_time</ColNames>
- <Type>btree</Type>
- </index>
- <index id="998" parent="290" name="user_traffic_log_node_id_foreign">
- <ColNames>node_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="999" parent="290" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="1000" parent="291" name="id">
- <AutoIncrement>114372</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="1001" parent="291" name="type">
- <Comment>激活类型:1-自行激活、2-管理员激活</Comment>
- <DefaultExpression>1</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="1002" parent="291" name="user_id">
- <Comment>用户ID</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="1003" parent="291" name="token">
- <Comment>校验token</Comment>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>varchar(32)|0s</StoredType>
- </column>
- <column id="1004" parent="291" name="status">
- <Comment>状态:0-未使用、1-已使用、2-已失效</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="1005" parent="291" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="1006" parent="291" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>7</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <foreign-key id="1007" parent="291" name="verify_user_id_foreign">
- <ColNames>user_id</ColNames>
- <OnDelete>cascade</OnDelete>
- <RefColNames>id</RefColNames>
- <RefTableName>user</RefTableName>
- </foreign-key>
- <index id="1008" parent="291" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <index id="1009" parent="291" name="verify_user_id_foreign">
- <ColNames>user_id</ColNames>
- <Type>btree</Type>
- </index>
- <key id="1010" parent="291" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- <column id="1011" parent="292" name="id">
- <AutoIncrement>17</AutoIncrement>
- <NotNull>1</NotNull>
- <Position>1</Position>
- <StoredType>int(10) unsigned|0s</StoredType>
- </column>
- <column id="1012" parent="292" name="address">
- <Comment>用户邮箱</Comment>
- <NotNull>1</NotNull>
- <Position>2</Position>
- <StoredType>varchar(128)|0s</StoredType>
- </column>
- <column id="1013" parent="292" name="code">
- <Comment>验证码</Comment>
- <NotNull>1</NotNull>
- <Position>3</Position>
- <StoredType>char(6)|0s</StoredType>
- </column>
- <column id="1014" parent="292" name="status">
- <Comment>状态:0-未使用、1-已使用、2-已失效</Comment>
- <DefaultExpression>0</DefaultExpression>
- <NotNull>1</NotNull>
- <Position>4</Position>
- <StoredType>tinyint(1)|0s</StoredType>
- </column>
- <column id="1015" parent="292" name="created_at">
- <Comment>创建时间</Comment>
- <NotNull>1</NotNull>
- <Position>5</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <column id="1016" parent="292" name="updated_at">
- <Comment>最后更新时间</Comment>
- <NotNull>1</NotNull>
- <Position>6</Position>
- <StoredType>datetime|0s</StoredType>
- </column>
- <index id="1017" parent="292" name="PRIMARY">
- <ColNames>id</ColNames>
- <Type>btree</Type>
- <Unique>1</Unique>
- </index>
- <key id="1018" parent="292" name="PRIMARY">
- <NameSurrogate>1</NameSurrogate>
- <Primary>1</Primary>
- <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
- </key>
- </database-model>
- </dataSource>
|