0
0
Fork 0

Enable Rubocop Style/NumericLiterals (#23647)

This commit is contained in:
Nick Schonning 2023-02-17 21:05:57 -05:00 committed by GitHub
parent 669f6d2c0a
commit ac59d6f19f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 24 deletions

View file

@ -19,7 +19,7 @@ class CopyStatusStats < ActiveRecord::Migration[5.2]
def supports_upsert?
version = select_one("SELECT current_setting('server_version_num') AS v")['v'].to_i
version >= 90500
version >= 90_500
end
def up_fast

View file

@ -19,7 +19,7 @@ class CopyAccountStats < ActiveRecord::Migration[5.2]
def supports_upsert?
version = select_one("SELECT current_setting('server_version_num') AS v")['v'].to_i
version >= 90500
version >= 90_500
end
def up_fast