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

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

class AllowNullFileMd5ToDebianGroupComponentFiles < Gitlab::Database::Migration[2.1]
  def up
    change_column_null :packages_debian_group_component_files, :file_md5, true
  end

  def down
    # There may now be nulls in the table, so we cannot re-add the constraint here.
  end
end