import com.liferay.portlet.bookmarks.model.BookmarksEntry;
import com.liferay.portlet.documentlibrary.model.DLFileEntry;
public class UpgradeTags extends UpgradeProcess {
@Override
protected void doUpgrade() throws Exception {
<BUG>try {
runSQL("alter_column_type TagsAsset title VARCHAR(255) null");</BUG>
}
<BUG>catch (Exception e) {
UpgradeTable upgradeTable = UpgradeTableFactoryUtil.getUpgradeTable(</BUG>
TagsAssetTable.TABLE_NAME, TagsAssetTable.TABLE_COLUMNS);

import com.liferay.portlet.bookmarks.model.BookmarksEntry;
import com.liferay.portlet.documentlibrary.model.DLFileEntry;
public class UpgradeTags extends UpgradeProcess {
@Override
protected void doUpgrade() throws Exception {
if (isSupportsAlterColumnType()) {
runSQL("alter_column_type TagsAsset title VARCHAR(255) null");
}
else {
UpgradeTable upgradeTable = UpgradeTableFactoryUtil.getUpgradeTable(
TagsAssetTable.TABLE_NAME, TagsAssetTable.TABLE_COLUMNS);
