Merge branch 'v2-suggestions' into 'develop'
V2 suggestions See merge request pleroma/pleroma!3547
This commit is contained in:
commit
bd853199d9
20 changed files with 510 additions and 5 deletions
11
priv/repo/migrations/20211126191138_add_suggestions.exs
Normal file
11
priv/repo/migrations/20211126191138_add_suggestions.exs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddSuggestions do
|
||||
use Ecto.Migration
|
||||
|
||||
def change 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…
Add table
Add a link
Reference in a new issue