summaryrefslogtreecommitdiff
path: root/db/post_migrate/20230512143000_remove_dependency_list_exports_project_id_not_null_constraint.rb
blob: d7077e9dfdd13e9432038447b0947b2537d6ba06 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class RemoveDependencyListExportsProjectIdNotNullConstraint < Gitlab::Database::Migration[2.1]
  def up
    change_column_null :dependency_list_exports, :project_id, true
  end

  def down
    # no-op as there can be null values after the migration
  end
end