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-04-14 18:15:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-14 18:15:22 +0300
commitcdb41961fd2bc233d36c5b30f89d087c2efa9818 (patch)
tree9903f8054fc1f8681c670984a680b768d139a251 /db
parent8a5138ed7d38ccff8b5ca2fe0f7bbb77f8fdaad3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb9
-rw-r--r--db/schema_migrations/202212291726041
-rw-r--r--db/structure.sql1
3 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb b/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb
new file mode 100644
index 00000000000..0e403dac24f
--- /dev/null
+++ b/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddRunnerRegistrationEnabledToProjectSettings < Gitlab::Database::Migration[2.1]
+ enable_lock_retries!
+
+ def change
+ add_column :project_settings, :runner_registration_enabled, :boolean, default: true
+ end
+end
diff --git a/db/schema_migrations/20221229172604 b/db/schema_migrations/20221229172604
new file mode 100644
index 00000000000..2cbbc50ea10
--- /dev/null
+++ b/db/schema_migrations/20221229172604
@@ -0,0 +1 @@
+8af1f290454aad1e131626a8dab575dfef11ae73581e57b7d7cb1b431fd06737 \ No newline at end of file
diff --git a/db/structure.sql b/db/structure.sql
index 600cac16e96..7eb0f3e75b8 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -21071,6 +21071,7 @@ CREATE TABLE project_settings (
emails_enabled boolean DEFAULT true NOT NULL,
pages_unique_domain_enabled boolean DEFAULT false NOT NULL,
pages_unique_domain text,
+ runner_registration_enabled boolean DEFAULT true,
CONSTRAINT check_1a30456322 CHECK ((char_length(pages_unique_domain) <= 63)),
CONSTRAINT check_2981f15877 CHECK ((char_length(jitsu_key) <= 100)),
CONSTRAINT check_3a03e7557a CHECK ((char_length(previous_default_branch) <= 4096)),