diff options
Diffstat (limited to 'db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb')
-rw-r--r-- | db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb b/db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb new file mode 100644 index 00000000000..a35effe0bb7 --- /dev/null +++ b/db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class AddDefaultBranchProtectionsJsonToNamespaceSettings < Gitlab::Database::Migration[2.1] + def change + add_column :namespace_settings, :default_branch_protection_defaults, :jsonb, null: false, default: {} + end +end |