deploy and db