Fixed missing AUTO INCREMENT property on some fields