def backwards(self, orm):
        # Adding index on 'ThreadedComment', fields ['tree_path']
        if connection.vendor == 'mysql':
            db.execute("CREATE INDEX threadedcomments_comment_tree_path ON threadedcomments_comment (tree_path(255));")
        else:
            db.create_index('threadedcomments_comment', ['tree_path'])
dataset/ETHPy150Open HonzaKral/django-threadedcomments/threadedcomments/south_migrations/0004_auto__del_index_threadedcomment_tree_path.py/Migration.backwards/original