mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
7629: QName Refactor Merge 6 of 9 7630: QName Refactor Merge 7 of 9 7631: QName Refactor Merge 8 of 9 7632: QName Refactor Merge 9 of 9 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
17 lines
657 B
SQL
17 lines
657 B
SQL
--
|
|
-- Explicit index for alf_transaction.commit_time_ms (PostgreSQL 1.4)
|
|
--
|
|
|
|
UPDATE alf_transaction SET commit_time_ms = id WHERE commit_time_ms IS NULL;
|
|
|
|
--
|
|
-- Record script finish
|
|
--
|
|
delete from alf_applied_patch where id = 'patch.db-V1.4-TxnCommitTimeIndex';
|
|
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-V1.4-TxnCommitTimeIndex', 'Executed script AlfrescoSchemaUpdate-1.4-TxnCommitTimeIndex.sql',
|
|
0, 75, -1, 76, null, 'UNKOWN', TRUE, TRUE, 'Script completed'
|
|
); |