move 'random' field to primary schema