daggerheart/module/systemRegistration/migration-handlers/2_6_0.mjs
2026-07-16 02:16:57 +02:00

20 lines
No EOL
503 B
JavaScript

import { MigrationHandlerBase } from './base.mjs';
export class Migration_2_6_0 extends MigrationHandlerBase {
version = '2.6.0';
/** @inheritdoc */
async updateActorSource(actor) {
if (actor.type === 'party') {
return {
_id: actor._id,
system: {
tagTeam: {
initiator: null,
members: _replace({})
}
}
};
}
}
}