Added a migrate database flag.