akkoma/priv/repo/migrations/20230504173400_remove_user_ap_enabled.exs
Haelwenn (lanodan) Monnier fcd49e3985 User: Remove ap_enabled field
2023-05-05 11:11:26 +02:00

13 lines
364 B
Elixir

# Pleroma: A lightweight social networking server
# Copyright © 2017-2023 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Repo.Migrations.RemoveUserApEnabled do
use Ecto.Migration
def change do
alter table(:users) do
remove(:ap_enabled, :boolean, default: false, null: false)
end
end
end