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