FOSSology
4.7.1
Open Source License Compliance by Open Source Software
dbmigrate_kotoba_candidate_licenses.php
Go to the documentation of this file.
1
<?php
2
/*
3
SPDX-FileCopyrightText: © 2026 Fossology contributors
4
5
SPDX-License-Identifier: GPL-2.0-only
6
*/
7
22
function
Kotoba_candidate_license_migration
(): void
23
{
24
global
$PG_CONN
;
25
26
$sql =
"ALTER TABLE \"custom_phrase_license_map\" "
27
.
"DROP CONSTRAINT IF EXISTS \"custom_phrase_license_map_rf_fk_fkey\";"
;
28
$result = pg_query(
$PG_CONN
, $sql);
29
DBCheckResult
($result, $sql, __FILE__, __LINE__);
30
pg_free_result($result);
31
}
DBCheckResult
DBCheckResult($result, $sql, $filenm, $lineno)
Check the postgres result for unexpected errors. If found, treat them as fatal.
Definition:
common-db.php:189
Kotoba_candidate_license_migration
Kotoba_candidate_license_migration()
Definition:
dbmigrate_kotoba_candidate_licenses.php:22
$PG_CONN
foreach($Options as $Option=> $OptVal) if(0==$reference_flag &&0==$nomos_flag) $PG_CONN
Definition:
list_license.php:50
install
db
dbmigrate_kotoba_candidate_licenses.php
Generated on Fri Aug 28 2026 05:17:07 for FOSSology by
1.9.1