title: Symfony: error when creating models
body: <p>I'm new to Symfony, and I don't even succeed in creating valid models.</p>
  
  <p>I created my project - which use propel - and wrote the following schema.yml:</p>
  
  <pre><code>propel:
    poc:
      id:           ~
      message:      { type: varchar(140), required: true}
      author:       { type: varchar(255), required: true}
      plus:         { type: integer, default: 0}
      minus:        { type: integer, default: 0}
      created_at:   ~
  </code></pre>
  
  <p>Then I executed the following commands without errors:</p>
  
  <pre><code>$ php symfony propel:build --sql
  $ php symfony propel:insert-sql
  $ php symfony propel:build --model
  </code></pre>
  
  <p>But when I try to load fixtures or generate a module, I obtain this error:</p>
  
  <pre><code>$ php symfony propel:data-load             
  &gt;&gt; propel    load data from "/home/me/www/poc/data/fixtures"
  PHP Fatal error:  Cannot redefine class constant BasePoc::PEER in /home/me/www/poc/lib/model/om/BasePoc.php on line 85
  
  Fatal error: Cannot redefine class constant BasePoc::PEER in /home/me/www/poc/lib/model/om/BasePoc.php on line 85
  </code></pre>
  
  <p>The class constant PEER is defined twice in the BasePoc.php, but why ?</p>
  
  <p>I googled and recreated the project several times, but I couldn't see my mistake.</p>