Fixed migration that was setting NOT NULL restriction on columns that had NULL.

That's the second place where this happened already. Some migrations in JC
updated the table to allow NULLs and they were added, so now it's impossible
to apply such a migration to this table.