Make deploy_strategy zero based
This commit is contained in:
parent
41c17bdb57
commit
9738b0a42b
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ class ProjectAutoDevops < ActiveRecord::Base
|
|||
belongs_to :project
|
||||
|
||||
enum deploy_strategy: {
|
||||
manual: 1,
|
||||
continuous: 2
|
||||
manual: 0,
|
||||
continuous: 1
|
||||
}
|
||||
|
||||
scope :enabled, -> { where(enabled: true) }
|
||||
|
|
Loading…
Reference in a new issue