Files
ubicloud/migrate/20250715_locked_domain_citext.rb
Jeremy Evans a3ca13f2db Make locked_domain.domain column citext instead of text
Domain names should be case insensitive. Update tests to use differing
case and make sure the tests still pass.
2025-07-17 00:44:40 +09:00

16 lines
249 B
Ruby

# frozen_string_literal: true
Sequel.migration do
up do
alter_table(:locked_domain) do
set_column_type :domain, :citext
end
end
down do
alter_table(:locked_domain) do
set_column_type :domain, String
end
end
end