summaryrefslogtreecommitdiff
path: root/db/migrate/20220914174705_remove_not_null_constraint_from_sbom_source_fingerprint.rb
blob: 6e819b1cdefe27e1c1625214815259c579c2658d (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class RemoveNotNullConstraintFromSbomSourceFingerprint < Gitlab::Database::Migration[2.0]
  enable_lock_retries!

  def change
    change_column_null :sbom_sources, :fingerprint, true
  end
end