title: Symfony 4 / doctrine insert initial database data
body: <p>I am using symfony 4.2 and looking for a way to insert initial data to the database.
  What I was trying to create is something like an initial setup script that do some sql inserts (like fixtures but for the production environment as well) that can be called by a console command.</p>
  
  <p>I was thinking of using the postUp function in the doctrine migration class but I don’t want to rewrite this function for every production environment I set up.
  Is there a way to use doctrines migration functionality for this purpose or is there a preferred way?</p>
  
  <p>Example workflow:</p>
  
  <p><ul>
  <li>Install symfony by cloning the git repository</li>
  <li>Execute migrations to create / update the database tables</li>
  <li>Execute the setup script to insert the needed default values into the database tables
  </ul></li>
  </p>