adjust migration versioning

This commit is contained in:
Johannes Loher 2021-01-20 22:11:53 +01:00
parent e385159f29
commit 60ed168053
6 changed files with 56 additions and 51 deletions

View file

@ -1,12 +1,12 @@
export function registerSystemSettings(): void {
/**
* Track the system version upon which point a migration was last applied
* Track the migrations version of the latest migration that has been applied
*/
game.settings.register("ds4", "systemMigrationVersion", {
name: "System Migration Version",
scope: "world",
config: false,
type: String,
default: "",
type: Number,
default: -1,
});
}