summaryrefslogtreecommitdiff
path: root/db/migrate/20190913174707_add_spdx_id_to_software_licenses.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190913174707_add_spdx_id_to_software_licenses.rb')
-rw-r--r--db/migrate/20190913174707_add_spdx_id_to_software_licenses.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20190913174707_add_spdx_id_to_software_licenses.rb b/db/migrate/20190913174707_add_spdx_id_to_software_licenses.rb
index 66cd450895c..46e1400c394 100644
--- a/db/migrate/20190913174707_add_spdx_id_to_software_licenses.rb
+++ b/db/migrate/20190913174707_add_spdx_id_to_software_licenses.rb
@@ -3,9 +3,11 @@
class AddSpdxIdToSoftwareLicenses < ActiveRecord::Migration[5.2]
DOWNTIME = false
+ # rubocop:disable Migration/PreventStrings
def up
add_column :software_licenses, :spdx_identifier, :string, limit: 255
end
+ # rubocop:enable Migration/PreventStrings
def down
remove_column :software_licenses, :spdx_identifier