Files
ubicloud/migrate/20230810_add_last_rekey_time.rb
Furkan Sahin 9e01c36ffd Auto rekeys every 24 hours
We start to rekey the whole mesh every 24 hour automatically.
2023-08-17 09:42:21 +02:00

10 lines
206 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:private_subnet) do
add_column :last_rekey_at, :timestamptz, null: false, default: Sequel.lit("now()")
end
end
end