Gitlab: Run benchmark in CI.
[akkoma] / priv / repo / migrations / 20190411094120_add_index_on_user_info_deactivated.exs
1 defmodule Pleroma.Repo.Migrations.AddIndexOnUserInfoDeactivated do
2 use Ecto.Migration
3
4 def change do
5 create_if_not_exists(index(:users, ["(info->'deactivated')"], name: :users_deactivated_index, using: :gin))
6 end
7 end