2015-04-16 ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '1' for key 'PRIMARY' MySQL フィールドの名前を変更しようとしたらエラーが。 auto_incrementのフィールドに、0が入っているとこうなるらしい。 必要ないので、カラムを削除したら治った。