mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- HEAD is current with just about everything on the branches - Updated latest scripts to reflect correct version numbers - not strictly necessary git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8509 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
24 lines
850 B
SQL
24 lines
850 B
SQL
--
|
|
-- Title: Indexes for alf_content_url table
|
|
-- Database: Generic
|
|
-- Since: V2.0 Schema 44
|
|
-- Author: Derek Hulley
|
|
--
|
|
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
|
--
|
|
|
|
-- Content URLs
|
|
SELECT COUNT(*) FROM alf_content_url;
|
|
CREATE INDEX idx_alf_con_urls ON alf_content_url (content_url);(optional)
|
|
|
|
--
|
|
-- Record script finish
|
|
--
|
|
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V2.0-ContentUrls';
|
|
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.0-ContentUrls', 'Manually executed script upgrade V2.0: Indexes for alf_content_url table',
|
|
0, 123, -1, 124, null, 'UNKOWN', 1, 1, 'Script completed'
|
|
); |