Index: simpletest_fixture.module
===================================================================
--- simpletest_fixture.module	(revision 987)
+++ simpletest_fixture.module	(working copy)
@@ -25,7 +25,9 @@
    */
 
   // Rebuild schema based on prefixed database
-  $schemas = drupal_get_schema(NULL, TRUE);
+  //$schemas = drupal_get_schema(NULL, TRUE);
+  $schemas = drupal_get_complete_schema($rebuild = FALSE);
+
   // Create a list of prefixed source table names
   $sources = array();
   foreach ($schemas as $name => $schema) {
@@ -117,11 +119,18 @@
     }
   }
 
-  // Clone fixture tables
+  // Create fixture tables
   foreach ($schemas as $table => $schema) {
     $target_prefixed = Database::getConnection()->prefixTables('{' . $fixturedb_prefix . $table . '}');
     db_create_table($target_prefixed, $schema);
+  }
 
+  // update the database schemas and schema alters
+  drush_core_updatedb();
+
+  // copy content into fixtures tables
+  foreach ($schemas as $table => $schema) {
+    $target_prefixed = Database::getConnection()->prefixTables('{' . $fixturedb_prefix . $table . '}');
     if (!in_array($table, $excludeTables)) {
       $source = $source_db_name .'.'. $sources[$table];
       db_query('INSERT INTO ' . $target_prefixed . ' SELECT * FROM ' . $source);
