dehtak

Ahoj, Nevim cim to, ale kdyz dam prikaz artisan migrate tak mi to vyhodi chyby a nevytvori vsechny tabulky a to chci jen vytvorit ty co uz jsou prednastaveny od laravelu (user, failed_jobs...) Microsoft Windows [Verze 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Všechna práva vyhrazena.


w:\008>php artisan migrate
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table

   Illuminate\Database\QueryException

  SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))

  at W:\008\vendor\laravel\framework\src\Illuminate\Database\Connection.php:671
    667▕         // If an exception occurs when attempting to run a query, we'll format the error
    668▕         // message to include the bindings with SQL, which will make this exception a
    669▕         // lot more helpful to the developer instead of just the database's errors.
    670▕         catch (Exception $e) {
  ➜ 671▕             throw new QueryException(
    672▕                 $query, $this->prepareBindings($bindings), $e
    673▕             );
    674▕         }
    675▕
     }
    675▕

  1   W:\008\vendor\laravel\framework\src\Illuminate\Database\Connection.php:464
      PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes")

  2   W:\008\vendor\laravel\framework\src\Illuminate\Database\Connection.php:464
      PDOStatement::execute()

Nekde sem udelal chybu nechapu

Ešte nie si členom CZ/SK Laravel komunity?

To možeš ľahko zmeniť. Registrácia je zdarma a ako registrovaný člen získaš množstvo výhod. Prečítaj si prečo by si mal byť členom.

Prihlásiť sa Zaregistrovať
Zoradiť odpovede:
xvital
by @xvital (460), pred rokom

Je to tym, ze Laravel defaultne pouziva kodovanie utf8mb4 a v MySQL v. < 5.7.7 a MariaDB < 10.2.2 sa tam tieto kluce nezmestia.

Jednoduchy fix je zavolat v boot metode v AppServiceProvider toto:

Schema::defaultStringLength(191);

cim sa zabezpeci nastavenie pozadovanej dlzky indexov.

Viac info tu: https://laravel.com/docs/7.x/migrations#creating-indexes (Index Lengths & MySQL / MariaDB)

Elmer11Jease
Elmer1321Jease
by @Elmer1321Jease (105), pred 4 mesiacmi
Dallas211Mig
by @Dallas211Mig (5), pred 4 mesiacmi
Joshua3222ver
by @Joshua3222ver (5), pred 4 mesiacmi
Elmer1341Jease
by @Elmer1341Jease (5), pred 4 mesiacmi
Joshua3234ver
by @Joshua3234ver (5), pred 3 mesiacmi

This is my first time come here https://my.bankstreet.edu/ICS/Campus_Life/Campus_Groups/Child_Life_Program/Group_Collaboration.jnz?portlet=%5bICS%5d_ForumPortlet&screen=PostView&screenType=change&id=05335e9c-7d60-4d5e-b913-f6cc2e7c8448 http://goddessxuan.com/home.php?mod=space&uid=21160 https://forum.cyberpandit.org/member.php?action=profile&uid=219464 http://kolokolchik237.ru/user/tunacan7/ https://vendetodocomercial.com/author/pipecousin0

[url=http://www.dinglan.cc/forum.php?mod=viewthread&tid=10867&extra=]I am very happy to cme here[/url] [url=http://sc686.net/forum.php?mod=viewthread&tid=22&pid=896782&page=303&extra=page%3D1#pid896782]I am very happy to cme here[/url] [url=https://oynayamayanlar.com/forum/viewtopic.php?f=2&t=11277]I am very happy to cme here[/url] [url=http://www.gugups.com/forum.php?mod=viewthread&tid=503128&extra=]I am very happy to cme here[/url] [url=http://www.qualityman.cn/bbs/forum.php?mod=viewthread&tid=156&pid=215290&page=21503&extra=#pid215290]I am very happy to[/url] [url=https://oodagurus.com/forums/showthread.php?tid=160]I am very happy to cme here[/url] [url=https://www.mfas.nl/wps/portal/home/forum/onderwerp/3628e94c-238a-44a0-84f7-4b83f29cae50/%21ut/p/z1/jZDNbsIwEISfyNqJY4fNkZ8iU5FSBIjEF-RCkgbRJIoQfX0i4Iphbyt9O7MzZCklW7tLVbpz1dTu1O-ZjXZxbGBClnN8BcDQ6G811wa8Bm1vAJ7MEGTfufcA1i-_JeuzAOMBeDQ-Xz3ZtyC7ZJyUZFt3_hVVXTSUNvUh7_7zrqU0jCTnsdoLGbITSjkIVsVAqB8OCxnvXa5BWR91sJuBleEVEl5MAyz1BB_T0ThAdO_CC7R_mxRHfTpqLq_JBDTM/]I am very happy to cme here[/url] [url=http://narutoperso3.free.fr/phpBB3/viewtopic.php?f=2&t=20050]I am very happy to cme here[/url] [url=http://strengkatholisch.de/YaBB.pl]I am very happy to cme here[/url] [url=https://black.volyn.net/forum/viewtopic.php?f=29&t=20811]I am very happy to cme here[/url] 046963e

Dallas422Mig
by @Dallas422Mig (5), pred 3 mesiacmi

hello, everyone,This is my first time come here http://itiswiki.kpfu.ru/index.php?title=How_Else_To_Pay_If_Alibaba_Supplier_Does_Not_Accept_Paypal https://urlscan.io/result/05da5491-5004-4510-b1df-5b938c6262d0/ https://securityholes.science/wiki/Yyong_Lace_Closure_Human_Hair_Free_Part_4x4_Brazilian_Virgin_Hair_Physique http://forum.umbandaeucurto.com/index.php?qa=user&qa_1=ghanafoam26 http://pandora.nla.gov.au/external.html?link=https://digihair.net http://answerslistly.com/index.php?qa=user&qa_1=bumperpastor77 http://sc.devb.gov.hk/TuniS/squareblogs.net/rockrandom3/chemical-supply https://mccallvendelb.livejournal.com/profile http://86x.org/home.php?mod=space&uid=324954 https://peatix.com/user/10692707

[url=https://wildpvp.boards.net/thread/360/apply-helper?page=92#scrollTo=3184]Hello, I am glad to this forum[/url] [url=https://szybki-prezent.pl/forum/opinie-o-firmach-f12/hello-i-am-glad-to-this-forum-t17726.html]Hello, I am glad to this forum[/url] [url=https://travianv.com/index.php?threads/the-pros-and-cons-of-rattan-outdoor-furniture.37768/page-11#post-563154]Hello, I am glad to this forum[/url] [url=https://najezykach.com.pl/forum/viewtopic.php?f=5&t=1842&p=43299#p43299]Hello, I am glad to this forum[/url] [url=https://www.recruitmentmarketingclub.com/forums/topic/hello-i-am-glad-to-this-forum-27/]Hello, I am glad to this forum[/url] [url=http://forum.ppni-hsu.web.id/viewtopic.php?f=4&t=6051]Hello, I am glad to this forum[/url] [url=http://iranvillage.ir/Forum/viewtopic.php?f=4&t=50&p=10428#p10428]Hello, I am glad to this forum[/url] [url=http://47.100.32.244/bbs/forum.php?mod=viewthread&tid=21&pid=1331904&page=3870&extra=page%3D1#pid1331904]Hello, I am glad to[/url] [url=http://www.gugups.com/forum.php?mod=viewthread&tid=673114&extra=]Hello, I am glad to this forum[/url] [url=http://marcinco.net/forum/calendario.php]Hello, I am glad to this forum[/url] a057197

Joshua3239ver
by @Joshua3239ver (5), pred 2 mesiacmi
Raymond2393Waync
by @Raymond2393Waync (5), pred 2 mesiacmi

hello, everyone,nice to meet you http://maple.linppt.cc/home.php?mod=space&uid=3202560 https://phonographic.science/wiki/Beautyforever_7a_Unprocessed_Malaysian_A_Hundredhuman_Hair_3bundles_With_Ear_To_Ear_Lace_Frontal_Closure http://wiki.smwcentral.net/index.php?title=Brazilian_Virgin_Hair_Silk_Prime_Lace_Wigsglueless_Silk_Top_Full_Lace_Wigs_Human_Hair_Silk_Top_Lace_Wigs_Online_Supplier https://elearnportal.science/wiki/Lace_Entrance_Wigs_Youtube https://ask.fm/walkmatch954

[url=https://angarsk-all.ucoz.ru/forum/42-78-1#4877]I am glad to come this forum[/url] [url=https://gorodkungur.ru/threads/i-am-glad-to-come-this-forum.2133/]I am glad to come this forum[/url] [url=http://millefori.altervista.org/forum/viewtopic.php?f=34&t=145049&p=340694#p340694]I am glad to come this forum[/url] [url=https://walkietalkies.boards.net/thread/399/walking-dead-forum?page=181#scrollTo=12420]I am glad to come this forum[/url] [url=https://krugozorov.ru/forum/messages/forum1/topic1/message1026742/?result=reply#message1026742]I am glad to come this forum[/url] [url=https://huntfishbrag.com/forums/topic/i-am-glad-to-come-this-forum-19/]I am glad to come this forum[/url] [url=https://private-rp.freeforums.net/thread/6?page=185#scrollTo=4204]I am glad to come this forum[/url] [url=http://beta.voizgram.com/index.php/forum/thread/21029/i-am-glad-to-come-this-forum/]I am glad to come this forum[/url] [url=https://grapmintv.com/forum/viewtopic.php?f=3&t=322]I am glad to come this forum[/url] [url=http://www.assnet.info/forum/index.php?topic=95017.new#new]I am glad to come this forum[/url] ca70469

Joshua3349ver
by @Joshua3349ver (5), pred 2 mesiacmi
Dallas427Mig
by @Dallas427Mig (5), pred mesiacom

hello, everyone,This is my first time come here https://cameradb.review/wiki/Closure_Physique_Wave_Wig http://q2a.sydt.com.tw/index.php?qa=user&qa_1=spadecarol18 http://professionalcarpetcleaners.com/user/profile/737640 https://bbs.pku.edu.cn/v2/jump-to.php?url=https://dailyuploads.net/3n7pmrcs714y https://www.indiegogo.com/individuals/27886254 https://anotepad.com/notes/5fi2r2q5 https://fkwiki.win/wiki/Post:2_Inch_Bundle_Critiques http://jieming.vip/home.php?mod=space&uid=30349 https://vvfit.com/members/hatpoppy0/activity/1157653/ http://twitter.com/home?status=http://xurl.es/c65n1

[url=http://edu.polskierolnictwo.pl/forum/inne/306180]Hello, I am glad to this forum[/url] [url=https://domowniczy.pl/forum/wokol-domu-ogrord-f5/hello-i-am-glad-to-this-forum-t18337.html]Hello, I am glad to this forum[/url] [url=https://mcpepl.boards.net/thread/2/rule-rules-post-plugin?page=353#scrollTo=5427]Hello, I am glad to this forum[/url] [url=https://justsims.freeforums.net/thread/8?page=60#scrollTo=1770]Hello, I am glad to this forum[/url] [url=http://www.asturcraft.com/forums/topic/hello-i-am-glad-to-this-forum-24/]Hello, I am glad to this forum[/url] [url=http://sto.xado.com/forum/viewtopic.php?f=4&t=79&p=1098#p1098]Hello, I am glad to this forum[/url] [url=https://sonorus.boards.net/thread/2288/hello-glad-forum]Hello, I am glad to this forum[/url] [url=http://www.seawater1688.com/forum.php?mod=viewthread&tid=55073&extra=]Hello, I am glad to this forum[/url] [url=https://wypoczynkowo.net.pl/forum/opinie-o-firmach-f25/hello-i-am-glad-to-this-forum-t16065.html]Hello, I am glad to this forum[/url] [url=http://101.132.191.126/bbs/forum.php?mod=viewthread&tid=156&pid=283989&page=28373&extra=#pid283989]Hello, I am glad to[/url] 3e53c35

MikeCep
by @MikeCep (10), pred mesiacom
MikeCep
by @MikeCep (10), pred mesiacom
Geraldrex
by @Geraldrex (10), pred 3 týždňami

[center][b]These canvas prints are printed with solvent-free HP latex inks making them safe for all family. Multiple decorative frame designs available! Manually stretched! The Canvas Prints from CanvasDiscount.com are Ready to Ship in 24h & have The Lowest-Price-in-the-USA Guarantee.

Personalize Your Wall with Premium Photo Canvas Hand-stretched canvas on a real wood frame Range of striking edge designs available High-resolution photo printing in vivid colors UV-resistant inks, totally free of solvents Canvas certified for professional photo printing

HomaPage : [url=https://www.kristendecor.com]kristendecor Canvas[/url] [url=https://www.kristendecor.com]canvas[/url][/b] [img]https://i.icanvas.com/list-square/giant-art-abstract-2022.jpg[/img] [/center]

Geraldrex
by @Geraldrex (10), pred 2 týždňami

[center][b]These canvas prints are printed with solvent-free HP latex inks making them safe for all family. Multiple decorative frame designs available! Manually stretched! The Canvas Prints from CanvasDiscount.com are Ready to Ship in 24h & have The Lowest-Price-in-the-USA Guarantee.

Personalize Your Wall with Premium Photo Canvas Hand-stretched canvas on a real wood frame Range of striking edge designs available High-resolution photo printing in vivid colors UV-resistant inks, totally free of solvents Canvas certified for professional photo printing

HomaPage : [url=https://www.kristendecor.com]kristendecor Canvas[/url] [url=https://www.kristendecor.com]uc canvas[/url][/b] [img]https://i.icanvas.com/list-square/giant-art-abstract-2022.jpg[/img] [/center]

Scottsag
by @Scottsag (5), pred 2 týždňami

If you have straight hair, you may be wondering how to get curly hair for men. Fortunately, it’s very possible to make straight hair curly with the right men’s styling products and tools. As long as you don’t have very short hair that won’t curl at all, this tutorial will show you exactly how simple it is to get a wavy or curly hairstyle with thick, straight hair. I found this information on this website [url=]https://amazinghair4u.blogspot.com/[/url]

Elmer1489Jease
by @Elmer1489Jease (10), pred 2 týždňami
Raymond2401Waync
by @Raymond2401Waync (10), pred 2 týždňami

Hello, it's my first time come here https://timeoftheworld.date/wiki/H1Reproduction_Designer_Scarves_Online_Faux_Designer_Scarves_China_Gucci_Scarf_Hermes_Scarfh1 https://writeablog.net/townpeak71/vibrator-offer-code-kristy-at-adam-and-eve-adult-t http://www.ccwin.cn/space-uid-5612845.html http://www.sdmnapoli.it/index.php?option=com_k2&view=itemlist&task=user&id=1894663 http://hz061.com/home.php?mod=space&uid=679119

[url=http://www.rampagesgarage.com/index.php?topic=3191.new#new]I am glad to come this forum[/url] [url=https://stage.ietsmooier.nl/forums/topic/i-am-glad-to-come-this-forum-26]I am glad to come this forum[/url] [url=http://malen.shinefish.com.tw/viewthread.php?tid=199035&extra=]I am glad to come this forum[/url] [url=http://webpaybbs.com/forum.php?mod=viewthread&tid=563114&extra=]I am glad to come this forum[/url] [url=http://forum.kartracing-pro.com/index.php?topic=9026.new#new]I am glad to come this forum[/url] [url=http://dobrycoach.pl/forum/]I am glad to come this forum[/url] [url=https://brro.com.br/forum/index.php?/topic/435-sugest%C3%B5es-de-visuais/#comment-3912]I am glad to come this forum[/url] [url=http://koniclub.pro/forum/index.php?threads/tema-dlja-rekomendacii-samyx-interesnyx-dnevnikov.146/page-2#post-830110]I am glad to come this forum[/url] [url=http://vs-type-mapper.com/forum.php?mod=viewthread&tid=6866&extra=]I am glad to come this forum[/url] [url=http://www.palavskyvesak.com/forums/topic/i-am-glad-to-come-this-forum-98/]I am glad to come this forum[/url] [url=http://nasamomdele.su/forum/viewtopic.php?f=2&t=1355]I am glad to come this forum[/url] [url=https://hellixdragons.ucoz.ru/forum/3-7-445#56972]I am glad to come this forum[/url] [url=https://www.mitur.gob.do/foro/topic/i-am-glad-to-come-this-forum-9/#postid-280283]I am glad to come this forum[/url] [url=https://bloodlegion.clan.su/forum/2-21-281#43701]I am glad to come this forum[/url] [url=http://campanhanaweb.com.br/forum/forums/topic/i-am-glad-to-come-this-forum-34/]I am glad to come this forum[/url] [url=https://www.findfind.it/forum/ffi-userscripts-was-meint-ihr#comment-27359]I am glad to come this forum[/url] [url=https://cheapdeveloper.com/blogs/entry/168-the-avengers-has-not-yet-recouped-the-production-budget/page/13/#comment-1332]I am glad to come this forum[/url] [url=https://menmania.pl/forum/porady-f31/i-am-glad-to-come-this-forum-t18503.html]I am glad to come this forum[/url] [url=http://e-promis.treasury.go.ke/portal/forums/topic/i-am-glad-to-come-this-forum-51/]I am glad to come this forum[/url] [url=https://forum.fulltimewin.com/viewtopic.php?f=27&t=71386]I am glad to come this forum[/url] 2a05719

Elmer1489Jease
by @Elmer1489Jease (10), pred 2 týždňami