Completes database deployment script