Fix typos

pull/446/head
Connor Rigby 2018-02-02 09:54:12 -08:00 committed by Connor Rigby
parent a9990a5df7
commit 156e327b5f
3 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ defmodule Farmbot.System.ConfigStorage.NetworkInterface do
field(:security, :string)
field(:ipv4_method, :string)
field(:migrated, :bool)
field(:migrated, :boolean)
end
@required_fields [:name, :type]

View File

@ -2,7 +2,7 @@ defmodule Farmbot.Target.Network do
@moduledoc "Bring up network."
@behaviour Farmbot.System.Init
alias Farmbot.System.ConfigStorage
alias Farmbot.System.GlobalConfig
alias GlobalConfig.NetworkInterface
alias Farmbot.Target.Network.Manager, as: NetworkManager
use Supervisor

View File

@ -2,8 +2,8 @@ defmodule Farmbot.System.ConfigStorage.Migrations.AddNetworkInterfaceDeprication
use Ecto.Migration
def change do
change table(:network_interface) do
add(:migrated, :bool)
alter table(:network_interface) do
add(:migrated, :boolean)
end
end
end