fix: utterly broken and nonsensical migrations

This commit is contained in:
zkldi
2022-11-06 02:40:35 +00:00
parent 5830b67922
commit 2e9d791fa4
2 changed files with 3 additions and 3 deletions
@@ -9,7 +9,7 @@ const migration: Migration = {
importType: "ir/fervidex",
},
{
userIntent: false,
$set: { userIntent: false },
}
);
},
@@ -2,14 +2,14 @@ import db from "external/mongo/db";
import type { Migration } from "utils/types";
const migration: Migration = {
id: "mark-fervidex-as-without-intent",
id: "mark-kshook-as-without-intent",
up: async () => {
await db.imports.update(
{
importType: { $in: ["ir/kshook-sv6c", "ir/kshook-sv6c-static"] },
},
{
userIntent: false,
$set: { userIntent: false },
}
);
},