Add migrate_if_connected rake task