def METHOD_NAME(self):
    for db_name in self._databases_names(include_mirrors=False):
        call_command(
            "flush",
            verbosity=0,
            interactive=False,
            database=db_name,
            reset_sequences=False,
            allow_cascade=True,
            inhibit_post_migrate=False,
        )