Update upgrade instructions.
authorAntony Chazapis <chazapis@gmail.com>
Thu, 24 Nov 2011 10:30:16 +0000 (12:30 +0200)
committerAntony Chazapis <chazapis@gmail.com>
Thu, 24 Nov 2011 10:30:16 +0000 (12:30 +0200)
Refs #1686

README.upgrade

index 4ab21fe..9503920 100644 (file)
@@ -14,6 +14,20 @@ UPGRADE
 
 0.7.10 -> 0.7.11
 ----------------
+* Upgrade 'public' table in mysql (backend):
+       * Run: mysqldump pithosdb public > public-table.sql
+       * mysql> drop table public;
+       * Update the codebase and run the server so the new public table is created
+       * From the sql dump above, take the row:
+           
+               INSERT INTO `public` VALUES (...);
+      
+      Rewrite as:
+           
+               INSERT INTO `public`(`path`) VALUES (...);
+         
+         And execute in the database
+
 * Add 'south', remove 'pithos.public' in INSTALLED_APPS in settings.py
 * Install python-django-south
 * Setup south: