Create a custom library which uses Arduino Extended Database Library

How should I fix this ?

With a text editor.

My crystal ball is at the cleaners. I can't see your current code, so I can't tell you how to fix it.