diff --git a/db/post_migrate/20241012062309_remove_runners_registration_token_from_application_settings.rb b/db/post_migrate/20241012062309_remove_runners_registration_token_from_application_settings.rb new file mode 100644 index 0000000000000000000000000000000000000000..52ad81c610b50b5f78a0dd1dc763ae4f97006535 --- /dev/null +++ b/db/post_migrate/20241012062309_remove_runners_registration_token_from_application_settings.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class RemoveRunnersRegistrationTokenFromApplicationSettings < Gitlab::Database::Migration[2.2] + milestone '17.6' + + def up + remove_column :application_settings, :runners_registration_token + end + + def down + add_column :application_settings, :runners_registration_token, :string + end +end diff --git a/db/schema_migrations/20241012062309 b/db/schema_migrations/20241012062309 new file mode 100644 index 0000000000000000000000000000000000000000..730011bd6c8d1a589e4b19042ef976234fe43e7c --- /dev/null +++ b/db/schema_migrations/20241012062309 @@ -0,0 +1 @@ +e7b455f1588ee206f951b5b9dfe6772d974d7bcf2e1658052a6599f880948a65 \ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index f6b02a01e46219f59ef0931e66016cb10eeceafd..4f063be3881e320b4fafb217faefedb80c85355b 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -6078,7 +6078,6 @@ CREATE TABLE application_settings ( require_admin_two_factor_authentication boolean DEFAULT false NOT NULL, shared_runners_enabled boolean DEFAULT true NOT NULL, max_artifacts_size integer DEFAULT 100 NOT NULL, - runners_registration_token character varying, max_pages_size integer DEFAULT 100 NOT NULL, require_two_factor_authentication boolean DEFAULT false, two_factor_grace_period integer DEFAULT 48,