Files
ubicloud/migrate/20250402_zstrand_lease_not_null.rb
Daniel Farina b486a9c520 Set strand.lease to be a NOT NULL column
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.
2025-04-08 10:35:49 -07:00

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