Commit 9738b0a4 authored by Matija Čupić's avatar Matija Čupić

Make deploy_strategy zero based

parent 41c17bdb
...@@ -2,8 +2,8 @@ class ProjectAutoDevops < ActiveRecord::Base ...@@ -2,8 +2,8 @@ class ProjectAutoDevops < ActiveRecord::Base
belongs_to :project belongs_to :project
enum deploy_strategy: { enum deploy_strategy: {
manual: 1, manual: 0,
continuous: 2 continuous: 1
} }
scope :enabled, -> { where(enabled: true) } scope :enabled, -> { where(enabled: true) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment