Commit 86044ba6 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch '273011-setting' into 'master'

Create new ApplicationSetting for Cloud License

See merge request gitlab-org/gitlab!47882
parents e344cdc2 2db62942
---
title: Add cloud_license_enabled column to application_settings
merge_request: 47882
author:
type: added
# frozen_string_literal: true
class AddCloudLicenseEnabledToSettings < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
add_column :application_settings, :cloud_license_enabled, :boolean, null: false, default: false
end
end
119afd73a58c247522446bc9693ece5c83a25c279e4dd7dfb942f7febd5b7a82
\ No newline at end of file
......@@ -9345,6 +9345,7 @@ CREATE TABLE application_settings (
encrypted_cloud_license_auth_token text,
encrypted_cloud_license_auth_token_iv text,
secret_detection_revocation_token_types_url text,
cloud_license_enabled boolean DEFAULT false NOT NULL,
CONSTRAINT app_settings_registry_exp_policies_worker_capacity_positive CHECK ((container_registry_expiration_policies_worker_capacity >= 0)),
CONSTRAINT check_2dba05b802 CHECK ((char_length(gitpod_url) <= 255)),
CONSTRAINT check_51700b31b5 CHECK ((char_length(default_branch_name) <= 255)),
......
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