RestKit/RestKit — pull request #1690 by peebsjs (2013-11-28 22:24:26+00:00)
Title: fix migration with WAL mode

The current `migratePersistentStoreOfType:...` method does not correctly move all the necessary sqlite files to the correct place during the migration. In particular, the `.sqlite-wal` and `.sqlite-shm` files are not moved, resulting in a corrupted store after the method is complete.