title: Unmanaged Module Error in Console
body: <p>This error came out on my console when I configured pieces in same database name using <code>apos.singleton</code> , but I managed to delete directly from DB itself using $unset method : </p>
  
  <pre><code>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  HEY DEVELOPER: the following types exist in your aposDocs collection,
  but are not managed by any module. A generic manager is being stubbed in
  for each one to keep your site from crashing, but you should remove thesepermanently from the database OR manage them properly by:
  
  * Listing them as "types" for "apostrophe-pages", OR
  * Providing an appropriate subclass of apostrophe-pieces.
  
  portfolios, tryComment, trycomment
  
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  </code></pre>
  
  <blockquote>
    <p>This happen everytime I restart node app.</p>
  </blockquote>
  
  <p>Is it not fully removed from database ? Perhaps in trash ?  I use this code to remove unmanaged pieces directly :</p>
  
  <pre><code>self.addTask('delete', 'Delete Query MongoDB', function (apos, argv, callback) {
    let req = self.apos.tasks.getAReq()
    return self.apos.docs.db.update({}, {
      $unset: {
        someDate: 1
      }
    }, {
      multi: true
    }, callback)
  })
  </code></pre>
  
  <h2>My real question is , how to remove that error completely everytime I restart <code>node app</code> ?</h2>