diff options
| author | rinpatch <rinpatch@sdf.org> | 2019-10-08 12:28:10 +0000 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2019-10-08 12:28:10 +0000 |
| commit | 6355694309b0bad3687a8a7820b81ebf6625751d (patch) | |
| tree | 677e6798940b76be29771a9a574f544772c52e6b /priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs | |
| parent | 44e0c5cabb157fe2cfc66af0167547ac51f98ff0 (diff) | |
| parent | 32808208bef12996f819d21ca2635837aff98cbf (diff) | |
| download | pleroma-6355694309b0bad3687a8a7820b81ebf6625751d.tar.gz pleroma-6355694309b0bad3687a8a7820b81ebf6625751d.zip | |
Merge branch 'chore/format-migrations' into 'develop'
Enable `mix format` for migrations
See merge request pleroma/pleroma!1819
Diffstat (limited to 'priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs')
| -rw-r--r-- | priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs b/priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs index 9831a1b82..07b3f2875 100644 --- a/priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs +++ b/priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs @@ -3,6 +3,11 @@ defmodule Pleroma.Repo.Migrations.CreateApidHostExtractionIndex do @disable_ddl_transaction true def change do - create index(:activities, ["(split_part(actor, '/', 3))"], concurrently: true, name: :activities_hosts) + create( + index(:activities, ["(split_part(actor, '/', 3))"], + concurrently: true, + name: :activities_hosts + ) + ) end end |
