diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-10-06 08:08:21 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-10-06 08:11:05 +0200 |
commit | a17910a6c6dca88d98218bf9782b05b70b69446f (patch) | |
tree | 412d2f7acd3789b72d388cbfefca6a96041c139b /priv/repo/migrations/20171212164525_fill_recipients_in_activities.exs | |
parent | bdaa7e53940daa43b83e3baab836b701482e6d8f (diff) | |
download | pleroma-a17910a6c6dca88d98218bf9782b05b70b69446f.tar.gz pleroma-a17910a6c6dca88d98218bf9782b05b70b69446f.zip |
CI: Bump lint stage to elixir-1.12
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
Diffstat (limited to 'priv/repo/migrations/20171212164525_fill_recipients_in_activities.exs')
-rw-r--r-- | priv/repo/migrations/20171212164525_fill_recipients_in_activities.exs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/priv/repo/migrations/20171212164525_fill_recipients_in_activities.exs b/priv/repo/migrations/20171212164525_fill_recipients_in_activities.exs index 6dfa93716..77a09781c 100644 --- a/priv/repo/migrations/20171212164525_fill_recipients_in_activities.exs +++ b/priv/repo/migrations/20171212164525_fill_recipients_in_activities.exs @@ -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) |