State-based vs migration-based database deployments