diff options
Diffstat (limited to 'db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb')
-rw-r--r-- | db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb b/db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb new file mode 100644 index 00000000000..51042995af0 --- /dev/null +++ b/db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class ChangeCodeSuggestionsDefaultFalseInNamespaceSettings < Gitlab::Database::Migration[2.1] + def change + change_column_default :namespace_settings, :code_suggestions, from: true, to: false + end +end |