Migrating database tasks into Invoke tasks.