CC-3732: NationTalk Database upgrade fail, from 2.0.3 to 2.1.0
-fixed
This commit is contained in:
parent
81d7e0c80f
commit
80898ec898
181 changed files with 72643 additions and 58 deletions
|
@ -21,25 +21,7 @@ class AirtimeDatabaseUpgrade{
|
|||
/*
|
||||
* set values for playout_status in cc_schedule
|
||||
*/
|
||||
private static function task1() {
|
||||
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(__DIR__.'/../../../airtime_mvc/application'));
|
||||
|
||||
// Ensure library is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
get_include_path(),
|
||||
realpath(APPLICATION_PATH . '/../library')
|
||||
)));
|
||||
|
||||
//Propel classes.
|
||||
set_include_path(APPLICATION_PATH . '/models' . PATH_SEPARATOR . get_include_path());
|
||||
|
||||
//include_once APPLICATION_PATH."/configs/conf.php";
|
||||
include_once 'propel/runtime/lib/Propel.php';
|
||||
Propel::init(APPLICATION_PATH."/configs/airtime-conf-production.php");
|
||||
|
||||
private static function task1() {
|
||||
$con = Propel::getConnection(CcSchedulePeer::DATABASE_NAME);
|
||||
|
||||
$showInstances = CcShowInstancesQuery::create()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue