質問編集履歴

1

誤字の修正

2019/12/06 05:42

投稿

clora
clora

スコア72

test CHANGED
File without changes
test CHANGED
@@ -52,7 +52,7 @@
52
52
 
53
53
 
54
54
 
55
- Mysql2::Error: Cannot add or update a child row: a foreign key constraint fails (`app_development`.`productions`, CONSTRAINT `fk_rails_da7ae25ed8` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`)): INSERT INTO `productions` (`product_id`, `created_at`, `updated_at`) VALUES (11111, '2019-12-06 03:18:18', '2019-12-06 03:18:18')
55
+ Mysql2::Error: Cannot add or update a child row: a foreign key constraint fails (`app_development`.`productions`, CONSTRAINT `fk_rails_da7ae25ed8` FOREIGN KEY (`good_id`) REFERENCES `goods` (`id`)): INSERT INTO `productions` (`good_id`, `created_at`, `updated_at`) VALUES (11111, '2019-12-06 03:18:18', '2019-12-06 03:18:18')
56
56
 
57
57
 
58
58