Stud.IP
4.2 Revision
|
Variables | |
if(empty($_SESSION['_language'])) | $_language_path = init_i18n($_SESSION['_language']) |
$path = $GLOBALS['STUDIP_BASE_PATH'].'/db/migrations' | |
$verbose = true | |
$target = NULL | |
$lock = new FileLock('web-migrate') | |
if($lock->isLocked() &&Request::int('release_lock')) if(Request::int('target')) | $version = new DBSchemaVersion('studip') |
$migrator = new Migrator($path, $version, $verbose) | |
if(Request::submitted('start')) | $current = $version->get() |
$migrations = $migrator->relevant_migrations($target) | |
$template = $template_factory->open('web_migrate') | |
if (Request::submitted( 'start')) $current = $version->get() |
$lock = new FileLock('web-migrate') |
$migrations = $migrator->relevant_migrations($target) |
$migrator = new Migrator($path, $version, $verbose) |
$path = $GLOBALS['STUDIP_BASE_PATH'].'/db/migrations' |
$target = NULL |
$template = $template_factory->open('web_migrate') |
$verbose = true |
if ( $lock->isLocked() &&Request::int( 'release_lock')) if (Request::int( 'target')) $version = new DBSchemaVersion('studip') |