Answers for "Specified key was too long; max key length is 1000 bytes (SQL: alter table `permissions` add unique `permissions name guard_name_unique`(`name`, `guard_name`))"

C#
1

Specified key was too long; max key length is 1000 bytes (SQL: alter table `permissions` add unique `permissions name guard_name_unique`(`name`, `guard_name`))

On MySQL 8.0 use defaultStringLength(125)
Posted by: Guest on September-01-2021

Code answers related to "Specified key was too long; max key length is 1000 bytes (SQL: alter table `permissions` add unique `permissions name guard_name_unique`(`name`, `guard_name`))"

C# Answers by Framework

Browse Popular Code Answers by Language