I'm running into a bug which is just about to drive me insane. I'm developing a custom form for my website which once the form is submitted stores the info in a database. My problem is: I install the module once, then I make a change in my database schema so I drop the database and use the devel module's 'reinstall module' function to reinstall it. But the problem is the hook_install in my module isn't called again. But as soon as I move the code to a different drupal installation it installs just fine.
So I can install the module once but never again.
Any help would be greatly appreciated. BTW, if I'm just doing something really stupid, I apologize in advance -- this is my first Drupal module.
function custom_shirts_form_install() {
drupal_set_message(t('Beginning installation of customShirtsForm.'));
switch($GLOBALS['db_type']){
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {custom_order_bids} (
bid_id mediumint(9) unsigned NOT NULL auto_increment,
num_shirts int(10) unsigned NOT NULL default 0,
shirt_color varchar(20) NOT NULL default '',
who_design varchar(20) NOT NULL default '',
total_cost varchar(20) NOT NULL default '',
price_per_shirt varchar(20) NOT NULL default '',
name varchar(100) NOT NULL default '',
email varchar(100) NOT NULL default '',