old_contents: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #    Copyright (C) 2019 Compassion CH (http://www.compassion.ch)
  #    Releasing children from poverty in Jesus' name
  #    @author: Emanuel Cino <ecino@compassion.ch>
  #
  #    The licence is in the file __manifest__.py
  #
  ##############################################################################
  
  
  def migrate(cr, version):
      if not version:
          return
  
      # Remove SQL view
      try:
          cr.execute("""
              DROP VIEW interaction_resume IF EXISTS;
          """)
      except:
          cr.rollback()
  
new_contents: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #    Copyright (C) 2019 Compassion CH (http://www.compassion.ch)
  #    Releasing children from poverty in Jesus' name
  #    @author: Emanuel Cino <ecino@compassion.ch>
  #
  #    The licence is in the file __manifest__.py
  #
  ##############################################################################
  
  
  def migrate(cr, version):
      if not version:
          return
  
      # Remove SQL view
      try:
          cr.execute("""
              DROP VIEW IF EXISTS interaction_resume;
          """)
      except:
          cr.rollback()
  
subject: FIX migration script