diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-08 15:16:39 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-08 15:16:39 +0300 |
commit | 32808208bef12996f819d21ca2635837aff98cbf (patch) | |
tree | 677e6798940b76be29771a9a574f544772c52e6b /priv/repo/migrations/20170912114248_add_context_index.exs | |
parent | 44e0c5cabb157fe2cfc66af0167547ac51f98ff0 (diff) | |
download | pleroma-32808208bef12996f819d21ca2635837aff98cbf.tar.gz pleroma-32808208bef12996f819d21ca2635837aff98cbf.zip |
Enable `mix format` for migrations
Diffstat (limited to 'priv/repo/migrations/20170912114248_add_context_index.exs')
-rw-r--r-- | priv/repo/migrations/20170912114248_add_context_index.exs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/priv/repo/migrations/20170912114248_add_context_index.exs b/priv/repo/migrations/20170912114248_add_context_index.exs index 83c585136..400a432ff 100644 --- a/priv/repo/migrations/20170912114248_add_context_index.exs +++ b/priv/repo/migrations/20170912114248_add_context_index.exs @@ -3,6 +3,11 @@ defmodule Pleroma.Repo.Migrations.AddContextIndex do @disable_ddl_transaction true def change do - create index(:activities, ["(data->>'type')", "(data->>'context')"], name: :activities_context_index, concurrently: true) + create( + index(:activities, ["(data->>'type')", "(data->>'context')"], + name: :activities_context_index, + concurrently: true + ) + ) end end |