Database deployment working