Scan source code to find database dependencies