From c91f1cc0c9c81a22b24c2701e2cd5e2ddb2feb14 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Thu, 17 May 2012 13:12:13 -0400 Subject: [PATCH] incorrect sql statements --- install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php b/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php index e8a6fe1df..db6f355d2 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); }