def METHOD_NAME(self):
    if self._migration_needed():
        self.queries += self._collect_content_type_queries()
        self.queries += self._collect_django_migrations_queries()
        tables = self._get_table_list()
        self.queries += self._collect_prefix_tables_queries(tables)
    # queries the information_schema only, should be safe even before initial django migration
    sequences = self._get_sequence_list()
    if sequences:
        self.queries += self._collect_prefix_sequences_queries(sequences)