# Statistik-Anomalie bei Beiträgen aufgrund der Migration?

**URL:** <https://meta.discourse.org/t/post-stats-anomaly-due-to-migration/92706>\
**Category:** UX\
**Created:** [19. Juli 2018 um 11:59 UTC](https://meta.discourse.org/t/post-stats-anomaly-due-to-migration/92706 "2018-07-19T11:59:03Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [25. Juli 2018 um 11:16 UTC](https://meta.discourse.org/t/post-stats-anomaly-due-to-migration/92706/11 "2018-07-25T11:16:08Z")

</div>

> [@Canapin](#):
>
> all the posts from the existing target topic (which is many years old as well as its replies) had their dates updated to the merge date!

That explains the spike in the posts graph! It is probably related to the phpBB import, but it shouldn’t happen.

Can you try running this query please:

```plaintext
SELECT posts.id, posts.created_at, posts.updated_at, COUNT(post_revisions.id) as num_of_revisions from posts 
LEFT OUTER JOIN post_revisions
ON post_revisions.post_id = posts.id
WHERE topic_id = 9352
GROUP BY posts.id

```

Are the `created_at` and `updated_at` times correct? Or are they the date that you merged the topics?

Do all of the posts have a revision?

---

_[View the full topic](https://meta.discourse.org/t/post-stats-anomaly-due-to-migration/92706)._
