Index: includes/module.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/module.inc,v
retrieving revision 1.161
diff -u -p -r1.161 module.inc
--- includes/module.inc	16 Oct 2009 03:01:54 -0000	1.161
+++ includes/module.inc	17 Oct 2009 21:15:12 -0000
@@ -221,6 +221,8 @@ function module_enable($module_list, $di
     module_implements('', FALSE, TRUE);
     // Force to regenerate the stored list of hook implementations.
     registry_rebuild();
+    // Refresh the schema to include the new enabled module.
+    drupal_get_schema(NULL, TRUE);
 
     // If any modules were newly installed, execute the hook for them.
     if (!$disable_modules_installed_hook && !empty($modules_installed)) {
