Mysql データベースはそのようなものです。
userID -> primaryKey, required, unsigned integer, auto increment, unique
usermail -> unique,varchar,required
新しいユーザーを作成しています。userId は自動インクリメントです。以前にユーザーメールを挿入すると、エラーが発生します。私の質問はこれです
Let's think that userID is between 1-9.(there are 9 users now).
Somebody has inserted same usermail before and took error.
After that,new user inserted another usermail but userID became 11 instead 10.
Why? What should i do to make it 10?