First migration towards lmdb