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

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.