Added rename_table() into DBForge.
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
index 16a8308..2ad5d61 100644
--- a/system/database/drivers/sqlite/sqlite_driver.php
+++ b/system/database/drivers/sqlite/sqlite_driver.php
@@ -635,6 +635,24 @@
 		@sqlite_close($conn_id);

 	}

 

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

+

+	/**

+	 * 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;

+	}

+

 

 }