Skip to content

Clearing page versions

XalokNext keeps an indefinite number of versions for articles and boards in the page_versions table. To cleanup old versions of the same page, you can use the command

./app/admin/console wf:cms:page:history --versions 10

Where 10 is the number of versions you want to keep for the same page.

Please note that the number of the versions must be higher than the %wf_cms.page_versions.limit parameter. This parameter controls how many versions should be displayed in the editor. To get its current value:

./app/admin/console container:debug --parameters | grep wf_cms.page_versions.limit