      pass
  
  
  class County(NamedModel):
      state = models.ForeignKey(State)
      mpoly = models.MultiPolygonField(srid=4269)  # Multipolygon in NAD83
  
  
  class CountyFeat(NamedModel):
      poly = models.PolygonField(srid=4269)
 
</s> remove     state = models.ForeignKey(State)
 </s> add     state = models.ForeignKey(State, models.CASCADE) </s> remove     state = models.ForeignKey(State)
 </s> add     state = models.ForeignKey(State, models.CASCADE) </s> remove     city = models.ForeignKey(City)
 </s> add     city = models.ForeignKey(City, models.CASCADE) </s> remove     media = models.OneToOneField(Media, primary_key=True, parent_link=True)
 </s> add     media = models.OneToOneField(Media, models.CASCADE, primary_key=True, parent_link=True) </s> remove     title = models.ForeignKey(Title)
 </s> add     title = models.ForeignKey(Title, models.CASCADE)
    state = models.ForeignKey(State, models.CASCADE)
      pass
  
  
  class County(NamedModel):
    state = models.ForeignKey(State, models.CASCADE)
      mpoly = models.MultiPolygonField(srid=4269)  # Multipolygon in NAD83
  
  
  class CountyFeat(NamedModel):
      poly = models.PolygonField(srid=4269)
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/gis_tests/layermap/models.py