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.

General Questions

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

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

Empty _versions tables?


4 Posts   1026 Views


23 September 2009 at 7:55am Community Member, 25 Posts

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.


23 September 2009 at 7:20pm Forum Moderator, 5511 Posts

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).


23 September 2009 at 9:41pm Community Member, 271 Posts

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


24 September 2009 at 8:00am Community Member, 25 Posts

Thanks willr!

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