質問編集履歴
1
s
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,7 +52,7 @@
|
|
52
52
|
|
53
53
|
```
|
54
54
|
|
55
|
-
|
55
|
+
mysql > delete from tweets where id=1;
|
56
56
|
|
57
57
|
ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`sample_boad_development`.`comments`, CONSTRAINT `fk_rails_bea193dd32` FOREIGN KEY (`tweet_id`) REFERENCES `tweets` (`id`))
|
58
58
|
|