Skip to content

Commit

Permalink
Save removing deployment.recalculation_type for later
Browse files Browse the repository at this point in the history
  • Loading branch information
nshoes committed Nov 26, 2024
1 parent 20972dc commit b68fd0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 4 additions & 1 deletion lib/nerves_hub/deployments/deployment.ex
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ defmodule NervesHub.Deployments.Deployment do
:penalty_timeout_minutes,
:connecting_code,
:total_updating_devices,
:current_updated_devices
:current_updated_devices,
:recalculation_type
]

schema "deployments" do
Expand All @@ -65,6 +66,8 @@ defmodule NervesHub.Deployments.Deployment do
field(:total_updating_devices, :integer, default: 0)
field(:current_updated_devices, :integer, default: 0)
field(:inflight_update_expiration_minutes, :integer, default: 60)
# TODO: (nshoes) this column is unused, remove after Managed Deploys is done
field(:recalculation_type, Ecto.Enum, values: [:device, :calculator_queue], default: :device)

timestamps()
end
Expand Down

This file was deleted.

0 comments on commit b68fd0f

Please sign in to comment.