FOSSology  4.7.0
Open Source License Compliance by Open Source Software
dbmigrate_licensedb_compatibility.php File Reference

Database schema changes to make license_ref table compatible to licenses imported from LicenseDB. More...

Go to the source code of this file.

Functions

 LicenseDB_compatibility_migration ()
 

Detailed Description

Database schema changes to make license_ref table compatible to licenses imported from LicenseDB.

  • removes the column rf_md5 and the unique constraint on it to allow duplicate licenses
  • a column rf_external_id for mapping fossology license entries to licensedb license entries for update/deletion etc will be added in core-schema.dat for full compatibility

Definition in file dbmigrate_licensedb_compatibility.php.

Function Documentation

◆ LicenseDB_compatibility_migration()

LicenseDB_compatibility_migration ( )

The migration function which should be called for all fossology releases above 4.6.0

Definition at line 26 of file dbmigrate_licensedb_compatibility.php.