blob: d03f68e22ab72c0da4a3066f556cb90e6d757b93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class AllowNullFileMd5ToDebianProjectComponentFiles < Gitlab::Database::Migration[2.1]
def up
change_column_null :packages_debian_project_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
|