From b38bde6565697411bde2affb4e8090633914480c Mon Sep 17 00:00:00 2001 From: denise Date: Fri, 11 May 2012 15:39:05 -0400 Subject: [PATCH] SAAS-223: Airtime Usage Metric: Amount of time spent broadcasting -added default log data to upgrade script --- install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php b/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php index 8f2d006e1..211b2fba8 100644 --- a/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php +++ b/install_minimal/upgrades/airtime-2.1.0/DbUpgrade.php @@ -25,6 +25,9 @@ class AirtimeDatabaseUpgrade{ $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')"; + UpgradeCommon::queryDb($log_sql); } /*