Adquiere este curso para tener acceso a todas las lecciones
Comprar curso19. Insertar registros de prueba de categorías
2 comentarios
Inicia sesión para comentar
Comentarios:
-
Josapaoq hace 1 semana
Buen dia Coders Free,
por favor si me pueden ayudar con el siguiente mensaje que mesale la tratar de hacer
php artisan db:seed
PS D:\XWamp\xampp\htdocs\cdrsFree\lrvl\inventario> php artisan db:seed
INFO Seeding database.
Illuminate\Database\UniqueConstraintViolationExceptionSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'test@example.com' for key 'users_email_unique' (Connection: mysql, SQL: insert into `users` (`name`, `email`, `email_verified_at`, `password`, `two_factor_secret`, `two_factor_recovery_codes`, `remember_token`, `profile_photo_path`, `current_team_id`, `updated_at`, `created_at`) values (Test User, test@example.com, 2026-02-24 17:52:57, $2y$12$Hn.7.O1jHVMYvfk2AlUtBuexRoYocbLPTzn1jHHmXjVzoTuuWkYqS, ?, ?, FkcX0W7SDp, ?, ?, 2026-02-24 17:52:57, 2026-02-24 17:52:57))
at vendor\laravel\framework\src\Illuminate\Database\Connection.php:821
817▕ // message to include the bindings with SQL, which will make this exception a
818▕ // lot more helpful to the developer instead of just the database's errors.
819▕ catch (Exception $e) {
820▕ if ($this->isUniqueConstraintError($e)) {
➜ 821▕ throw new UniqueConstraintViolationException(
822▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
823▕ );
824▕ }
825▕1 vendor\laravel\framework\src\Illuminate\Database\MySqlConnection.php:53
PDOException::("SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'test@example.com' for key 'users_email_unique'")2 vendor\laravel\framework\src\Illuminate\Database\MySqlConnection.php:53
PDOStatement::execute()PS D:\XWamp\xampp\htdocs\cdrsFree\lrvl\inventario>
estoy atento a vuestra ayuda,
gracias
-
Francis Castillo hace 8 meses
Saludos Sr. Al comprar el curso es posible descargar el proyecto?