initailize migration helper

This commit is contained in:
DitFranXX
2021-04-26 20:03:35 +09:00
parent 75b6cd9464
commit 91f772d309
5 changed files with 27 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export const getVersion = (info: EamuseInfo) => {
return moduleName.match(/([^_]*)_(.*)/)[1];
};
export function isRequiredVersion(major: number, minor: number) {
export function isRequiredCoreVersion(major: number, minor: number) {
// version value exposed since Core v1.19
const core_major = typeof CORE_VERSION_MAJOR === "number" ? CORE_VERSION_MAJOR : 1
const core_minor = typeof CORE_VERSION_MINOR === "number" ? CORE_VERSION_MINOR : 18
+7
View File
@@ -0,0 +1,7 @@
export async function initialze() {
await dbMigration()
}
async function dbMigration() {
}