check database dependency