The attributes 'length' don't work nicely with Drupal PgSQL engine. I removed them and the schema is now correctly installed.

Index: sites/all/modules/contrib/mobile_tools/mobile_tools.install
===================================================================
--- sites/all/modules/contrib/mobile_tools/mobile_tools.install	(revision 2639)
+++ sites/all/modules/contrib/mobile_tools/mobile_tools.install	(working copy)
@@ -11,7 +11,7 @@
     db_query("DELETE FROM {role} WHERE rid = %d", $item->mrid);

   }

   drupal_uninstall_schema('mobile_tools');

-  

+

 }

 

 function mobile_tools_schema() {

@@ -19,17 +19,15 @@
     'fields' => array(

       'rid' => array(

         'type' => 'int',

-        'length' => 10,

        'unsigned' => TRUE,

        'int' => TRUE,

         'not null' => TRUE,

       ),

       'mrid' => array(

         'type' => 'int',

-        'length' => 10,

        'unsigned' => TRUE,

        'int' => TRUE,

         'not null' => TRUE

       )

     ),

   );

  return $schema;

 }
\ No newline at end of file

Comments

twom’s picture

Assigned: Unassigned » twom
Status: Active » Needs review

thanks for reporting.
I fixed this for the 1.5

twom’s picture

Status: Needs review » Closed (fixed)