12 lines
320 B
Ruby
12 lines
320 B
Ruby
# 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
|