Also MySQL complains when you change a field to be not null if any existing records already have a null value, so this updates those rows.