Closed tons613 closed 6 years ago
I have the same Porblem
Getting the same problem here
i have these problems too
I have the same problem too. Anyone out there?
Refer to hot fix 1 and 2: https://www.youtube.com/watch?v=bDmmKOdgIeY https://www.youtube.com/watch?v=cEdQvdYLuSg
When i run the migrate command I got the error below. Any idea on how to fix it?
[Illuminate\Database\QueryException]
SQLSTATE[HY000]: General error: 1005 Can't create table
employee_db
.#sql-123c_53
(errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter tableemployees
add constraint
employees_city_id_foreign
foreign key (city_id
) referencescity
(id
))