Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDennis Collinson <dennis.collective@gmail.com>2012-02-02 23:50:00 +0400
committerDennis Collinson <dennis.collective@gmail.com>2012-02-02 23:50:00 +0400
commitd1a82d288dabcc0e1576538f85227173ba6a99fb (patch)
tree4e66142c7a10006f33e6a64e90a52a59c95b7eed /db
parent7bd6a450a0893ef2d3d48c67f56cd0c1672fb6ae (diff)
moar verbose comment [ci skip]
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20120202190701_remove_public_share_visibilities.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20120202190701_remove_public_share_visibilities.rb b/db/migrate/20120202190701_remove_public_share_visibilities.rb
index aa30a696c..8cec71311 100644
--- a/db/migrate/20120202190701_remove_public_share_visibilities.rb
+++ b/db/migrate/20120202190701_remove_public_share_visibilities.rb
@@ -1,5 +1,10 @@
# NOTE: this migration will remove a lot of unused rows. It is highly suggested
# that you run `OPTIMIZE TABLE share_visibilities` after this
+# `OPTIMIZE NO_WRITE_TO_BINLOG TABLE share_visibilities;` will run faster but has a greater chance of corrupting data
+# and will only work on an unsharded database (which should be the case for everyone right now)
+# you probably want to backup your db before you do any of this.
+
+
# migration is complete.
#
# caution: you may want to take your pod offline during the OPTIMIZE command.