projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Enable `mix format` for migrations
[akkoma]
/
priv
/
repo
/
migrations
/
20190405160700_add_index_on_subscribers.exs
1
defmodule Pleroma.Repo.Migrations.AddIndexOnSubscribers do
2
use Ecto.Migration
3
4
@disable_ddl_transaction true
5
def change do
6
create(
7
index(:users, ["(info->'subscribers')"],
8
name: :users_subscribers_index,
9
using: :gin,
10
concurrently: true
11
)
12
)
13
end
14
end