(self, app_label, schema_editor, from_state, to_state)
| 399 | schema_editor.delete_model(model) |
| 400 | |
| 401 | def database_backwards(self, app_label, schema_editor, from_state, to_state): |
| 402 | model = to_state.apps.get_model(app_label, self.name) |
| 403 | if self.allow_migrate_model(schema_editor.connection.alias, model): |
| 404 | schema_editor.create_model(model) |
| 405 | |
| 406 | def references_model(self, name, app_label): |
| 407 | # The deleted model could be referencing the specified model through |