Commits

Jack Diederich committed 94e83ed

invalidate sqlite3 table constraints on table changes, just in case (are they ever queried?)

  • Participants
  • Parent commits 32210fb

Comments (0)

Files changed (1)

File south/db/sqlite3.py

         self._remake_table(table_name, added={
             field.column: self._column_sql_for_create(table_name, name, field, False),
         })
-    
+
+    @generic.invalidate_table_constraints
     def _remake_table(self, table_name, added={}, renames={}, deleted=[], altered={}, primary_key_override=None):
         """
         Given a table and three sets of changes (renames, deletes, alters),