Skip to content
Snippets Groups Projects
Commit cf5d1302 authored by kaniini's avatar kaniini
Browse files

migrations: add is_moderator index for users table

parent 3370fab1
No related branches found
No related tags found
No related merge requests found
defmodule Pleroma.Repo.Migrations.UsersAddIsModeratorIndex do
use Ecto.Migration
def change do
create index(:users, ["(info->'is_moderator')"], name: :users_is_moderator_index, using: :gin)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment