pleroma/priv/repo/migrations/29220116183110_add_birth_da...

11 lines
261 B
Elixir
Raw Normal View History

defmodule Pleroma.Repo.Migrations.AddBirthDateToUsers do
use Ecto.Migration
def change do
alter table(:users) do
2022-01-22 13:21:55 -06:00
add_if_not_exists(:birthday, :date)
add_if_not_exists(:hide_birthday, :boolean, default: false, null: false)
end
end
end