Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20230530115830_remove_default_on_organization_path.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 82c71d5fef35f4f59d8084aeca197b55cc1ac941 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class RemoveDefaultOnOrganizationPath < Gitlab::Database::Migration[2.1]
  def up
    change_column_default :organizations, :path, nil
  end

  def down
    change_column_default :organizations, :path, ''
  end
end