CoreFiles by mySites.guru
4.0.0-2020-05-21.sql9 lines, 639 bytes, from Joomla_4.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta
md5
5cdd5fdea930fccca3055d2348c7976b
sha1
9c51eaa55875a66b527daf7816405652936d42bc
sha256
7de7f653dfa47aa528f1af6a394abd97ae0eeca60cb84357e349c3d65a5a7942
-- Renaming table
RENAME TABLE `#__ucm_history` TO `#__history`;
-- Rename ucm_item_id to item_id as the new primary identifier for the original content item
ALTER TABLE `#__history` CHANGE `ucm_item_id` `item_id` VARCHAR(50) NOT NULL AFTER `version_id`;
-- Extend the original field content with the alias of the content type
UPDATE #__history AS h INNER JOIN #__content_types AS c ON h.ucm_type_id = c.type_id SET h.item_id = CONCAT(c.type_alias, '.', h.item_id);
-- Now we don't need the ucm_type_id anymore and drop it.
ALTER TABLE `#__history` DROP COLUMN `ucm_type_id`;
ALTER TABLE `#__history` MODIFY `save_date` datetime NOT NULL;

The same content is in 7 releases, Joomla 4.0.0-beta to 4.0.0-beta7. See them all, or every version of this file.