import com.liferay.portal.upgrade.v6_0_0.util.PollsChoiceTable;
import com.liferay.portal.upgrade.v6_0_0.util.PollsQuestionTable;
public class UpgradePolls extends UpgradeProcess {
@Override
protected void doUpgrade() throws Exception {
<BUG>try {
runSQL("alter_column_type PollsChoice description STRING null");
}
catch (Exception e) {
UpgradeTable upgradeTable = UpgradeTableFactoryUtil.getUpgradeTable(</BUG>
PollsChoiceTable.TABLE_NAME, PollsChoiceTable.TABLE_COLUMNS);

import com.liferay.portal.upgrade.v6_0_0.util.PollsChoiceTable;
import com.liferay.portal.upgrade.v6_0_0.util.PollsQuestionTable;
public class UpgradePolls extends UpgradeProcess {
@Override
protected void doUpgrade() throws Exception {
if (isSupportsAlterColumnType()) {
runSQL("alter_column_type PollsChoice description STRING null");
runSQL("alter_column_type PollsQuestion title STRING null");
}
else {
UpgradeTable upgradeTable = UpgradeTableFactoryUtil.getUpgradeTable(
PollsChoiceTable.TABLE_NAME, PollsChoiceTable.TABLE_COLUMNS);
