Skip to content

Commit

Permalink
Fix rebase screwups
Browse files Browse the repository at this point in the history
  • Loading branch information
lawik committed Nov 19, 2024
1 parent fddca51 commit 0c37bb3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/nerves_hub/devices/device.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule NervesHub.Devices.Device do
alias NervesHub.Devices.DeviceCertificate
alias NervesHub.Devices.DeviceConnection
alias NervesHub.Deployments.Deployment
alias NervesHub.Extensions.ExtensionsSetting
alias NervesHub.Features.FeaturesSetting
alias NervesHub.Firmwares.FirmwareMetadata
alias NervesHub.Products.Product

Expand Down Expand Up @@ -72,10 +72,7 @@ defmodule NervesHub.Devices.Device do
field(:connection_established_at, :utc_datetime)
field(:connection_disconnected_at, :utc_datetime)
field(:connection_last_seen_at, :utc_datetime)
field(:connection_types, {:array, Ecto.Enum}, values: [:cellular, :ethernet, :wifi])
field(:connecting_code, :string)
field(:connection_metadata, :map, default: %{})
embeds_one(:extensions, ExtensionsSetting, on_replace: :update)
embeds_one(:extensions, FeaturesSetting)

timestamps()
end
Expand Down

0 comments on commit 0c37bb3

Please sign in to comment.