Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Illuminate\Database\QueryException : SQLSTATE[HY000]: General error: 1005 Can't create table `ecommerce`.`#sql-28dc_39` (errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter ta
- ble `products` add constraint `products_category_id_foreign` foreign key (`category_id`) references `categories` (`id`) on delete cascade)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement