mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
11 lines
257 B
Elixir
11 lines
257 B
Elixir
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
|