mastodon/db
Claire 96f0b33c8b
Remove old duplicate index ()
Some Mastodon versions (v1.1 and v1.2) had a duplicate index in `db/schema.rb`
without any migration script creating it.  (included in v1.3) removed the
duplicate index from the file but did not provide a migration script to remove
it.

This means that any instance that was installed from v1.1 or v1.2's source code
has a duplicate index and a corresponding warning in PgHero. Instances set up
using an earlier or later Mastodon version do not have this issue.

This PR removes the duplicate index if it is present.
..
migrate Remove old duplicate index ()
post_migrate Add notifications for statuses deleted by moderators ()
views Remove IP tracking columns from users table ()
schema.rb Add support for editing for published statuses ()
seeds.rb Change unconfirmed user login behaviour ()