Create the email search_vector column and its inverted index

FeatureInitializerService
Shipped
August 5, 2026 at 10:55 PM UTC
Author
Kamo
Commit
78bb4b2

**************** never existed. EmailService's own V1__email_metadata_schema.sql declares it, but that migration never ran -- the table came from this service's entity scan, and SearchIndexEntity omits the field because Hibernate cannot map TSVECTOR, so ddl-auto could not add it. **************** therefore failed with SQLSTATE 42703 on every message, and because that UPDATE shares a transaction with the row insert, the insert rolled back too. The table has always been empty and email search has never returned a result.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing