prepare_database() on db_conn, not plain name, so we can pass in the connection from outside