Index: dbcheck.cpp
===================================================================
--- dbcheck.cpp	(revision 14561)
+++ dbcheck.cpp	(working copy)
@@ -11,7 +11,7 @@
 #include "datadirect.h" // for DataDirectProcessor::FixProgramIDs
 
 /// This is the DB schema version expected by the running MythTV instance.
-const QString currentDatabaseVersion = "1160";
+const QString currentDatabaseVersion = "1161";
 
 static bool UpdateDBVersionNumber(const QString &newnumber);
 static bool performActualUpdate(const QString updates[], QString version,
@@ -2561,6 +2561,17 @@
             return false;
     }
 
+	if (dbver == "1160")
+	{
+        const QString updates[] = {
+"ALTER TABLE record MODIFY recordid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT;",
+""
+};
+
+        if (!performActualUpdate(updates, "1161", dbver))
+            return false;
+	}
+
 //"ALTER TABLE capturecard DROP COLUMN dvb_recordts;" in 0.21
 //"ALTER TABLE capturecard DROP COLUMN dvb_hw_decoder;" in 0.21
 //"ALTER TABLE cardinput DROP COLUMN preference;" in 0.22
