Index: DBTable.php
===================================================================
--- DBTable.php	(revision 32940)
+++ DBTable.php	(working copy)
@@ -442,6 +442,23 @@
 		// Now create _list properties
 		$this->_createSchemaCachedLists();
 	}
+
+	/**
+     * Clear internal cached lists and rediscover the schema
+	 *
+	 * @return void
+     */
+	public function refreshSchema() {
+		$this->fields_normal = array();
+		$this->pri_keys = array();
+		$this->fgn_keys = array();
+		$this->fieldlist = array();
+		$this->pri_key_list = array();
+		$this->key_auto_increment = false;
+		$this->field_defs = array();
+		$this->fields_lob = array();
+		$this->discoverSchema();
+	}
 	
 	/**
 	 * Create cached properties containing lists of *pre-quoted* fields and
