summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-06-07 14:55:19 +0200
committerMatija Čupić <matteeyah@gmail.com>2018-06-07 14:55:19 +0200
commite68b541aa4657eab5d6a3f059655d56a958647a9 (patch)
tree815559b6331e3acfcb9bde57ab606aee9b694930 /db
parent0cb4bb1af8fb5b5c71a9b547114563ccec355979 (diff)
downloadgitlab-ce-e68b541aa4657eab5d6a3f059655d56a958647a9.tar.gz
Change database deploy strategy default to continuous
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb b/db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb
index 6f50d428965..0f6bd0dd581 100644
--- a/db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb
+++ b/db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb
@@ -10,7 +10,7 @@ class AddDeployStrategyToProjectAutoDevops < ActiveRecord::Migration
disable_ddl_transaction!
def up
- add_column_with_default :project_auto_devops, :deploy_strategy, :integer, default: 0, allow_null: false
+ add_column_with_default :project_auto_devops, :deploy_strategy, :integer, default: 1, allow_null: false
end
def down