title: eav_entity_type without quote at installation
body: <p><strong>the origin...</strong></p>
  
  <p>I have a module with a setup script (common mysql4-upgrade-0.1.0-0.1.1.php), adding an attribute to quote:</p>
  
  <pre><code>$eav = new Mage_Eav_Model_Entity_Setup('sales_setup');
  $eav-&gt;addAttribute('quote', 'my_attribute', array('type' =&gt; 'varchar'));
  </code></pre>
  
  <p>If I run my magento store on an empty DB, setups scripts run and a 'Wrong entity ID' error breaks the process. Call stack points to my setup script.</p>
  
  <p><strong>...looking for...</strong></p>
  
  <p>If I go to database, I see <strong>eav_entity_type</strong> table filled but only with 8 types: the quote type is not registered!</p>
  
  <p>That's why Mage_Eav_Model_Entity_Setup->getEntityTypeId() throws the exception.</p>
  
  <p><strong>The question:</strong></p>
  
  <p>I don't know why quote entity is not created with another entities. How can I force magento to register quote entity before my module setup? Is there any alternative?</p>
  
  <p>There is a <a href="https://stackoverflow.com/questions/7272879/magento-add-field-to-sales-flat-quote">possibly related question</a></p>