mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
v2 Suggestions: add index on is_suggested column
This commit is contained in:
parent
6c0484d571
commit
da06e1a17f
1 changed files with 2 additions and 0 deletions
|
@ -5,5 +5,7 @@ defmodule Pleroma.Repo.Migrations.AddSuggestions do
|
|||
alter table(:users) do
|
||||
add(:is_suggested, :boolean, default: false, null: false)
|
||||
end
|
||||
|
||||
create_if_not_exists(index(:users, [:is_suggested]))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue