in-memory db to production env