Forums / Developer / Reduce Number of Version and clean DB?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Reduce Number of Version and clean DB?

Author Message

Peter Schnuerer

Thursday 29 December 2005 7:47:39 am

Hi,

I reduced

DefaultVersionHistoryLimit

in content.ini to "3"

So the number of versions should be reduced to 3

But there are still up to 10 versions in my database. I think I have to run some script to delete all old versions. Is there such a script?

Thanx
Peter

Xavier Dutoit

Thursday 29 December 2005 8:19:27 am

./bin/php/flatten.php --help

Exponential database flattening.

Will remove data that is not considered currently in use to minimize the amount of database data it consumes

I think that's going to delete all the archived versions, not only those > 3.

I only used it as a tool to clean the database at the end of my dev before launching the site.

X+

http://www.sydesy.com