https://github.com/tootsuite/mastodon/releases/tag/v2.6.0rc2
> It has to iterate over a potentially large data set, so that migration may take a while. It will not lock the tables, so it is safe to run for a very long time without bringing your Mastodon web process down (in fact, database migrations never warrant downtime unless explicitly stated, but I know that some people do that...).