FOSSology  4.4.0
Open Source License Compliance by Open Source Software
dbmigrate_copyright-event.php File Reference

Migrate DB for copyrights. More...

Go to the source code of this file.

Functions

 insertDataInToEventTables ($dbManager)
 
 checkIfMigratePossible ($dbManager)
 
 createCopyrightMigrationForCopyrightEvents ($dbManager)
 

Variables

const MAX_SIZE_OF_ROW = 100000
 
const TABLE_NAMES
 

Detailed Description

Migrate DB for copyrights.

Definition in file dbmigrate_copyright-event.php.

Function Documentation

◆ checkIfMigratePossible()

checkIfMigratePossible (   $dbManager)

Check if migration is Possible.

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

Definition at line 112 of file dbmigrate_copyright-event.php.

◆ createCopyrightMigrationForCopyrightEvents()

createCopyrightMigrationForCopyrightEvents (   $dbManager)
Parameters
DbManager$dbManager

Definition at line 140 of file dbmigrate_copyright-event.php.

◆ insertDataInToEventTables()

insertDataInToEventTables (   $dbManager)

Update the copyright_event table

Parameters
DbManager$dbManager
Returns
int Count of updated rows

Definition at line 38 of file dbmigrate_copyright-event.php.

Variable Documentation

◆ TABLE_NAMES

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

Tables with is_enabled data

Definition at line 26 of file dbmigrate_copyright-event.php.