          ("title", models.CharField(max_length=200)),
      ])
      book_foo_together = ModelState("otherapp", "Book", [
          ("id", models.AutoField(primary_key=True)),
          ("author", models.ForeignKey("testapp.Author")),
          ("title", models.CharField(max_length=200)),
      ], {
          "index_together": {("author", "title")},
          "unique_together": {("author", "title")},
      })
 
</s> remove         ("author", models.ForeignKey("testapp.Author")),
 </s> add         ("author", models.ForeignKey("testapp.Author", models.CASCADE)), </s> remove         ("author", models.ForeignKey("testapp.Author")),
 </s> add         ("author", models.ForeignKey("testapp.Author", models.CASCADE)), </s> remove         ("author", models.ForeignKey("testapp.Author")),
 </s> add         ("author", models.ForeignKey("testapp.Author", models.CASCADE)), </s> remove         ("author", models.ForeignKey("migrations.UnmigratedModel")),
 </s> add         ("author", models.ForeignKey("migrations.UnmigratedModel", models.CASCADE)), </s> remove         ("author", models.ForeignKey("thirdapp.AuthorProxy")),
 </s> add         ("author", models.ForeignKey("thirdapp.AuthorProxy", models.CASCADE)),
        ("author", models.ForeignKey("testapp.Author", models.CASCADE)),
          ("title", models.CharField(max_length=200)),
      ])
      book_foo_together = ModelState("otherapp", "Book", [
          ("id", models.AutoField(primary_key=True)),
        ("author", models.ForeignKey("testapp.Author", models.CASCADE)),
          ("title", models.CharField(max_length=200)),
      ], {
          "index_together": {("author", "title")},
          "unique_together": {("author", "title")},
      })
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/migrations/test_autodetector.py