comfycamp/priv/repo/migrations/20240728162610_add_is_admin_field.exs

10 lines
197 B
Elixir
Raw Normal View History

defmodule Comfycamp.Repo.Migrations.AddIsAdminField do
use Ecto.Migration
def change do
alter table(:users) do
add :is_admin, :boolean, null: false, default: false
end
end
end