make sure that the atram db exists