More database debugging in setup_db.