PostgreSQL forbids volatile functions in partial index predicates.
Replace with two plain indexes on starts_at and ends_at instead —
the active-banner filtering is handled in the query WHERE clause.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>