adding database migrations handler