projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
361ca04daf6297ae12f5579c5102dd8b0991930c
[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 unique_index(:users, [:email])
6
create unique_index(:users, [:nickname])
7
end
8
end