Fix auto-increment issue on Travis