Skip to content

Commit

Permalink
Comment out recalculation_type (#1901)
Browse files Browse the repository at this point in the history
We will remove this from the DB schema in March
  • Loading branch information
joshk authored Feb 13, 2025
1 parent d49be06 commit 3bd72b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/nerves_hub/deployments/deployment.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ defmodule NervesHub.Deployments.Deployment do
:penalty_timeout_minutes,
:connecting_code,
:total_updating_devices,
:current_updated_devices,
:recalculation_type
:current_updated_devices
]

schema "deployments" do
Expand Down Expand Up @@ -68,8 +67,9 @@ 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)

# TODO: (nshoes) this column is unused, remove after 1st March
# field(:recalculation_type, Ecto.Enum, values: [:device, :calculator_queue], default: :device)

field(:device_count, :integer, virtual: true)

Expand Down

0 comments on commit 3bd72b5

Please sign in to comment.