Use the app dir for db