diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-17 00:29:57 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-17 00:29:57 +0300 |
commit | 899da2d359848b005984373052b2e697fd5d10f2 (patch) | |
tree | b4b93613f08ed28f8c954b2517742e8d71029ed7 /db/post_migrate/20231115151449_update_pages_deployments_upload_ready_default_value.rb | |
parent | 6d558d71eba0e5c8025e2a093ce8d144b1fdd4cf (diff) |
Add latest changes from gitlab-org/gitlab@16-6-stable-ee
Diffstat (limited to 'db/post_migrate/20231115151449_update_pages_deployments_upload_ready_default_value.rb')
-rw-r--r-- | db/post_migrate/20231115151449_update_pages_deployments_upload_ready_default_value.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/post_migrate/20231115151449_update_pages_deployments_upload_ready_default_value.rb b/db/post_migrate/20231115151449_update_pages_deployments_upload_ready_default_value.rb new file mode 100644 index 00000000000..9ab44611499 --- /dev/null +++ b/db/post_migrate/20231115151449_update_pages_deployments_upload_ready_default_value.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +class UpdatePagesDeploymentsUploadReadyDefaultValue < Gitlab::Database::Migration[2.2] + milestone '16.7' + enable_lock_retries! + + def up + change_column_default :pages_deployments, :upload_ready, from: true, to: false + end + + def down + change_column_default :pages_deployments, :upload_ready, from: false, to: true + end +end |