Bug: running migrations on a fresh database failed when we got to a migration adding a posts.uploader_ip_addr index on 2019-11-11. It failed because the index already existed. The index already existed because we used to have it at one point, until it was removed by another migration on 2015-01-20. This migration didn't correctly remove the index though, because it tried to remove a posts.source index first, which failed because this index didn't exist (it probably existed only in production). This error was swallowed, causing the migration to silently skip removing the posts.uploader_ip_addr index, which eventually blew up when we tried to add the index again later on.
197 B
197 B