akkoma/priv/repo/migrations/20240213120000_add_permit_followback.exs
Oneric 376f6b15ca
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
Add ability to auto-approve followbacks
Resolves: #148
2024-02-13 15:42:37 +01:00

9 lines
209 B
Elixir

defmodule Pleroma.Repo.Migrations.AddPermitFollowback do
use Ecto.Migration
def change do
alter table(:users) do
add(:permit_followback, :boolean, null: false, default: false)
end
end
end