created db spec and fixed db parameter