Allod dbmodel to depend on dbconnection.

Signed-off-by: crynobone <crynobone@gmail.com>