Cleanup/migrations optional dependency