mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-04 05:42:15 +08:00
Domain names should be case insensitive. Update tests to use differing case and make sure the tests still pass.
15 lines
249 B
Ruby
15 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
|