B
Size: a a a
B
B
РИ
B
B
D
AH
O
errno: 150 "Foreign key constraint is incorrectly formed"
AH
errno: 150 "Foreign key constraint is incorrectly formed"
$table->unsignedBigInteger('product_id');
O
$table->unsignedBigInteger('product_id');
AH
AH
errno: 150 "Foreign key constraint is incorrectly formed"
AH
O
SQLSTATE[HY000]: General error: 1005 Can't create table d
b.product_reviews
(errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table product_reviews
add constraint product_reviews_product_id_foreign
foreign key (`product_id`) references products
(`id`))VL
VL
O