Skip to content

Commit

Permalink
Added v0.2.txt file with mongo shell commands and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
snytkine committed Nov 22, 2012
1 parent c134a97 commit 9475247
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions upgrade/v0.2.txt
@@ -0,0 +1,15 @@
# Mongo shell to upgrade from 0.1 to 0.2
#
# DO NOT run these if you already running version Lampcms 0.2 or above
#
# INSTRUCTIONS: login as administrator to your Lampcms installation
# Click on Settings
# You should see the "Update Mongo Database" link
# If you don't see that link then you do not have the permission
# Add this permission to your acl.ini file - for administrator group only!
# run_mongo_shell = A
# -------------- COPY LINES BELOW AND PASTE IN THE FORM, press submit -----------
db.QUESTIONS.update({i_status: null}, {$set : {i_status: 1}}, false, true);
db.QUESTIONS.update({i_del_ts: {'$exists' : true}}, {$set : {i_status: 2}}, false, true);
db.ANSWERS.update({i_status: null}, {$set : {i_status: 1}}, false, true);
db.ANSWERS.update({i_del_ts: {'$exists' : true}}, {$set : {i_status: 2}}, false, true);

0 comments on commit 9475247

Please sign in to comment.