          "unique_together": {("title", "newfield2")},
      })
      attribution = ModelState("otherapp", "Attribution", [
          ("id", models.AutoField(primary_key=True)),
          ("author", models.ForeignKey("testapp.Author")),
          ("book", models.ForeignKey("otherapp.Book")),
      ])
      edition = ModelState("thirdapp", "Edition", [
          ("id", models.AutoField(primary_key=True)),
          ("book", models.ForeignKey("otherapp.Book")),
      ])
 
</s> remove         ("book", models.ForeignKey("otherapp.Book")),
 </s> add         ("book", models.ForeignKey("otherapp.Book", models.CASCADE)), </s> remove         ("book", models.ForeignKey("otherapp.Book")),
 </s> add         ("book", models.ForeignKey("otherapp.Book", models.CASCADE)), </s> remove         ("book", models.ForeignKey("otherapp.Book")),
 </s> add         ("book", models.ForeignKey("otherapp.Book", models.CASCADE)), </s> remove         ("author", models.ForeignKey("testapp.Author")),
 </s> add         ("author", models.ForeignKey("testapp.Author", models.CASCADE)), </s> remove         ("author", models.ForeignKey("otherapp.Book")),
 </s> add         ("author", models.ForeignKey("otherapp.Book", models.CASCADE)),
        ("author", models.ForeignKey("testapp.Author", models.CASCADE)),
        ("book", models.ForeignKey("otherapp.Book", models.CASCADE)),
          "unique_together": {("title", "newfield2")},
      })
      attribution = ModelState("otherapp", "Attribution", [
          ("id", models.AutoField(primary_key=True)),
        ("author", models.ForeignKey("testapp.Author", models.CASCADE)),
        ("book", models.ForeignKey("otherapp.Book", models.CASCADE)),
        ("author", models.ForeignKey("testapp.Author", models.CASCADE)),
        ("book", models.ForeignKey("otherapp.Book", models.CASCADE)),
      ])
      edition = ModelState("thirdapp", "Edition", [
          ("id", models.AutoField(primary_key=True)),
          ("book", models.ForeignKey("otherapp.Book")),
      ])
keep keep keep keep replace replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/migrations/test_autodetector.py