CC-3015: Upgrade: upgrade fails
-fixed
This commit is contained in:
parent
b99d0f97ce
commit
6741adebef
6 changed files with 50 additions and 9 deletions
|
@ -18,11 +18,9 @@
|
|||
const VERSION_NUMBER = "2.0";
|
||||
|
||||
set_include_path(__DIR__.'/../../../airtime_mvc/library' . PATH_SEPARATOR . get_include_path());
|
||||
set_include_path(__DIR__.'/../../../airtime_mvc/library/pear' . PATH_SEPARATOR . get_include_path());
|
||||
set_include_path(__DIR__.'/../../../airtime_mvc/application/models' . PATH_SEPARATOR . get_include_path());
|
||||
set_include_path(__DIR__.'/../../../airtime_mvc/application/configs' . PATH_SEPARATOR . get_include_path());
|
||||
require_once 'conf.php';
|
||||
require_once 'DB.php';
|
||||
require_once 'propel/runtime/lib/Propel.php';
|
||||
Propel::init(__DIR__."/../../../airtime_mvc/application/configs/airtime-conf.php");
|
||||
|
||||
|
@ -34,6 +32,8 @@ require_once 'UpgradeCommon.php';
|
|||
class AirtimeDatabaseUpgrade{
|
||||
|
||||
public static function start(){
|
||||
self::doDbMigration();
|
||||
|
||||
self::SetDefaultTimezone();
|
||||
self::setPhpDefaultTimeZoneToSystemTimezone();
|
||||
self::convert_cc_playlist();
|
||||
|
@ -41,7 +41,6 @@ class AirtimeDatabaseUpgrade{
|
|||
self::convert_cc_show_days();
|
||||
self::convert_cc_show_instances();
|
||||
|
||||
self::doDbMigration();
|
||||
self::SetDefaultStreamSetting();
|
||||
self::GetOldLiquidsoapCfgAndUpdate();
|
||||
}
|
||||
|
@ -144,7 +143,7 @@ class AirtimeDatabaseUpgrade{
|
|||
}
|
||||
}
|
||||
|
||||
UpgradeCommon::MigrateTablesToVersion(__DIR__, '20110929184401');
|
||||
UpgradeCommon::MigrateTablesToVersion(__DIR__, '20111103141311');
|
||||
}
|
||||
|
||||
private static function SetDefaultStreamSetting()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue