pleroma/priv/repo/migrations/29220116183110_add_birth_date_to_users.exs
2022-01-22 13:21:55 -06:00

11 lines
261 B
Elixir

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