Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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)
 
PREVIOUS NEXT
Tagged: #Specified #key #max #key #length #bytes #alter #table #add #unique
ADD COMMENT
Topic
Name
4+7 =