Fix Rails/SquishedSQLHeredocs cop (#24694)
This commit is contained in:
@@ -2,7 +2,7 @@ class RemoveBoostsWideningAudience < ActiveRecord::Migration[5.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def up
|
||||
public_boosts = Status.find_by_sql(<<-SQL)
|
||||
public_boosts = Status.find_by_sql(<<-SQL.squish)
|
||||
SELECT boost.id
|
||||
FROM statuses AS boost
|
||||
LEFT JOIN statuses AS boosted ON boost.reblog_of_id = boosted.id
|
||||
|
||||
Reference in New Issue
Block a user