MCPcopy
hub / github.com/django/django / database_backwards

Method database_backwards

django/contrib/postgres/operations.py:231–234  ·  view source on GitHub ↗
(self, app_label, schema_editor, from_state, to_state)

Source from the content-addressed store, hash-verified

229 self.create_collation(schema_editor)
230
231 def database_backwards(self, app_label, schema_editor, from_state, to_state):
232 if not router.allow_migrate(schema_editor.connection.alias, app_label):
233 return
234 self.remove_collation(schema_editor)
235
236 def describe(self):
237 return f"Create collation {self.name}"

Calls 2

remove_collationMethod · 0.80
allow_migrateMethod · 0.45