Once a default is set and a backfill applied via
bff7ff2e11
, we can help the planner a
bit by letting it know that values in this table are never NULL.
10 lines
151 B
Ruby
10 lines
151 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:strand) do
|
|
set_column_allow_null :lease, false
|
|
end
|
|
end
|
|
end
|