add db scheme and configure database