Skip to content

Add custom software licenses table

Marcos Rocha requested to merge mc_rocha-add-custom-licenses-table-441078 into master

What does this MR do and why?

This MR adds a new table custom_software_licenses to store the software licenses that are not part of the SPDX. These licenses will be used by security policies.

Related to: #441078

Migration up

main: == [advisory_lock_connection] object_id: 124520, pg_backend_pid: 1758
main: == 20240429182325 CreateCustomSoftwareLicensesTable: migrating ================
main: -- create_table(:custom_software_licenses)
main: -- quote_column_name(:name)
main:    -> 0.0000s
main:    -> 0.0198s
main: == 20240429182325 CreateCustomSoftwareLicensesTable: migrated (0.0432s) =======

Migration down

main: == [advisory_lock_connection] object_id: 124120, pg_backend_pid: 77120
main: == 20240429182325 CreateCustomSoftwareLicensesTable: reverting ================
main: -- drop_table(:custom_software_licenses)
main:    -> 0.0112s
main: == 20240429182325 CreateCustomSoftwareLicensesTable: reverted (0.0188s) =======

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Marcos Rocha

Merge request reports