Enable Rubocop Style/StringConcatenation defaults (#23792)

This commit is contained in:
Nick Schonning
2023-02-21 19:54:36 -05:00
committed by GitHub
parent 7ecf783dd3
commit 0cfdd1a401
14 changed files with 25 additions and 44 deletions

View File

@@ -115,7 +115,7 @@ module Mastodon::Snowflake
# And only those that are using timestamp_id.
next unless (data = DEFAULT_REGEX.match(id_col.default_function))
seq_name = data[:seq_prefix] + '_id_seq'
seq_name = "#{data[:seq_prefix]}_id_seq"
# If we were on Postgres 9.5+, we could do CREATE SEQUENCE IF
# NOT EXISTS, but we can't depend on that. Instead, catch the