diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-21 19:54:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 09:54:36 +0900 |
commit | 0cfdd1a401f055c23e308a4b823bd250b1cbb3d3 (patch) | |
tree | 35cd9c386409bc9a1ca917bb6201b0ba1af37896 /lib/mastodon/snowflake.rb | |
parent | 7ecf783dd3bfc07f80aab495273b6d01ba972c40 (diff) |
Enable Rubocop Style/StringConcatenation defaults (#23792)
Diffstat (limited to 'lib/mastodon/snowflake.rb')
-rw-r--r-- | lib/mastodon/snowflake.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/snowflake.rb b/lib/mastodon/snowflake.rb index fe0dc1722..8030288af 100644 --- a/lib/mastodon/snowflake.rb +++ b/lib/mastodon/snowflake.rb @@ -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 |