Commits

charettes  committed 6fd41ad

Removed the SQLite specific _default_value_workaround since the generic one already takes care of booleans

  • Participants
  • Parent commits eb52224
  • Branches sqlite-add_column-default

Comments (0)

Files changed (1)

File south/db/sqlite3.py

     # No cascades on deletes
     def delete_table(self, table_name, cascade=True):
         generic.DatabaseOperations.delete_table(self, table_name, False)
-
-    def _default_value_workaround(self, default):
-        if default == True:
-            default = 1
-        elif default == False:
-            default = 0
-        return default