Upgrade 3.1.1.4 to 3.1.2.1 failed

[version: 3.1.2.1]

[code: Installer Installer::checkPhpVersion]

[data: dbscripts/xml/upgrade/3.1.2_preupdate_user_author_names.xml (skipped)]

[schema: lib/pkp/xml/schema/common.xml]

[schema: lib/pkp/xml/schema/log.xml]

ERROR: Upgrade failed: DB: Incorrect table definition; there can be only one auto column and it must be defined as a key