move all v1 files to v1 dirs

This commit is contained in:
Alex Holliday committed 2025-09-23 14:23:45 -07:00
1 parent 1383d8b59a
commit b3b6f1d834
73 files changed
+840 -88

No files matched your search

@@ -1,5 +1,5 @@
import mongoose from "mongoose";
import AppSettings from "../models/AppSettings.js";
import AppSettings from "./models/AppSettings.js";
import { runMigrations } from "./migration/index.js";
class MongoDB {
static SERVICE_NAME = "MongoDB";
@@ -1,4 +1,4 @@
import Monitor from "../../models/Monitor.js";
import Monitor from "../models/Monitor.js";
async function migrateStatusWindowThreshold() {
try {
const monitors = await Monitor.find({ statusWindowThreshold: { $lt: 1 } });
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,5 @@
import mongoose from "mongoose";
import bcrypt from "bcryptjs";
import logger from "../../utils/logger.js";
import Monitor from "./Monitor.js";
import Team from "./Team.js";
import Notification from "./Notification.js";
@@ -1,5 +1,5 @@
import Monitor from "../../models/Monitor.js";
import Check from "../../models/Check.js";
import Monitor from "../models/Monitor.js";
import Check from "../models/Check.js";
import { logger } from "../../../utils/logger.js";
const generateRandomUrl = () => {