about summary refs log tree commit diff
path: root/db/migrate/20180615122121_add_autofollow_to_invites.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-01-23 13:53:58 +0100
committerGitHub <noreply@github.com>2022-01-23 13:53:58 +0100
commit96f0b33c8b994440199bccda14123d0569c6bcc5 (patch)
tree9067e6f277549dfa6fa5c8c7d836d449e8fa77c2 /db/migrate/20180615122121_add_autofollow_to_invites.rb
parent3a103cd317fd56aca27fca01e03647df44e3ffd2 (diff)
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.
Diffstat (limited to 'db/migrate/20180615122121_add_autofollow_to_invites.rb')
0 files changed, 0 insertions, 0 deletions