Class CmsUpdateDBAlterTables
java.lang.Object
org.opencms.setup.db.A_CmsUpdateDBPart
org.opencms.setup.db.update6to7.CmsUpdateDBAlterTables
org.opencms.setup.db.update6to7.mysql.CmsUpdateDBAlterTables
- All Implemented Interfaces:
I_CmsUpdateDBPart
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
-
Field Summary
Fields inherited from class org.opencms.setup.db.update6to7.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.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBAlterTables
internalExecute
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, isKeepHistory, loadQueryProperties, readQuery
-
Constructor Details
-
CmsUpdateDBAlterTables
Default constructor.- Throws:
IOException
- if the default sql queries property file could not be read
-
-
Method Details
-
getPropertyFileLocation
Description copied from class:A_CmsUpdateDBPart
Returns the default property file location.- Overrides:
getPropertyFileLocation
in classA_CmsUpdateDBPart
- Returns:
- the default property file location
- See Also:
-