      ], options={"order_with_respect_to": "book"})
      author_renamed_with_book = ModelState("testapp", "Writer", [
          ("id", models.AutoField(primary_key=True)),
          ("name", models.CharField(max_length=200)),
          ("book", models.ForeignKey("otherapp.Book")),
      ])
      author_with_publisher_string = ModelState("testapp", "Author", [
          ("id", models.AutoField(primary_key=True)),
          ("name", models.CharField(max_length=200)),
          ("publisher_name", models.CharField(max_length=200)),
 
</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         ("publisher", models.ForeignKey("testapp.Publisher")),
 </s> add         ("publisher", models.ForeignKey("testapp.Publisher", models.CASCADE)), </s> remove         ("user", models.ForeignKey("auth.User")),
 </s> add         ("user", models.ForeignKey("auth.User", models.CASCADE)), </s> remove         ("author", models.ForeignKey("testapp.Aardvark")),
 </s> add         ("author", models.ForeignKey("testapp.Aardvark", models.CASCADE)),
        ("book", models.ForeignKey("otherapp.Book", models.CASCADE)),
      ], options={"order_with_respect_to": "book"})
      author_renamed_with_book = ModelState("testapp", "Writer", [
          ("id", models.AutoField(primary_key=True)),
          ("name", models.CharField(max_length=200)),
        ("book", models.ForeignKey("otherapp.Book", models.CASCADE)),
      ])
      author_with_publisher_string = ModelState("testapp", "Author", [
          ("id", models.AutoField(primary_key=True)),
          ("name", models.CharField(max_length=200)),
          ("publisher_name", models.CharField(max_length=200)),
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