projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'feature/1737-magic-key-field' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20171130135819_add_local_index_to_user.exs
diff --git
a/priv/repo/migrations/20171130135819_add_local_index_to_user.exs
b/priv/repo/migrations/20171130135819_add_local_index_to_user.exs
index 25716be213693c2036862498a340e4a7f7fa1266..76bf9584ed9b4456395c9aa99c99ce666c2ad8e2 100644
(file)
--- a/
priv/repo/migrations/20171130135819_add_local_index_to_user.exs
+++ b/
priv/repo/migrations/20171130135819_add_local_index_to_user.exs
@@
-2,6
+2,6
@@
defmodule Pleroma.Repo.Migrations.AddLocalIndexToUser do
use Ecto.Migration
def change do
- create
index(:users, [:local]
)
+ create
_if_not_exists(index(:users, [:local])
)
end
end