Pull up db to lib level