projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Put the cache with the right key when using a tracking function
[akkoma]
/
priv
/
repo
/
migrations
/
20170415141210_add_unique_index_to_email_and_nickname.exs
1
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToEmailAndNickname do
2
use Ecto.Migration
3
4
def change do
5
create_if_not_exists unique_index(:users, [:email])
6
create_if_not_exists unique_index(:users, [:nickname])
7
end
8
end