summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/29220116183110_add_birth_date_to_users.exs
blob: be0ed2bbcd9eacc2a08f5e88a30c83e6517a76d2 (plain)
1
2
3
4
5
6
7
8
9
10
defmodule Pleroma.Repo.Migrations.AddBirthDateToUsers do
  use Ecto.Migration

  def change do
    alter table(:users) do
      add_if_not_exists(:birthday, :date)
      add_if_not_exists(:hide_birthday, :boolean, default: false, null: false)
    end
  end
end