Skip to content
Snippets Groups Projects
Commit bb62485a authored by George Koltsov's avatar George Koltsov :two:
Browse files

Merge branch 'carlad/project_import_default_value' into 'master'

Update default for project_import_level

See merge request !92432
parents d91ede30 3c103b2c
No related branches found
No related tags found
1 merge request!92432Update default for project_import_level
Pipeline #588893959 passed
# frozen_string_literal: true
class UpdateDefaultProjectImportLevelOnNamespaceSettings < Gitlab::Database::Migration[2.0]
enable_lock_retries!
def up
change_column :namespace_settings, :project_import_level, :smallint, default: 50, null: false
end
def down
change_column :namespace_settings, :project_import_level, :smallint, default: 0, null: false
end
end
c452f7dc9a76b6daa7ced88f2ed93332a84bfcb94a7e94f31149e43b888e210f
\ No newline at end of file
......@@ -17549,7 +17549,7 @@ CREATE TABLE namespace_settings (
enabled_git_access_protocol smallint DEFAULT 0 NOT NULL,
unique_project_download_limit smallint DEFAULT 0 NOT NULL,
unique_project_download_limit_interval_in_seconds integer DEFAULT 0 NOT NULL,
project_import_level smallint DEFAULT 0 NOT NULL,
project_import_level smallint DEFAULT 50 NOT NULL,
include_for_free_user_cap_preview boolean DEFAULT false NOT NULL,
CONSTRAINT check_0ba93c78c7 CHECK ((char_length(default_branch_name) <= 255))
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment