Change migration to avoid setting a "not null" constraint on the name column while some records still have a null value there.

This should fix a MySQL error while deploying.