Files
ubicloud/migrate/20230914_add_exponential_backoff.rb
Daniel Farina f04bd14479 Add exponential backoff migration
In order for strands to compute their backoff, they need to store how
many tries have been attempt without successful termination.  This
patch adds the column to store this.
2023-09-15 08:56:37 -07:00

10 lines
164 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table :strand do
add_column :try, Integer, default: 0, null: false
end
end
end