summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20191025081729_add_move_support_to_users.exs
blob: 580b9eb0fb1b5c05713378f510071d14e576455d (plain)
1
2
3
4
5
6
7
8
9
10
defmodule Pleroma.Repo.Migrations.AddMoveSupportToUsers do
  use Ecto.Migration

  def change do
    alter table(:users) do
      add(:also_known_as, {:array, :string}, default: [], null: false)
      add(:allow_following_move, :boolean, default: true, null: false)
    end
  end
end