projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma]
/
priv
/
repo
/
migrations
/
20190403131720_add_oauth_token_indexes.exs
1
defmodule Pleroma.Repo.Migrations.AddOauthTokenIndexes do
2
use Ecto.Migration
3
4
def change do
5
create(unique_index(:oauth_tokens, [:token]))
6
create(index(:oauth_tokens, [:app_id]))
7
create(index(:oauth_tokens, [:user_id]))
8
end
9
end