Current section
Files
Jump to
Current section
Files
priv/rivet/migrations/access/change_domain.exs
defmodule Rivet.Ident.Access.Migrations.ChangeDomain do
@moduledoc false
use Ecto.Migration
def change do
alter table(:ident_accesses) do
modify(:domain, :string, default: "global")
end
flush()
execute("update ident_accesses set domain = 'global' where domain = '0'")
end
end