debian-mirror-gitlab/db/migrate/20190913174707_add_spdx_id_to_software_licenses.rb
2019-12-21 20:55:43 +05:30

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