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
10 lines
147 B
Ruby
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
|