Solve remaining db/*migrate* cops (#28579)
				
					
				
			This commit is contained in:
		@@ -165,7 +165,6 @@ Rails/WhereExists:
 | 
			
		||||
    - 'app/validators/reaction_validator.rb'
 | 
			
		||||
    - 'app/validators/vote_validator.rb'
 | 
			
		||||
    - 'app/workers/move_worker.rb'
 | 
			
		||||
    - 'db/migrate/20190529143559_preserve_old_layout_for_existing_users.rb'
 | 
			
		||||
    - 'lib/tasks/tests.rake'
 | 
			
		||||
    - 'spec/models/account_spec.rb'
 | 
			
		||||
    - 'spec/services/activitypub/process_collection_service_spec.rb'
 | 
			
		||||
@@ -253,8 +252,6 @@ Style/GuardClause:
 | 
			
		||||
    - 'app/workers/redownload_media_worker.rb'
 | 
			
		||||
    - 'app/workers/remote_account_refresh_worker.rb'
 | 
			
		||||
    - 'config/initializers/devise.rb'
 | 
			
		||||
    - 'db/migrate/20170901141119_truncate_preview_cards.rb'
 | 
			
		||||
    - 'db/post_migrate/20220704024901_migrate_settings_to_user_roles.rb'
 | 
			
		||||
    - 'lib/devise/strategies/two_factor_ldap_authenticatable.rb'
 | 
			
		||||
    - 'lib/devise/strategies/two_factor_pam_authenticatable.rb'
 | 
			
		||||
    - 'lib/mastodon/cli/accounts.rb'
 | 
			
		||||
@@ -275,7 +272,6 @@ Style/HashAsLastArrayItem:
 | 
			
		||||
    - 'app/models/status.rb'
 | 
			
		||||
    - 'app/services/batched_remove_status_service.rb'
 | 
			
		||||
    - 'app/services/notify_service.rb'
 | 
			
		||||
    - 'db/migrate/20181024224956_migrate_account_conversations.rb'
 | 
			
		||||
 | 
			
		||||
# This cop supports unsafe autocorrection (--autocorrect-all).
 | 
			
		||||
Style/HashTransformValues:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user