diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-17 22:30:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 04:30:14 +0100 |
commit | e2567df86063b537e4a3ab2afd5c28a54140f720 (patch) | |
tree | 4e0bec8307a8c1e365e14f351f5037e0e912a283 /lib | |
parent | d65b2c1924d8ff63c6e8c1b79d678e78e9126df9 (diff) |
Enable Lint/RedundantCopDisableDirective (#23687)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mastodon/migration_helpers.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mastodon/migration_helpers.rb b/lib/mastodon/migration_helpers.rb index 2ab8150ec..5a252b351 100644 --- a/lib/mastodon/migration_helpers.rb +++ b/lib/mastodon/migration_helpers.rb @@ -289,8 +289,6 @@ module Mastodon # determines this method to be too complex while there's no way to make it # less "complex" without introducing extra methods (which actually will # make things _more_ complex). - # - # rubocop: disable Metrics/AbcSize def update_column_in_batches(table_name, column, value) if transaction_open? raise 'update_column_in_batches can not be run inside a transaction, ' \ @@ -573,7 +571,7 @@ module Mastodon o.conname as name, o.confdeltype as on_delete from pg_constraint o - left join pg_class f on f.oid = o.confrelid + left join pg_class f on f.oid = o.confrelid left join pg_class c on c.oid = o.conrelid left join pg_class m on m.oid = o.conrelid where o.contype = 'f' |