add db/CMakeLists.txt