Changing data migration to act on frozen orm model instead of using call_command

call_command doesn't work nicely within migrations as it does not enforce the use of the frozen orm.

In this particular instance the logic needed to trivial is moved directly into the migration.

Fixes issue #772