Skip to content

Upgrade from 1.0.0 to 2.x

chris edited this page Jul 3, 2019 · 1 revision

Upgrading from md_unreadnews 1.0.0 to md_unreadnews 2.x

Version 2 of ext:md_unreadnews brings lots of changes, including changes on the database. Due to this changes, please follow the these steps carefully!

Update extension

  1. Update the extension through the extension manager or composer

Update database

  1. Please backup your database
  2. Run following SQL queries right after updating the extension:
ALTER TABLE `tx_mdunreadnews_domain_model_unreadnews` DROP INDEX `ids`;
ALTER TABLE `tx_mdunreadnews_domain_model_unreadnews` CHANGE `news_uid` `news` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `tx_mdunreadnews_domain_model_unreadnews` CHANGE `feuser_uid` `feuser` INT(11) NOT NULL DEFAULT '0';
  1. Goto install tool, run the Database analyzer and update database

Clear cache

  1. Clear the TYPO3 cache

You are done. Check your website and have fun!

If you find a bug, it would be nice if you add an issue here.