Merge pull request 'Add dark and light theme mode to docs, detection, and button...
[akkoma] / priv / repo / migrations / 20211126191138_add_suggestions.exs
1 defmodule Pleroma.Repo.Migrations.AddSuggestions do
2 use Ecto.Migration
3
4 def change do
5 alter table(:users) do
6 add(:is_suggested, :boolean, default: false, null: false)
7 end
8
9 create_if_not_exists(index(:users, [:is_suggested]))
10 end
11 end