CC-3683: Upgraded database not equivalent to fresh install database part 1
-hide useless "NOTICE" statements
This commit is contained in:
parent
9324d5d24a
commit
d80dece0bc
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class AirtimeDatabaseUpgrade{
|
||||||
$database = $p_dbValues['database']['dbname'];
|
$database = $p_dbValues['database']['dbname'];
|
||||||
$dir = __DIR__;
|
$dir = __DIR__;
|
||||||
|
|
||||||
passthru("export PGPASSWORD=$password && psql -h $host -U $username -f $dir/data/upgrade.sql $database > /dev/null");
|
passthru("export PGPASSWORD=$password && psql -h $host -U $username -f $dir/data/upgrade.sql $database > /dev/null | grep -v \"will create implicit index\"");
|
||||||
|
|
||||||
$sql = "INSERT INTO cc_pref(\"keystr\", \"valstr\") VALUES('scheduled_play_switch', 'on')";
|
$sql = "INSERT INTO cc_pref(\"keystr\", \"valstr\") VALUES('scheduled_play_switch', 'on')";
|
||||||
UpgradeCommon::queryDb($sql);
|
UpgradeCommon::queryDb($sql);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue