Improvement of migration mechanisms - database