mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 12:28:13 +03:00
fix: utterly broken and nonsensical migrations
This commit is contained in:
@@ -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 },
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user