Fixes `Unknown syncable: Elixir.Farmbot.Asset.Plant`

pull/785/head
Rick Carlino 2018-04-11 12:51:28 -05:00
parent 8bbd4ac3cf
commit 1c83a9f31f
2 changed files with 6 additions and 1 deletions

View File

@ -22,4 +22,9 @@ class Point < ApplicationRecord
def do_migrate
# ABSTRACT METHOD.
end
# Overridable
def name_used_when_syncing
"Point"
end
end

View File

@ -1,6 +1,6 @@
module Points
class Destroy < Mutations::Command
= "The sequence '%s' is still using the following points: %s"
STILL_IN_USE = "The sequence '%s' is still using the following points: %s"
required do
model :device, class: Device