Make api_key primary not nullable.