title: Can't find Custom Database Table in Magento
body: <p>I have created a custom module that creates a custom Database table. I have been following Alan Storm's tutorials <a href="http://alanstorm.com/magento_setup_resources" rel="nofollow">http://alanstorm.com/magento_setup_resources</a> and <a href="http://alanstorm.com/magento_models_orm" rel="nofollow">http://alanstorm.com/magento_models_orm</a> in order to create custom Database tables.</p>
  
  <p>My module entry gets showed up in core_resource table but the actual doesn't get showed up. </p>
  
  <p>This is my config.xml code</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
   &lt;modules&gt;
      &lt;Ajzele_SimpleModel&gt;
          &lt;version&gt;0.0.1&lt;/version&gt;
      &lt;/Ajzele_SimpleModel&gt;
  &lt;/modules&gt;
  &lt;global&gt;
  
    &lt;models&gt;
     &lt;simplemodel&gt;
       &lt;class&gt;Ajzele_SimpleModel_Model&lt;/class&gt;
       &lt;resourceModel&gt;simplemodel_mysql4&lt;/resourceModel&gt;      
     &lt;/simplemodel&gt;
  
     &lt;simplemodel_mysql4&gt;
       &lt;class&gt;Ajzele_SimpleModel_Model_Mysql4&lt;/class&gt;
        &lt;entities&gt;
            &lt;simplemodel&gt;
                    &lt;table&gt;simplemodel&lt;/table&gt;
             &lt;/simplemodel&gt;
         &lt;/entities&gt;                
     &lt;/simplemodel_mysql4&gt;  
  
   &lt;/models&gt;
  
   &lt;resources&gt;
          &lt;simplemodel_setup&gt;
              &lt;setup&gt;
                  &lt;module&gt;Ajzele_SimpleModel&lt;/module&gt;
         &lt;class&gt;Ajzele_SimpleModel_Model_Mysql4_Setup&lt;/class&gt;
              &lt;/setup&gt;
  
              &lt;connection&gt;
                  &lt;use&gt;core_setup&lt;/use&gt;
              &lt;/connection&gt;
  
          &lt;/simplemodel_setup&gt;
  
          &lt;simplemodel_read&gt;
              &lt;connection&gt;
                  &lt;use&gt;core_read&lt;/use&gt;
              &lt;/connection&gt;
          &lt;/simplemodel_read&gt;  
  
          &lt;simplemodel_write&gt;
              &lt;connection&gt;
                  &lt;use&gt;core_write&lt;/use&gt;
              &lt;/connection&gt;
          &lt;/simplemodel_write&gt;  
  
  &lt;/resources&gt;        
  &lt;/global&gt;    
      &lt;/config&gt;
  </code></pre>
  
  <p>And my Model file Structure is </p>
  
  <pre><code>   Model
       SimpleModel.php
       Mysql4
         SimpleModel.php
         Setup.php
         SimpleModel
            Collection.php
  </code></pre>
  
  <p>Here's teh contents of my sql/simplemodel_setup/mysql4-install-0.0.1.php</p>
  
  <pre><code>     &lt;?php
  
      $installer = $this;
  
     $installer-&gt;startSetup();
  
     $baseTableName = 'simplemodel';
  
     $sql = "
     SET FOREIGN_KEY_CHECKS=0;
     -- ----------------------------
     -- Table structure for `simplemodel`
     -- ----------------------------
     DROP TABLE IF EXISTS {$this-&gt;getTable($baseTableName)};
     CREATE TABLE {$this-&gt;getTable($baseTableName)} (
      `simplemodel_id` int(11) NOT NULL AUTO_INCREMENT,
      `field1` varchar(255) DEFAULT NULL,
      `field2` varchar(255) DEFAULT NULL,
       PRIMARY KEY (`simplemodel_id`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
      ";
  
      $installer-&gt;run($sql);
  
      $installer-&gt;endSetup();
  </code></pre>
  
  <p>I have tried various debugging methods, but I get neither any exception nor an error. What should I do in order to get my table actually show up in Database?</p>