Files
ubicloud/migrate/20250211_add_neg_ttl_to_dns_zone.rb
mohi-kalantari 9936b26c58 Add neg_ttl field to DnsZone table
Based on the DnsZone and the product it's serving, we needed different
neg_ttl value, so a new field is added storing the right value for it.
2025-02-12 15:25:36 +01:00

10 lines
174 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:dns_zone) do
add_column :neg_ttl, Integer, default: 3600, null: false
end
end
end