Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

danieltj's avatar

Can't register new account in Spark

I've setup a new Laravel Spark instance and haven't changed anything about it, it's exactly like it is out of the box. I'm trying to register a new account and I'm getting the following error:

Something went wrong. Please try again or contact customer support.

When I run php artisan migrate I'm getting the following errors in Terminal:

[Illuminate\Database\QueryException]                                                                         
  SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 b  
  ytes (SQL: alter table `announcements` add primary key `announcements_id_primary`(`id`))                     
                                                                                                               
  [PDOException]                                                                                               
  SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 b  
  ytes       

Where am I going wrong?

0 likes
1 reply

Please or to participate in this conversation.