This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Description
Update thread_id column to be non-null:
UPDATE null thread IDs to be 'main' after the previous background update and add NOT NULL constraint.
- Drop the
thread_id IS NULL indexes (since they're no longer needed).
See #14222 for the code which was backed out, most of it can likely be re-used.
This will re-apply part of #13776.