If you try to do this on a mariadb field with type DATE you will get an error:
Code: Select all
SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect date value: '' for column...
Code: Select all
UPDATE individuals SET `death_date` = '' WHERE `ID` = '3be018e16a985';
Code: Select all
UPDATE individuals SET `death_date` = NULL WHERE `ID` = '3be018e16a985';
Thanks!