<div>Hi All</div>
<div>I have a small install file as below.</div>
<div> </div>
<div>
<div><em><font color="#000099"><?php<br>function resume_submit_install() <br>{<br> drupal_install_schema('resume_table');<br>}<br>function resume_submit_uninstall() <br>{<br> drupal_uninstall_schema('resume_table');<br>
}<br>function resume_table_schema() <br>{<br> $schema['resume_table'] = array(<br> <br> 'fields' => array(<br> 'uid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0),<br>
'name' => array('type' => 'varchar', 'not null' => TRUE, 'default' => ''),<br> 'email' => array('type' => 'varchar', 'not null' => TRUE, 'default' => ''),<br>
'altemail' => array('type' => 'varchar', 'not null' => TRUE, 'default' => ''),<br> ),<br> <br> 'indexes' => array('uid' => array('uid'),),<br>
<br> 'primary key' => array('name'),<br> );</font></em></div>
<div><em><font color="#000099"> return $schema;<br>}</font></em></div>
<div> </div>
<div> </div></div>
<div>When I install the custom module, it installs without any warning/error.</div>
<div>But on form submit, when I try to save some data, it gives warning (table does not exist). </div>
<div> </div>
<div>Can somebody help me to understand, what could be the issue.</div>
<div> </div>
<div>Thanks</div>
<div>Austin</div>