Index: libs/libmythtv/dbcheck.cpp
===================================================================
--- libs/libmythtv/dbcheck.cpp	(revision 13224)
+++ libs/libmythtv/dbcheck.cpp	(working copy)
@@ -10,7 +10,7 @@
 #include "mythdbcon.h"
 
 /// This is the DB schema version expected by the running MythTV instance.
-const QString currentDatabaseVersion = "1187";
+const QString currentDatabaseVersion = "1188";
 
 static bool UpdateDBVersionNumber(const QString &newnumber);
 static bool performActualUpdate(const QString updates[], QString version,
@@ -3042,6 +3042,32 @@
             return false;
     }
 
+    if (dbver == "1187")
+    {
+        VERBOSE(VB_IMPORTANT, "Upgrading to schema version 1188");
+
+        int suggests = gContext->GetNumSetting("MythFillGrabberSuggestsTime",
+                                               0);
+        if (suggests)
+        {
+            MSqlQuery query(MSqlQuery::InitCon());
+
+            QString key = "MythFillMinHour";
+            QString newValue = "-1";
+
+            query.exec(QString("UPDATE settings "
+                               "SET data = %1 "
+                               "WHERE value = %2;").arg(newValue).arg(key));
+
+            gContext->ClearSettingsCache(key, newValue);
+        }
+
+        if (!UpdateDBVersionNumber("1188"))
+            return false;
+
+        dbver = "1188";
+    }
+//
 //"ALTER TABLE cardinput DROP COLUMN preference;" in 0.22
 //"ALTER TABLE channel DROP COLUMN atscsrcid;" in 0.22
 //"ALTER TABLE recordedmarkup DROP COLUMN offset;" in 0.22
