diff --git a/jobs/cloud_controller_ng/spec b/jobs/cloud_controller_ng/spec index 7d2a536b66..361f8f3cda 100644 --- a/jobs/cloud_controller_ng/spec +++ b/jobs/cloud_controller_ng/spec @@ -729,6 +729,9 @@ properties: default: 1800 ccdb.migration_psql_worker_memory_kb: description: "Allows operators to set the worker memory for PostgreSQL database migrations" + ccdb.skip_bigint_id_migration: + description: "Optionally opt-out of the id (primary key) migration from int to bigint. This must be set before any migration steps have started, otherwise it has no effect." + default: false ccdb.connection_expiration_timeout: description: "The period in seconds after which connections are expired (omit to never expire connections), passed directly to the Sequel gem - see https://sequel.jeremyevans.net/rdoc-plugins/files/lib/sequel/extensions/connection_expiration_rb.html for details" ccdb.connection_expiration_random_delay: diff --git a/jobs/cloud_controller_ng/templates/cloud_controller_ng.yml.erb b/jobs/cloud_controller_ng/templates/cloud_controller_ng.yml.erb index a221f15cfc..f8e9fb991e 100644 --- a/jobs/cloud_controller_ng/templates/cloud_controller_ng.yml.erb +++ b/jobs/cloud_controller_ng/templates/cloud_controller_ng.yml.erb @@ -246,6 +246,7 @@ db: &db max_migration_duration_in_minutes: <%= p("ccdb.max_migration_duration_in_minutes") %> max_migration_statement_runtime_in_seconds: <%= p("ccdb.max_migration_statement_runtime_in_seconds") %> migration_psql_concurrent_statement_timeout_in_seconds: <%= p("ccdb.migration_psql_concurrent_statement_timeout_in_seconds") %> +skip_bigint_id_migration: <%= p("ccdb.skip_bigint_id_migration") %> login: url: <%= p("login.enabled") ? login_url : uaa_url %> uaa: