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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1732 Views

Avatar
poblom

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.

Avatar
Willr

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

Avatar
Martijn

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?

Avatar
poblom

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