[Checkins] SVN: relstorage/trunk/notes/migrate-to-1.5.txt Include a warning about the trigger.
Martijn Pieters
mj at zopatista.com
Wed Jun 15 15:17:13 EDT 2011
Log message for revision 121956:
Include a warning about the trigger.
We don't want people accidentally deleting all their blob contents because they run the re-initialize after the trigger has been installed.
Changed:
U relstorage/trunk/notes/migrate-to-1.5.txt
-=-
Modified: relstorage/trunk/notes/migrate-to-1.5.txt
===================================================================
--- relstorage/trunk/notes/migrate-to-1.5.txt 2011-06-15 18:08:01 UTC (rev 121955)
+++ relstorage/trunk/notes/migrate-to-1.5.txt 2011-06-15 19:17:13 UTC (rev 121956)
@@ -47,8 +47,12 @@
TRUNCATE blob_chunk;
INSERT INTO blob_chunk SELECT * FROM blob_chunk_copy;
COMMIT;
-
+Do this **before** running this version RelStorage against this database for
+the first time, as this will install a trigger that'll delete the blob data
+when truncating blob_chunk!
+
+
MySQL history-preserving
------------------------
More information about the checkins
mailing list