Updated db sql to dev and test