SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL: alter table groups add constraint groups_user_id_foreign foreign key (user_id) references users (id) on delete cascade).
I'm getting this issue while trying to migrating _create_groups_tables. Any help plz
SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL: alter table
groupsadd constraintgroups_user_id_foreignforeign key (user_id) referencesusers(id) on delete cascade).I'm getting this issue while trying to migrating _create_groups_tables. Any help plz