Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX][php]:ArticlesTableSeeder issue on php artisan db:seed #619

Open
cyrilmano opened this issue Feb 26, 2025 · 2 comments
Open

[FIX][php]:ArticlesTableSeeder issue on php artisan db:seed #619

cyrilmano opened this issue Feb 26, 2025 · 2 comments
Assignees

Comments

@cyrilmano
Copy link

cyrilmano commented Feb 26, 2025

Description:

Below is the error on db:seed ArticlesTableSeeder error

Database\Seeders\ArticlesTableSeeder ...................................................................... RUNNING  

   Illuminate\Database\UniqueConstraintViolationException 

  SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'How to reset your password' for key 'articles.articles_title_unique' (Connection: mysql, SQL: insert into `articles` (`user_id`, `title`, `content`, `article_id`, `updated_at`, `created_at`) values (9e4dca2c-7fc1-429d-80cb-40bc2f3be592, How to reset your password, To reset your password, follow these steps..., ef78aa28-db94-41e0-b4cf-b8bb4d4fe027, 2025-02-26 13:07:52, 2025-02-26 13:07:52))

Screenshots
Image

@cyrilmano
Copy link
Author

Issue created by: [email protected]
Slack Display Name: ThankGod Cyril Uche on LinkedIn

@omotomiwa26
Copy link
Contributor

Use This Issue Template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants