Bug in r9->r10 SQL: attempting to create api_keys table twice

Both the r9 and the r10 scripts were creating the api_keys table, which
caused the r10 script to fail.