defmodule OhMyExOhIrcd.Repo.Migrations.AddIsOperToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add :is_oper, :boolean, default: false, null: false
end
create index(:users, [:is_oper], where: "is_oper = true")
end
end
neiam
/oh-my-ex-oh-ircd
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
263 B · text
History
4b6fe3b