Fix MySQL generated form, not null means required.