MCPcopy
hub / github.com/django/django / remove_sql

Method remove_sql

tests/postgres_tests/test_indexes.py:677–679  ·  view source on GitHub ↗
(self, model, schema_editor, **kwargs)

Source from the content-addressed store, hash-verified

675 return super().create_sql(model, schema_editor, using, **kwargs)
676
677 def remove_sql(self, model, schema_editor, **kwargs):
678 kwargs.setdefault("sql", self.sql_delete_index)
679 return super().remove_sql(model, schema_editor, **kwargs)
680
681 index = CustomSQLIndex(fields=["field"], name="custom_sql_idx")
682

Callers

nothing calls this directly

Calls 1

setdefaultMethod · 0.45

Tested by

no test coverage detected