diff --git a/boards/migrations/0005_auto.py b/boards/migrations/0005_auto.py --- a/boards/migrations/0005_auto.py +++ b/boards/migrations/0005_auto.py @@ -18,12 +18,6 @@ class Migration(SchemaMigration): )) db.create_unique(m2m_table_name, ['from_post_id', 'to_post_id']) - for post in Post.objects.all(): - if post.parent != NO_PARENT: - parent = Post.objects.get(id=post.parent) - parent.replies.add(post) - - def backwards(self, orm): # Removing M2M table for field replies on 'Post' db.delete_table(db.shorten_name(u'boards_post_replies'))