Support the ongoing development of Laravel.io →
posted 6 years ago
Last updated 1 year ago.
0

'as' => 'name' not 'as',=>'name'

0

Ok thanks @sylarbg ... now i migrate i get these messages:

Migration table created successfully.

[Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 La cl├® est trop longue
. Longueur maximale: 1000 (SQL: alter table password_resets add index passw ord_resets_email_index(email))

[PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 La cl├® est trop longue
. Longueur maximale: 1000

Last updated 6 years ago.
0

Hi BarthFox, Bonjour BarthFox,

Not everyone on these forums talks French, so it would have been nice if you translated the error; you'll find that people can help you a lot faster when you help them in doing so ;-)

Anyway - I do speak french, so I can relay to your message, and the issue is that you key is too long.

This link will help you find the answer ;-)

http://lmgtfy.com/?q=laravel+specified+key+too+long

(sorry about that, but the question has been asked so many times already...)

Last updated 6 years ago.
0

Ok thanks i will look trough your link @denjaland... I am sorry...i am biginner. Merci

0

No problem - good luck with that - you'll fix it soon enough ;-)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

BarthFox barthfox Joined 16 Jun 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.