Domain names should be case insensitive. Update tests to use differing case and make sure the tests still pass.
16 lines
249 B
Ruby
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
|