wiki/priv/repo/migrations/20210410184709_users_add_is...

10 lines
179 B
Elixir

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