FOSSology  4.4.0
Open Source License Compliance by Open Source Software
dbmigrate_4.0-4.1.php File Reference

Migrate DB from release 4.0.0 to 4.1.0. More...

Go to the source code of this file.

Functions

 checkMigrate4041Required ($dbManager)
 
 fixEmptyContentHash ($dbManager)
 
 Migrate_40_41 ($dbManager)
 

Variables

const PROCESS_TABLES
 
 $GLOBALS ['MIG_4041_TOTAL_RECORDS'] = 0
 

Detailed Description

Migrate DB from release 4.0.0 to 4.1.0.

Definition in file dbmigrate_4.0-4.1.php.

Function Documentation

◆ checkMigrate4041Required()

checkMigrate4041Required (   $dbManager)

Check if migration is required.

Parameters
DbManager$dbManager
Returns
boolean True if migration is required, false otherwise

Definition at line 42 of file dbmigrate_4.0-4.1.php.

◆ fixEmptyContentHash()

fixEmptyContentHash (   $dbManager)

Start the recoding process

Parameters
DbManager$dbManager
Returns
number Return code

Definition at line 80 of file dbmigrate_4.0-4.1.php.

◆ Migrate_40_41()

Migrate_40_41 (   $dbManager)

Migration from FOSSology 4.0.0 to 4.1.0

Parameters
DbManager$dbManager

Definition at line 106 of file dbmigrate_4.0-4.1.php.

Variable Documentation

◆ PROCESS_TABLES

array PROCESS_TABLES
Initial value:
= array(
"copyright",
"author",
"ecc",
"keyword",
"copyright_event",
"author_event",
"ecc_event",
"keyword_event"
)

Tables which needs to be processed

Definition at line 20 of file dbmigrate_4.0-4.1.php.