fixing deploy and db router

Signed-off-by: Kyle Rockman <kyle.rockman@mac.com>