Fixes "The database backend does not accept 0 as a value for AutoField" when using MySQL
Merge remote-tracking branch 'origin/v2' into v2