FOSSology  4.7.1
Open Source License Compliance by Open Source Software
dbmigrate_kotoba_candidate_licenses.php File Reference

Drop the FK on custom_phrase_license_map.rf_fk so kotoba phrases can reference candidate licenses, not just license_ref. More...

Go to the source code of this file.

Functions

 Kotoba_candidate_license_migration ()
 

Detailed Description

Drop the FK on custom_phrase_license_map.rf_fk so kotoba phrases can reference candidate licenses, not just license_ref.

Removing the CONSTRAINT entry from core-schema.dat only affects fresh installs; libschema.php::dropConstraints() never drops a constraint whose name is absent from the target schema, so existing databases keep the FK unless it is dropped explicitly here.

Definition in file dbmigrate_kotoba_candidate_licenses.php.

Function Documentation

◆ Kotoba_candidate_license_migration()

Kotoba_candidate_license_migration ( )

Drop custom_phrase_license_map_rf_fk_fkey if it still exists.

Definition at line 22 of file dbmigrate_kotoba_candidate_licenses.php.