Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-22 03:10:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-22 03:10:34 +0300
commit0e6d9b66698db1e2e14e784fa9c601922e3f1a2c (patch)
treede82b854f1af5218d4ce0e880d119b7032541111 /db
parent6333a892f50d882f007497fd5512a740ba1020e5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20230718111807_add_column_forward_deployment_rollback_allowed_to_ci_cd_setting.rb13
-rw-r--r--db/schema_migrations/202307181118071
-rw-r--r--db/structure.sql3
3 files changed, 16 insertions, 1 deletions
diff --git a/db/migrate/20230718111807_add_column_forward_deployment_rollback_allowed_to_ci_cd_setting.rb b/db/migrate/20230718111807_add_column_forward_deployment_rollback_allowed_to_ci_cd_setting.rb
new file mode 100644
index 00000000000..cfa442f4861
--- /dev/null
+++ b/db/migrate/20230718111807_add_column_forward_deployment_rollback_allowed_to_ci_cd_setting.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+class AddColumnForwardDeploymentRollbackAllowedToCiCdSetting < Gitlab::Database::Migration[2.1]
+ enable_lock_retries!
+
+ def up
+ add_column :project_ci_cd_settings, :forward_deployment_rollback_allowed, :boolean, default: true, null: false
+ end
+
+ def down
+ remove_column :project_ci_cd_settings, :forward_deployment_rollback_allowed
+ end
+end
diff --git a/db/schema_migrations/20230718111807 b/db/schema_migrations/20230718111807
new file mode 100644
index 00000000000..1c0f9dc33bf
--- /dev/null
+++ b/db/schema_migrations/20230718111807
@@ -0,0 +1 @@
+f4a6e21dcacd272de19ee33d4a47c522c819ab867523150b7e4687cfc0af574e \ No newline at end of file
diff --git a/db/structure.sql b/db/structure.sql
index 93d4451dab7..53a027cb5b5 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -20960,7 +20960,8 @@ CREATE TABLE project_ci_cd_settings (
runner_token_expiration_interval integer,
separated_caches boolean DEFAULT true NOT NULL,
allow_fork_pipelines_to_run_in_parent_project boolean DEFAULT true NOT NULL,
- inbound_job_token_scope_enabled boolean DEFAULT true NOT NULL
+ inbound_job_token_scope_enabled boolean DEFAULT true NOT NULL,
+ forward_deployment_rollback_allowed boolean DEFAULT true NOT NULL
);
CREATE SEQUENCE project_ci_cd_settings_id_seq