title: Fixing a symfony2.8 deprecation will affect my database
body: <p>I need to fix a deprecation;</p>
  
  <blockquote>
    <p>The value "false" for the "choices_as_values" option of the "choice"
    form type (Symfony\Component\Form\Extension\Core\Type\ChoiceType) is
    deprecated since version 2.8 and will not be supported anymore in 3.0.
    Set this option to "true" and flip the contents of the "choices"
    option instead.</p>
  </blockquote>
  
  <p>I completely understand how to fix this deprecation, but by flipping the content of my choices will cause conflicts with my database.</p>
  
  <p>For example;</p>
  
  <p>I have a car table with a field for transmission. In that field there will always be either an <code>a</code> or a <code>m</code></p>
  
  <p>In my prject I have a function that return an array;</p>
  
  <pre><code>public static function enumFootType()
  {
      return array(
          'a' =&gt; 'Automatic',
          'm' =&gt; 'Manual'
      );
  }
  </code></pre>
  
  <p>So in my form it will display <code>Automatic</code> but in my database it is stored as an <code>a</code>. So if I am going to flip all the content like the deprecation message tell me to do, I'll have conflicts in my database. How should I fix this? Can somebody please help me?</p>
  
  <p>I am still relative new to Symfony, etc. so I hope you understand what I try to explain. Thank you</p>