If there's no database (deleted, new dotfile dir...) open an empty one and create the 'navigation' and 'blacklist' schemas