Files
ubicloud/migrate/20250708_locked_domain.rb
Jeremy Evans 18735bf8f7 Add migration for locked_domain
If a domain is locked, the only authentication allowed for accounts
using that domain is through the referenced oidc provider.
2025-07-16 08:06:32 +09:00

11 lines
243 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
create_table(:locked_domain) do
column :domain, String, primary_key: true
foreign_key :oidc_provider_id, :oidc_provider, type: :uuid, null: false
end
end
end