diff options
Diffstat (limited to 'lib/mastodon/migration_helpers.rb')
-rw-r--r-- | lib/mastodon/migration_helpers.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/mastodon/migration_helpers.rb b/lib/mastodon/migration_helpers.rb index 2ab8150ec..e31754f3f 100644 --- a/lib/mastodon/migration_helpers.rb +++ b/lib/mastodon/migration_helpers.rb @@ -284,13 +284,6 @@ module Mastodon # table - The name of the table. # column - The name of the column to update. # value - The value for the column. - # - # Rubocop's Metrics/AbcSize metric is disabled for this method as Rubocop - # 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, ' \ |