CC-3263: Add an "Upgrading database, may take several minutes, please wait"
-done
This commit is contained in:
parent
1b3433e7a8
commit
deceb56f70
2 changed files with 4 additions and 0 deletions
|
@ -99,6 +99,8 @@ class AirtimeInstall{
|
|||
|
||||
public static function MigrateTablesToVersion($dir, $version)
|
||||
{
|
||||
echo "Upgrading database, may take several minutes, please wait".PHP_EOL;
|
||||
|
||||
$appDir = AirtimeInstall::GetAirtimeSrcDir();
|
||||
$SCRIPTPATH = __DIR__;
|
||||
$command = "php --php-ini $SCRIPTPATH/../../airtime-php.ini ".
|
||||
|
|
|
@ -56,6 +56,8 @@ class UpgradeCommon{
|
|||
|
||||
public static function MigrateTablesToVersion($dir, $version)
|
||||
{
|
||||
echo "Upgrading database, may take several minutes, please wait".PHP_EOL;
|
||||
|
||||
$appDir = self::GetAirtimeSrcDir();
|
||||
$command = "php --php-ini $dir/../../airtime-php.ini ".
|
||||
"$appDir/library/doctrine/migrations/doctrine-migrations.phar ".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue