catstodon/db
Claire 96f0b33c8b
Remove old duplicate index (#17245)
Some Mastodon versions (v1.1 and v1.2) had a duplicate index in `db/schema.rb`
without any migration script creating it. #2224 (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.
2022-01-23 13:53:58 +01:00
..
migrate Remove old duplicate index (#17245) 2022-01-23 13:53:58 +01:00
post_migrate Add notifications for statuses deleted by moderators (#17204) 2022-01-17 09:41:33 +01:00
views Remove IP tracking columns from users table (#16409) 2022-01-16 13:23:50 +01:00
schema.rb Add support for editing for published statuses (#16697) 2022-01-19 22:37:27 +01:00
seeds.rb Change unconfirmed user login behaviour (#11375) 2019-07-22 10:48:50 +02:00