# Vanilla Migration Issue

**URL:** <https://meta.discourse.org/t/vanilla-migration-issue/51632>\
**Category:** Development\
**Created:** [2016 年 10 月 17 日午前 7:47 UTC](https://meta.discourse.org/t/vanilla-migration-issue/51632 "2016-10-17T07:47:09Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2016 年 10 月 17 日午後 6:36 UTC](https://meta.discourse.org/t/vanilla-migration-issue/51632/7 "2016-10-17T18:36:07Z")

</div>

If the problem is importing users, you might try using the DateFirstVisit field.

Maybe something like this:

```
created_at: parse_date(user[:date_inserted] || user[:date_first_visit]),

```

would work if for those users that don’t have an insert date they do have a first visit date.

Note: I’ve worked mostly with MySQL imports and don’t really understand what gets built in `parse_file`. This could be completely wrong and I have no way to test it.

---

_[View the full topic](https://meta.discourse.org/t/vanilla-migration-issue/51632)._
