TYPO3:SQL从mininews到新闻从TYPO3 6.2 LTS迁移到TYPO3 9 LTS

时间:2019-07-15 10:56:46

标签: typo3 typo3-6.2.x typo3-9.x tx-news

我正在寻找非常旧的TYPO3扩展程序的迁移

https://extensions.typo3.org/extension/mininews/

https://extensions.typo3.org/extension/news/

此迁移的SQL语句如何?

1 个答案:

答案 0 :(得分:0)

# delete unused or hidden mini news
DELETE FROM tx_mininews_news where deleted = 1 OR hidden = 1;
# Migrate Data
INSERT INTO tx_news_domain_model_news (pid, tstamp, crdate, cruser_id, starttime, endtime,  datetime, title, teaser, bodytext) SELECT pid, tstamp, crdate, cruser_id, starttime, endtime,  datetime, title, teaser, full_text FROM tx_mininews_news;