[support] Install file in Drupal 7

Kamal Palei palei.kamal at gmail.com
Tue Aug 7 01:38:22 UTC 2012


Hi All
My install file looks as below . While I am installing the module, ideally
table should be created, but its not getting created. What could be the
issue, any idea please ?



<?php
function resume_submit_schema()
{
$schema = array();
$schema['table_xyz'] = array(
'fields' => array(
'uid' => array(
'type' => 'int',
'not null' => TRUE
),

'id' => array(
'type' => 'int',
'not null' => TRUE
),

'exp' => array(
'type' => 'int',
'not null' => TRUE
),
),
    );
return $schema;
}


Thanks
Kamal
NECS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120807/4a800c49/attachment.html 


More information about the support mailing list