View file upload/library/XenForo/Install/Upgrade/1010270-112.php

File size: 350B
<?php

class XenForo_Install_Upgrade_1010270 extends XenForo_Install_Upgrade_Abstract
{
	public function getVersionName()
	{
		return '1.1.2';
	}

	public function step1()
	{
		$this->executeUpgradeQuery('
			ALTER TABLE xf_user_external_auth
				DROP PRIMARY KEY,
				ADD PRIMARY KEY (user_id, provider)
		');

		return true;
	}
}