Add logic for building a default db url