gitlab-org--gitlab-foss/db/migrate/20190913174707_add_spdx_id_...

14 lines
281 B
Ruby

# frozen_string_literal: true
class AddSpdxIdToSoftwareLicenses < ActiveRecord::Migration[5.2]
DOWNTIME = false
def up
add_column :software_licenses, :spdx_identifier, :string, limit: 255
end
def down
remove_column :software_licenses, :spdx_identifier
end
end