projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instan...
[akkoma]
/
priv
/
repo
/
migrations
/
20181206125616_add_tags_to_users.exs
diff --git
a/priv/repo/migrations/20181206125616_add_tags_to_users.exs
b/priv/repo/migrations/20181206125616_add_tags_to_users.exs
index 7d42a0fba47b900e39c15f852fa4875076fd67ae..a46c0fc35acd50d01509e9a778b4d0e065dfe4d4 100644
(file)
--- a/
priv/repo/migrations/20181206125616_add_tags_to_users.exs
+++ b/
priv/repo/migrations/20181206125616_add_tags_to_users.exs
@@
-3,9
+3,9
@@
defmodule Pleroma.Repo.Migrations.AddTagsToUsers do
def change do
alter table(:users) do
def change do
alter table(:users) do
- add
:tags, {:array, :string}
+ add
(:tags, {:array, :string})
end
end
- create_if_not_exists
index(:users, [:tags], using: :gin
)
+ create_if_not_exists
(index(:users, [:tags], using: :gin)
)
end
end
end
end