mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-04 13:52:06 +08:00
This migration lifts the "no null values" restriction for the dns_zone_id column. That allows to create load balancer certificates without a dns zone, which is useful for testing and development.
9 lines
148 B
Ruby
9 lines
148 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:cert) do
|
|
set_column_allow_null :dns_zone_id
|
|
end
|
|
end
|
|
end
|