laravel-Permission id primary key non-auto-increment insert data failure problem
〆楊___
〆楊___ 2022-10-12 11:49:37
0
0
910

Laravel-Permission permission package fails to write data when creating roles and permissions, displaying

General error: 1364 Field 'id' doesn't have a default value (SQL: insert into `hema_roles` (` guard_name`, `name`, `updated_at`, `created_at`) values ​​(web, test role, 2022-10-12 02:36:10, 2022-10-12 02:36:10))

When doing data migration, the table auto-increment id is bigint unsigned long integer type. Is it a problem with the table structure or a problem with the component?

〆楊___
〆楊___

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template