debian-mirror-gitlab/db/migrate/20210218142626_change_finding_fingerprint_enum.rb
2021-04-17 20:07:23 +05:30

15 lines
372 B
Ruby

# frozen_string_literal: true
class ChangeFindingFingerprintEnum < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
change_column :vulnerability_finding_fingerprints, :algorithm_type, :integer, limit: 2
end
def down
change_column :vulnerability_finding_fingerprints, :algorithm_type, :integer
end
end