Migrate existing topics to new join model