--- sites/all/modules/dxmpp/dxmpp_auth.install.orig	2010-03-17 11:45:31.000000000 +0100
+++ sites/all/modules/dxmpp/dxmpp_auth.install	2010-03-17 11:48:45.000000000 +0100
@@ -77,33 +77,35 @@ function dxmpp_auth_schema() {
   );
 
   $schema['dxmpp_auth_domains'] = array(
-    'origin' => array(
-      'type' => 'varchar',
-      'length' => 60,
-      'not null' => TRUE,
-      'default' => '',
-      'description' => 'Originating server for the user.',
-    ),
-    'domain' => array(
-      'type' => 'varchar',
-      'length' => 60,
-      'not null' => TRUE,
-      'default' => '',
-      'description' => 'XMPP server for the user.',
-    ),
-    'secret' => array(
-      'type' => 'varchar',
-      'length' => 60,
-      'not null' => TRUE,
-      'default' => '',
-      'description' => 'Secret key for this origin/domain pair.',
-    ),
-    'salt' => array(
-      'type' => 'varchar',
-      'length' => 60,
-      'not null' => TRUE,
-      'default' => '',
-      'description' => 'Password salt for this origin/domain pair.',
+    'fields' => array(
+      'origin' => array(
+        'type' => 'varchar',
+        'length' => 60,
+        'not null' => TRUE,
+        'default' => '',
+        'description' => 'Originating server for the user.',
+      ),
+      'domain' => array(
+        'type' => 'varchar',
+        'length' => 60,
+        'not null' => TRUE,
+        'default' => '',
+        'description' => 'XMPP server for the user.',
+      ),
+      'secret' => array(
+        'type' => 'varchar',
+        'length' => 60,
+        'not null' => TRUE,
+        'default' => '',
+        'description' => 'Secret key for this origin/domain pair.',
+      ),
+      'salt' => array(
+        'type' => 'varchar',
+        'length' => 60,
+        'not null' => TRUE,
+        'default' => '',
+        'description' => 'Password salt for this origin/domain pair.',
+      ),
     ),
     'indexes' => array(
       'origin' => array('origin'),
