Files
alfresco-community-repo/config/alfresco/dbscripts/upgrade/2.2/org.hibernate.dialect.Oracle9Dialect/AlfrescoSchemaUpdate-OrclBLOB.sql
Derek Hulley 6f302f0350 Merged V2.2 to HEAD
10963: Merged DEV/LARGE_COLLECTION_PROPERTIES_2.2.1 to V2.2
          - PersonService: Lucene removal
          - Lucene optimizations (in progress)
          - Multi-valued and locale-specific properties persisted in alf_node_properties
          - Removal of unused AVM tables
   10987: Oracle dialects and enhanced SQL patch support
          - Only support Alfresco's 9i and 10g dialects (with auto-switching)
          - SQL script patches can now apply selectively to ranges
   11007: Test to check cached retrieval of QNames


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11206 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-10-06 13:26:18 +00:00

27 lines
1.1 KiB
SQL

--
-- Title: Change Oracle LONG RAW columns to BLOB
-- Database: Generic
-- Since: V2.2 Schema 92
-- Author: Derek Hulley
--
-- Please contact support@alfresco.com if you need assistance with the upgrade.
-- TODO: This needs to be replaced with a creation of new tables, copying values over with TO_LOB and then
-- renaming the values back.
ALTER TABLE alf_attributes MODIFY (serializable_value BLOB NULL);
ALTER TABLE avm_node_properties MODIFY (serializable_value BLOB NULL);
ALTER TABLE avm_node_properties_new MODIFY (serializable_value BLOB NULL);
ALTER TABLE avm_store_properties MODIFY (serializable_value BLOB NULL);
--
-- Record script finish
--
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V2.2-OrclBLOB';
INSERT INTO alf_applied_patch
(id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report)
VALUES
(
'patch.db-V2.2-OrclBLOB', 'Modified serializable_value columns from LONG RAW to BLOB.',
0, 91, -1, 92, null, 'UNKOWN', 1, 1, 'Script completed'
);