Fix Rails/SquishedSQLHeredocs cop (#24694)
This commit is contained in:
parent
8dcfb6e0ea
commit
60ac9e8634
6 changed files with 7 additions and 16 deletions
|
@ -146,7 +146,7 @@ module Mastodon::Snowflake
|
|||
private
|
||||
|
||||
def already_defined?
|
||||
connection.execute(<<~SQL).values.first.first
|
||||
connection.execute(<<~SQL.squish).values.first.first
|
||||
SELECT EXISTS(
|
||||
SELECT * FROM pg_proc WHERE proname = 'timestamp_id'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue