server/migractions.py
branchstable
changeset 3548 4cf5a360952e
parent 3213 36a2357ccbc4
child 3577 067610a0e12f
--- a/server/migractions.py	Fri Oct 02 08:57:16 2009 +0200
+++ b/server/migractions.py	Fri Oct 02 08:57:25 2009 +0200
@@ -626,6 +626,10 @@
         if card == '1':
             rql += ', NOT X %s NULL' % oldname
         self.rqlexec(rql, ask_confirm=self.verbosity>=2)
+        # XXX if both attributes fulltext indexed, should skip fti rebuild
+        # XXX if old attribute was fti indexed but not the new one old value
+        # won't be removed from the index (this occurs on other kind of
+        # fulltextindexed change...)
         self.cmd_drop_attribute(etype, oldname, commit=commit)
 
     def cmd_add_entity_type(self, etype, auto=True, commit=True):