diff --git a/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php b/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php index 211b2fba8..e8a6fe1df 100644 --- a/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php +++ b/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php @@ -23,10 +23,10 @@ class AirtimeDatabaseUpgrade{ passthru("export PGPASSWORD=$password && psql -h $host -U $username -q -f $dir/data/upgrade.sql $database 2>&1 | 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); - $log_sql = "INSERT INTO cc_live_log(\"state\", \"start_time\") VALUES('S', now() at time zone 'UTC')"; + $log_sql = "INSERT INTO cc_live_log('state', 'start_time') VALUES('S', now() at time zone 'UTC')"; UpgradeCommon::queryDb($log_sql); }