Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Empty _versions tables?

Go to End

4 Posts   1533 Views


Community Member, 25 Posts

23 September 2009 at 7:55am

Just to be sure before I proceed - Is it safe to empty (truncate table) any/all "XXXXX_versions" tables?
Provided of course that we don't need all those versions.


Forum Moderator, 5523 Posts

23 September 2009 at 7:20pm

Yes it is perfectly fine as long as you don't want to restore to one of those given versions :P. Make sure you get all base classes (and subclass's).


Community Member, 271 Posts

23 September 2009 at 9:41pm

This there a function to delete all version tables? Or should it be done with a custom SQL query?


Community Member, 25 Posts

24 September 2009 at 8:00am

Thanks willr!

I did this within phpMyAdmin! The SQL command would be: TRUNCATE TABLE table_name