fixing error on clean db migration

-- Failed to migrate PGError: ERROR:  column "operatingsystem_id" of relation "media" does not exist