Closed (fixed)
Project:
Mobile Tools
Version:
6.x-1.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
18 Jun 2009 at 07:19 UTC
Updated:
27 Jun 2009 at 05:19 UTC
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
Comment #1
twom commentedthanks for reporting.
I fixed this for the 1.5
Comment #2
twom commented