10 lines
197 B
Elixir
10 lines
197 B
Elixir
|
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
|