def METHOD_NAME(self, table_id: int):
    """ """
    from baserow.contrib.database.search.exceptions import (
        PostgresFullTextSearchDisabledException,
    )
    from baserow.contrib.database.search.handler import SearchHandler
    from baserow.contrib.database.table.handler import TableHandler
    with transaction.atomic():
        table = TableHandler().get_table_for_update(table_id)
        TableHandler().create_needs_background_update_field(table)
        try:
            SearchHandler.sync_tsvector_columns(table)
        except PostgresFullTextSearchDisabledException:
            logger.debug(f"Postgres full-text search is disabled.")
    try:
        SearchHandler.update_tsvector_columns(
            table, update_tsvectors_for_changed_rows_only=False
        )
    except PostgresFullTextSearchDisabledException:
        logger.debug(f"Postgres full-text search is disabled.")