anchor.diff: +:migration_scripts: ../../dist/src/main/resources/migration
   == Changelog
   
   This document shows the changes that are introduced into Smarti with the releases.
  
positive.code: A migration script is available and must be applied manually:
  [source,javascript]
  -----------------------------------------------
  var conversations = db.getCollection('conversations'),
      configuration = db.getCollection('configuration'),
      client = db.getCollection('client');
  
  conversations.update({ analysis: { $exists: false} }, {
      $rename: {
          tokens: 'analysis.tokens',
          queryTemplates: 'analysis.queryTemplates'
      }
  }, { multi: true});
  -----------------------------------------------
  
  === 0.5.0
  
negative.code: A migration script is available and must be applied manually:
  [source,javascript]
  ------------------------------------------------
  include::{migration_scripts}/0.3-to-0.5.js[lines=17..-1]
  ------------------------------------------------
  
  === Pre 0.4.0
  