new_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals, print_function
  from django.db import migrations
  
  
  def forwards_func(apps, schema_editor):
      Lexeme = apps.get_model("lexicon", "Lexeme")
      replaceMap = {
          '’': "'",
          'ʼ': "'"}
      for lexeme in Lexeme.objects.all():
          if len(set(replaceMap.keys()) & set(lexeme.romanised)):
              for k, v in replaceMap.items():
                  lexeme.romanised = lexeme.romanised.replace(k, v)
              lexeme.save()
  
  
  def reverse_func(apps, schema_editor):
      pass
  
  
  class Migration(migrations.Migration):
  
      dependencies = [('lexicon', '0143_clean_lexeme_romanised')]
  
      operations = [
          migrations.RunPython(forwards_func, reverse_func),
      ]
  
subject: Add migrations/0144_clean_lexeme_romanised_2.py