We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting this error when I try artisan migrate
[Illuminate\Database\QueryException] SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL : alter table `assigned_roles` add constraint assigned_roles_user_id_foreig n foreign key (`user_id`) references `users` (`id`) on delete cascade) [PDOException] SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint
The text was updated successfully, but these errors were encountered:
Solved the problem by adding
$table->engine = 'InnoDB';
to user and language migrations
Sorry, something went wrong.
TNX, I change that files and commit for other users.
No branches or pull requests
Getting this error when I try artisan migrate
The text was updated successfully, but these errors were encountered: