import com.liferay.portal.kernel.upgrade.util.UpgradeTableFactoryUtil;
import com.liferay.portal.upgrade.v5_2_3.util.SCProductEntryTable;
public class UpgradeSoftwareCatalog extends UpgradeProcess {
@Override
protected void doUpgrade() throws Exception {
<BUG>try {
runSQL("alter_column_type SCProductEntry tags VARCHAR(255) null");</BUG>
}
<BUG>catch (Exception e) {
UpgradeTable upgradeTable = UpgradeTableFactoryUtil.getUpgradeTable(</BUG>
SCProductEntryTable.TABLE_NAME,

import com.liferay.portal.kernel.upgrade.util.UpgradeTableFactoryUtil;
import com.liferay.portal.upgrade.v5_2_3.util.SCProductEntryTable;
public class UpgradeSoftwareCatalog extends UpgradeProcess {
@Override
protected void doUpgrade() throws Exception {
if (isSupportsAlterColumnType()) {
runSQL("alter_column_type SCProductEntry tags VARCHAR(255) null");
}
else {
UpgradeTable upgradeTable = UpgradeTableFactoryUtil.getUpgradeTable(
SCProductEntryTable.TABLE_NAME,
