Commits

hvdk...@ubuntu.Belkin  committed 713b866

Minor bugfix for sqlite3 for when adding and altering columns in the same migration #316

  • Participants
  • Parent commits 7dc7f1e
  • Tags 0.6.2.1

Comments (0)

Files changed (2)

File south/__init__.py

 South - Useable migrations for Django apps
 """
 
-__version__ = "0.6.2"
+__version__ = "0.6.2.1"
 __authors__ = ["Andrew Godwin <andrew@aeracode.org>", "Andy McCurdy <andy@andymccurdy.com>"]

File south/db/sqlite3.py

         # If it _was_ unique, make an index on it.
         if unique:
             self.create_index(table_name, [field.column], unique=True)
+			
+		#Reload structure for this table
+		self._populate_current_structure(table_name, force=True)
     
     def _alter_sqlite_table(self, table_name, field_renames={}):