我想通过去除过时的流体含量来从流体含量切换到流量.正如这里提到的https://github.com/FluidTYPO3/fluidcontent/issues/424,
您必须将tt_content表中所有fluidcontent对象的CType更改fluidcontent_content为extensionnamewithoutunderscores_templatenamewithoutunderscores.是否有可用的迁移脚本或SQL语句?
没有Undescores的tablename是文件名.我为什么以及在哪里需要id flux:form?
一位同事制作了一个SQL语句,它将所有流体内容CType转换为正确的通量值:
UPDATE tt_content
SET CType = LOWER(REPLACE(REPLACE(tx_fed_fcefile, 'YourNamespace.YourExtension:', 'flux_'), '.html', ''))
WHERE CType = 'fluidcontent_content';
Run Code Online (Sandbox Code Playgroud)
你只需要改变YourNamespace.YourExtension.您可以YourNamespace.YourExtension在tx_fed_fcefile行中找到正确的措辞.
对于一些原因,我不得不更换CTYPE到flux_templatenamewithoutunderscores不extensionnamewithoutunderscores_templatenamewithoutunderscores