diff options
Diffstat (limited to 'app/models/deployment.rb')
-rw-r--r-- | app/models/deployment.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/deployment.rb b/app/models/deployment.rb index eecb927ad01..9cea601f4bf 100644 --- a/app/models/deployment.rb +++ b/app/models/deployment.rb @@ -47,6 +47,12 @@ class Deployment < ActiveRecord::Base end end + enum_with_nil action: { + unknown_action: nil, + start: 1, + stop: 2 + } + enum status: { created: 0, running: 1, |