Migration of ELMA_main database