fix missing Database folder when there is nothing to do for database