CI: Bump lint stage to elixir-1.12
[akkoma] / priv / repo / migrations / 20171212164525_fill_recipients_in_activities.exs
index 6dfa9371682c2f7fff72414a67f50d26bd4ff91d..77a09781c4aef1eaeb53c95a6e63dd6c2ba213fd 100644 (file)
@@ -14,9 +14,7 @@ defmodule Pleroma.Repo.Migrations.FillRecipientsInActivities do
         max = min + 10_000
 
         execute("""
-        update activities set recipients = array(select jsonb_array_elements_text(data->'to')) where id > #{
-          min
-        } and id <= #{max};
+        update activities set recipients = array(select jsonb_array_elements_text(data->'to')) where id > #{min} and id <= #{max};
         """)
         |> IO.inspect()
       end)