org.opencms.setup.update6to7.mysql
Class CmsUpdateDBAlterTables

java.lang.Object
  extended by org.opencms.setup.update6to7.A_CmsUpdateDBPart
      extended by org.opencms.setup.update6to7.generic.CmsUpdateDBAlterTables
          extended by org.opencms.setup.update6to7.mysql.CmsUpdateDBAlterTables
All Implemented Interfaces:
I_CmsUpdateDBPart

public class CmsUpdateDBAlterTables
extends CmsUpdateDBAlterTables

This class makes the remaining changes to some tables in order to update them.

The following tables will be altered CMS_ONLINE/OFFLINE_PROPERTYDEF Add the TYPE column CMS_ONLINE/OFFLINE_RESOURCES Add the columns DATE_CONTENT and RESOURCE_VERSION CMS_ONLINE/OFFLINE_STRUCTURE Add the column STRUCTURE_VERSION CMS_PROJECTS Drop the column TASK_ID and change the size for the project name

Author:
metzler

Field Summary
 
Fields inherited from class org.opencms.setup.update6to7.generic.CmsUpdateDBAlterTables
CMS_OFFLINE_CONTENTS_QUERIES, CMS_OFFLINE_CONTENTS_QUERIES_LIST, CMS_PROPERTYDEF, CMS_PROPERTYDEF_LIST, CMS_RESOURCES, CMS_RESOURCES_LIST, CMS_STRUCTURE, CMS_STRUCTURE_LIST, COLUMN_CMS_OFFLINE_CONTENTS_CONTENT_ID, COLUMN_CMS_PROPERTYDEF_TYPE, COLUMN_CMS_STRUCTURE_STRUCTURE_VERSION, COLUMN_PROJECTS_PROJECT_NAME, COLUMN_PROJECTS_TASK_ID, COLUMN_RESOURCES_DATE_CONTENT, COLUMN_RESOURCES_RESOURCE_VERSION, REPLACEMENT_TABLENAME, TABLE_CMS_OFFLINE_CONTENTS, TABLE_CMS_PROJECTS
 
Fields inherited from class org.opencms.setup.update6to7.A_CmsUpdateDBPart
m_poolData, m_queries, QUERY_PROPERTIES_PREFIX
 
Constructor Summary
CmsUpdateDBAlterTables()
          Default constructor.
 
Method Summary
 
Methods inherited from class org.opencms.setup.update6to7.generic.CmsUpdateDBAlterTables
internalExecute
 
Methods inherited from class org.opencms.setup.update6to7.A_CmsUpdateDBPart
execute, getDbInstance, getPoolData, isKeepHistory, loadQueryProperties, readQuery, setPoolData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsUpdateDBAlterTables

public CmsUpdateDBAlterTables()
                       throws java.io.IOException
Default constructor.

Throws:
java.io.IOException - if the default sql queries property file could not be read