18591 Posts in 4875 Topics by 2285 members
General Questions
SilverStripe Forums » General Questions » Empty _versions tables?
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 748 Views |
-
Empty _versions tables?

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. -
Re: Empty _versions tables?

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
. Make sure you get all base classes (and subclass's). -
Re: Empty _versions tables?

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?
-
Re: Empty _versions tables?

24 September 2009 at 8:00am
Thanks willr!
I did this within phpMyAdmin! The SQL command would be: TRUNCATE TABLE table_name
| 748 Views | ||
|
Page:
1
|
Go to Top |



