added migration query.