Files
ubicloud/migrate/20240731_firewall_location_not_null.rb
Burak Velioglu b78a2a362e Do not allow firewall location to be null
Preventing location column of firewall model to be null. It was
allowed with the previous commit to migrate existing firewalls. Note that
this commit will be deployed after deploying the previous commit and
migrating existing firewalls
2024-07-31 14:26:54 +03:00

10 lines
147 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:firewall) do
set_column_not_null :location
end
end
end