FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
This file is called by fossinit.php to migrate from a 2.0 database to 2.1. More...
Go to the source code of this file.
Functions | |
Migrate_20_21 ($DryRun) | |
Migrate to the uploadtree_a table. More... | |
RunSQL ($sql, $DryRun) | |
Run a SQL query and return the result array. More... | |
This file is called by fossinit.php to migrate from a 2.0 database to 2.1.
This should be called after fossinit calls apply_schema.
Definition in file dbmigrate_2.0-2.1.php.
Migrate_20_21 | ( | $DryRun | ) |
Migrate to the uploadtree_a table.
boolean | $DryRun | Do not create the table, just print the sql. |
on fedora 18, the column name is 'exist', on other distritution, it is '?column?'
Definition at line 24 of file dbmigrate_2.0-2.1.php.
RunSQL | ( | $sql, | |
$DryRun | |||
) |
Run a SQL query and return the result array.
string | $sql | The SQL query to be executed |
boolean | $DryRun | Do not create the table, just print the sql. |
Definition at line 92 of file dbmigrate_2.0-2.1.php.