Below is the command to add a datetime datatype column as default null to an existing table in mysql:
ALTER TABLE `YourTableName` ADD COLUMN `YourColumnName` DATETIME NULL;
Below is the command to add a datetime datatype column as default null to an existing table in mysql:
ALTER TABLE `YourTableName` ADD COLUMN `YourColumnName` DATETIME NULL;