Make more models (re-)seedable.
This commit is contained in:
parent
1425be7335
commit
e4de5bb988
3 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
class Macro < ApplicationModel
|
class Macro < ApplicationModel
|
||||||
include ChecksClientNotification
|
include ChecksClientNotification
|
||||||
include ChecksLatestChangeObserved
|
include ChecksLatestChangeObserved
|
||||||
|
include CanSeed
|
||||||
|
|
||||||
store :perform
|
store :perform
|
||||||
validates :name, presence: true
|
validates :name, presence: true
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
class ObjectManager::Attribute < ApplicationModel
|
class ObjectManager::Attribute < ApplicationModel
|
||||||
include ChecksClientNotification
|
include ChecksClientNotification
|
||||||
|
include CanSeed
|
||||||
|
|
||||||
self.table_name = 'object_manager_attributes'
|
self.table_name = 'object_manager_attributes'
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
class Trigger < ApplicationModel
|
class Trigger < ApplicationModel
|
||||||
include ChecksConditionValidation
|
include ChecksConditionValidation
|
||||||
|
include CanSeed
|
||||||
|
|
||||||
store :condition
|
store :condition
|
||||||
store :perform
|
store :perform
|
||||||
|
|
Loading…
Reference in a new issue