Ejemplo n.º 1
0
/**
 * 
 *
 */
function migrate_18_to_19(&$dbHandler, $tableSet)
{
    // Need To Add Some Feedback
    echo '<b><br>-------------------------------------<br>';
    echo 'Data Migration Process STARTED<br>';
    echo '-------------------------------------<br></b>';
    migrate_requirements($dbHandler, $tableSet);
    migrate_req_specs($dbHandler, $tableSet);
    migrate_testcases($dbHandler, $tableSet);
    migrate_project_options($dbHandler, $tableSet);
    migrate_user_assignments($dbHandler, $tableSet);
    migrate_cfield_links($dbHandler, $tableSet);
    if ($dbHandler->dbType == 'mssql') {
        echo "<b><br>**********************************************************************************<br>";
        echo "IMPORTANT NOTICE FOR MSSQL USERS<br>";
        echo "**********************************************************************************<br>";
        echo "Some updates to DB SCHEMA HAS TO BE DONE manually due to <br>";
        echo "MSSQL Restrictions<br>";
        echo "ALTER TABLE /*prefix*/requirements ALTER req_doc_id VARCHAR(64)<br>";
        echo "ALTER TABLE /*prefix*/custom_fields ALTER COLUMN possible_values varchar(4000)<br>";
        echo "ALTER TABLE /*prefix*/custom_fields ALTER COLUMN default_value varchar(4000)<br>";
        echo "**********************************************************************************<br></b>";
    }
    echo '<br>-------------------------------------<br>';
    echo 'Data Migration Process Finished<br>';
    echo '-------------------------------------<br><br><br>';
}
Ejemplo n.º 2
0
function migrate_18_to_19(&$dbHandler, $tableSet)
{
    migrate_requirements($dbHandler, $tableSet);
    migrate_req_specs($dbHandler, $tableSet);
    migrate_testcases($dbHandler, $tableSet);
    migrate_project_options($dbHandler, $tableSet);
    migrate_user_assignments($dbHandler, $tableSet);
}