projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b18c67dcb78471355de94dcbbcec229862b0676a
[akkoma]
/
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