Did a little clean up.  Nothing that affected functionality
diff --git a/system/database/drivers/sqlite/sqlite_forge.php b/system/database/drivers/sqlite/sqlite_forge.php
index 05f366a..631c9c7 100644
--- a/system/database/drivers/sqlite/sqlite_forge.php
+++ b/system/database/drivers/sqlite/sqlite_forge.php
@@ -144,7 +144,7 @@
 			$primary_keys = $this->db->_protect_identifiers($primary_keys);

 			$sql .= ",\n\tPRIMARY KEY (" . implode(', ', $primary_keys) . ")";

 		}

-		

+

 		if (is_array($keys) && count($keys) > 0)

 		{

 			foreach ($keys as $key)

@@ -161,7 +161,7 @@
 				$sql .= ",\n\tUNIQUE (" . implode(', ', $key) . ")";

 			}

 		}

-		

+

 		$sql .= "\n)";

 

 		return $sql;

@@ -241,6 +241,24 @@
 		return $sql;

 		

 	}

+

+	// --------------------------------------------------------------------

+

+	/**

+	 * Rename a table

+	 *

+	 * Generates a platform-specific query so that a table can be renamed

+	 *

+	 * @access	private

+	 * @param	string	the old table name

+	 * @param	string	the new table name

+	 * @return	string

+	 */

+	function _rename_table($table_name, $new_table_name)

+	{

+		$sql = 'ALTER TABLE '.$this->db->_protect_identifiers($table_name)." RENAME TO ".$this->db->_protect_identifiers($new_table_name);

+		return $sql;

+	}

 }

 

 /* End of file sqlite_forge.php */