summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/29220116183110_add_birth_date_to_users.exs
blob: 57fedaee2d0b0a0bf4ee3ea9997765320f6d8973 (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(:show_birthday, :boolean, default: false, null: false)
    end
  end
end