RocketChat.Migrations.add({
	version: 107,
	up() {
		const roles = RocketChat.models.Roles.find({
			_id: { $ne: 'guest' },
			scope: 'Users'
		}).fetch().map((role)=>{ return role._id; });
		RocketChat.models.Permissions.createOrUpdate('leave-c', roles);
		RocketChat.models.Permissions.createOrUpdate('leave-d', roles);
	}
});

RocketChat.Migrations.add({
	version: 108,
	up() {
		const roles = RocketChat.models.Roles.find({
			_id: { $ne: 'guest' },
			scope: 'Users'
		}).fetch().map((role)=>{ return role._id; });
		RocketChat.models.Permissions.createOrUpdate('leave-c', roles);
		RocketChat.models.Permissions.createOrUpdate('leave-d', roles);
	}
});

Rename migration name on 108 to match file name
Rename migration name on 108 to match file name