Raphael
ee20b00f58
Only the time zone errors are left, and those could probably be ignored
2011-01-10 18:30:52 -08:00
Raphael
079151eeea
Set target_id on notifications
2011-01-10 17:30:37 -08:00
Raphael
30f98aec3c
Set notification target type after importing
2011-01-10 17:07:16 -08:00
Raphael
f1e8b5c01d
Found problem in notification import, need to finish post and notification polymorphic stuff
2011-01-10 16:57:15 -08:00
Raphael
c90f3cb1ef
export more things from mongo
2011-01-10 16:36:48 -08:00
Raphael
f277fb3bb8
Specs for post_visibilities and notifications imports
2011-01-10 15:55:59 -08:00
Raphael
f4465c9d32
Naive import of posts, still need to set status_message_id on photos
2011-01-10 15:41:53 -08:00
Raphael
fefc4ba60e
Posts are the next model to import, then postvisibility, then notifications
2011-01-10 13:22:05 -08:00
Raphael
92aecb3bec
Start profile import, fixtures are wrong
2011-01-10 12:25:13 -08:00
Raphael
52f1ce81fb
No syntax errors, but invitation and request importing still not working
2011-01-10 11:34:04 -08:00
Raphael
555932d67e
Import invitations
2011-01-09 02:25:35 -08:00
Sarah Mei
22f7d1d48b
Unix timestamps (output by mongo) are in milliseconds, but MySQL datetimes only have fidelity to seconds.
...
As a result we have to divide the exported value by 1000 before importing it (which coincidentally is the same as truncating the last 3 digits).
The remaining 8-hour difference is a time zone thing - haven't solved that one yet.
2011-01-08 17:18:09 -08:00
Raphael
e8d46982d8
Aspect memberships now importing
2011-01-07 16:58:39 -08:00
Raphael
6abedf5f87
Contacts now importing
2011-01-07 16:28:52 -08:00
Raphael
aa624b4df0
People now importing, additional failing tests on imported times
2011-01-07 16:09:08 -08:00
Raphael
9bd2de06ee
Services need a mongo_id
2011-01-07 15:14:45 -08:00
Raphael
62486a17b6
Aspects imported correctly
2011-01-07 14:54:50 -08:00
Raphael
1187c13170
Import for users, test for aspects import
2011-01-07 13:25:50 -08:00
Raphael
ff44003ea3
Import some more times
2011-01-07 10:56:46 -08:00
Raphael
686713dc4b
assert on type before typecasting, do not tolerate empty strings where NULL should be.
2011-01-07 10:49:07 -08:00
Raphael
abdb5f7587
serialized hashes need a NULLIF, as do many other fields, probably
2011-01-06 17:26:08 -08:00
Raphael
89a41826c1
Started raw post import
2011-01-06 17:01:17 -08:00
Raphael
e46b3e6cf3
Import raw services, I think we need to change the name of the type field (is it supposed to be in provider?) other than that, only posts remain.
2011-01-06 16:23:18 -08:00
Raphael
7668276a99
Set booleans correctly
2011-01-06 15:42:34 -08:00
Raphael
770e90064d
nullif fixes raw person import
2011-01-06 15:16:32 -08:00
Raphael
283a5501be
Boolean values aren't importing; we may need SET statements for them
2011-01-06 14:58:42 -08:00
Raphael
7c4d35cf28
raw import of notifications, failing to pull in unread
2011-01-06 14:37:59 -08:00
Raphael
564dd993b7
raw import of Invitation
2011-01-06 14:30:38 -08:00
Raphael
a1419b9dc0
Person#owner_mongo_id should be null if the csv has an empty string
2011-01-06 14:16:51 -08:00
Sarah Mei
75ac7e91c8
Refactor ImportToMysql; add import_raw. Add rake task for import.
...
Remove unique constraint on index on mongo_requests.
2011-01-05 23:54:22 -08:00
Raphael
ff1cad6e63
raw import for requests
2011-01-05 17:38:00 -08:00
Raphael
0d80ded2d3
Raw import for post_visibilities
2011-01-05 17:25:11 -08:00
Raphael
b34acfd4eb
Add contact raw import, fixtures have no comments
2011-01-05 16:40:16 -08:00
Raphael
e4ef2641f8
raw import of aspects and aspect memberships
2011-01-05 15:40:04 -08:00
Raphael
079e2f4cb2
Get a little further in importing times
2011-01-05 11:51:36 -08:00
Sarah Mei
7f86a9e1ba
ImportToMysql now loads users.csv. Spec currently failing on datetime conversion.
2011-01-04 22:43:32 -08:00