projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove legacy references to FE that is not officially supported
[akkoma]
/
priv
/
repo
/
migrations
/
20211126191138_add_suggestions.exs
diff --git
a/priv/repo/migrations/20211126191138_add_suggestions.exs
b/priv/repo/migrations/20211126191138_add_suggestions.exs
index 5ad604e9da35e9bc7b787f3bc066c4c62a00ac41..7cc67d8ef2c54d9035e107cb2d90babdb487ce92 100644
(file)
--- a/
priv/repo/migrations/20211126191138_add_suggestions.exs
+++ b/
priv/repo/migrations/20211126191138_add_suggestions.exs
@@
-5,5
+5,7
@@
defmodule Pleroma.Repo.Migrations.AddSuggestions do
alter table(:users) do
add(:is_suggested, :boolean, default: false, null: false)
end
alter table(:users) do
add(:is_suggested, :boolean, default: false, null: false)
end
+
+ create_if_not_exists(index(:users, [:is_suggested]))
end
end
end
end