laravel-crud-api icon indicating copy to clipboard operation
laravel-crud-api copied to clipboard

Run seeders error

Open alanlv opened this issue 5 years ago • 1 comments

I using cms template, but get the error when running php artisan db:seed on terminate.

[Illuminate\Database\QueryException] SQLSTATE[HY000]: General error: 1364 Field 'path' doesn't have a default va lue (SQL: insert into permissions (code, name) values (CMS, CMS), (BL OG, Blog), (STORE, Store), (ADMIN, Administration))

alanlv avatar Jan 15 '20 08:01 alanlv

Along with this error, I also see this error:

[Doctrine\DBAL\Driver\PDOException] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'permissions_path_unique'

fkranenburg avatar Jan 27 '20 19:01 fkranenburg