diff --git a/core/modules/node/node.install b/core/modules/node/node.install
index 82fd2e7..a8db56a 100644
--- a/core/modules/node/node.install
+++ b/core/modules/node/node.install
@@ -450,6 +450,7 @@ function node_uninstall() {
   // Delete node type variables.
   $types = db_query('SELECT type FROM {node_type}')->fetchCol();
   foreach ($types as $type) {
+    field_attach_delete_bundle('node', $type);
     db_delete('variable')
       ->condition(db_or()
         ->condition('name', 'node_preview_' . $type)
