Commits

and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8  committed 26d7325

Fix for #51: Should have nice error message when SQLiters try to drop columns.

  • Participants
  • Parent commits 435712e

Comments (0)

Files changed (1)

File db/sqlite3.py

         """
         raise NotImplementedError("SQLite does not support altering columns.")
     
+    # Nor DROP COLUMN
+    def delete_column(self, table_name, name, field):
+        """
+        Not supported under SQLite.
+        """
+        raise NotImplementedError("SQLite does not support deleting columns.")
+    
     # Nor RENAME COLUMN
     def rename_column(self, table_name, old, new):
         """