psqlextra/backend/hstore_required.py
def alter_db_table(self, model, old_db_table, new_db_table):
        """Ran when the name of a model is changed."""

        for field in model._meta.local_fields:
            if not isinstance(field, HStoreField):
                continue

            for key in self._iterate_required_keys(field):
                self._rename_hstore_required(
                    old_db_table,
                    new_db_table,
                    field,
                    field,
                    key
                )
def alter_db_table(self, model, old_db_table, new_db_table):
        """Ran when the name of a model is changed."""

        for field in model._meta.local_fields:
            if not isinstance(field, HStoreField):
                continue

            for key in self._iterate_required_keys(field):
                self._rename_hstore_required(
                    old_db_table,
                    new_db_table,
                    field,
                    field,
                    key
                )
def alter_db_table ( self , model , old_db_table , new_db_table ) : for field in model . _meta . local_fields : if not isinstance ( field , HStoreField ) : continue for key in self . _iterate_required_keys ( field ) : self . _rename_hstore_required ( old_db_table , new_db_table , field , field , key )
Ran when the name of a model is changed.
Ran when the name of a model is changed .