diff options
author | eal <eal@waifu.club> | 2018-05-30 16:33:37 +0300 |
---|---|---|
committer | eal <eal@waifu.club> | 2018-05-30 16:48:59 +0300 |
commit | 5d3fdbc08223a1b8b6f36f2621214285c383b840 (patch) | |
tree | 4e28c14383b08bac9fb7b4ef5102e41941fba732 /priv/repo/migrations/20180530123448_add_list_follow_index.exs | |
parent | 196d36a7d5e94ea2b494c5910a263da20c985e66 (diff) | |
download | pleroma-5d3fdbc08223a1b8b6f36f2621214285c383b840.tar.gz pleroma-5d3fdbc08223a1b8b6f36f2621214285c383b840.zip |
MastoAPI: Add streaming for lists.
Diffstat (limited to 'priv/repo/migrations/20180530123448_add_list_follow_index.exs')
-rw-r--r-- | priv/repo/migrations/20180530123448_add_list_follow_index.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20180530123448_add_list_follow_index.exs b/priv/repo/migrations/20180530123448_add_list_follow_index.exs new file mode 100644 index 000000000..d6603e916 --- /dev/null +++ b/priv/repo/migrations/20180530123448_add_list_follow_index.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddListFollowIndex do + use Ecto.Migration + + def change do + create index(:lists, [:following]) + end +end |