Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20190913174707_add_spdx_id_to_software_licenses.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 66cd450895c6b111b0ca7248710114c513cafde8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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