use debbugs_db from config
add affects to schema