mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Added migration for TagTeamData
This commit is contained in:
parent
7a036821d9
commit
ef749f9b8c
3 changed files with 65 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { defaultRestOptions } from '../config/generalConfig.mjs';
|
||||
import { Migration_2_5_2 } from './migration-handlers/2_5_2.mjs';
|
||||
import { Migration_2_6_0 } from './migration-handlers/2_6_0.mjs';
|
||||
|
||||
export async function runMigrations() {
|
||||
let lastMigrationVersion = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.LastMigrationVersion);
|
||||
|
|
@ -329,7 +330,8 @@ export async function runMigrations() {
|
|||
/* -------------------------------------------- */
|
||||
|
||||
const migrations = [
|
||||
new Migration_2_5_2()
|
||||
new Migration_2_5_2(),
|
||||
new Migration_2_6_0()
|
||||
].filter(m => m.version && foundry.utils.isNewerVersion(m.version, lastMigrationVersion));
|
||||
|
||||
for (const handler of migrations) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue