I'm reading The definitive guide to django, and there's a line where i have to tell mySQL that a column can have a null value.
The book uses this
ALTER TABLE books_book ALTER COLUMN publication_date DROP NOT NULL;
But when i run it i get this message :
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL' at line 1
What's going on ? I'm a beginner so i can't easily diagnose mySQL error.