Dirty logging to DB
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
module RakeControl
|
||||
class Run
|
||||
include Mongoid::Document
|
||||
|
||||
field :name, type: String
|
||||
field :success, type: Boolean
|
||||
field :execution_time, type: Float
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
module RakeControl
|
||||
module Storage
|
||||
module Mongoid
|
||||
class Run
|
||||
include ::Mongoid::Document
|
||||
|
||||
field :name, type: String
|
||||
field :success, type: Boolean
|
||||
field :execution_time, type: Float
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user