ds4/src/module/hooks/ready.ts
2021-03-16 08:22:27 +01:00

7 lines
170 B
TypeScript

import { migration } from "../migrations";
export default function registerForReadyHook(): void {
Hooks.once("ready", () => {
migration.migrate();
});
}