merge: reconcile paid hosting with latest main

This commit is contained in:
Thomas Durieux committed 2026-11-02 21:12:29 +00:00
commit ded6f905fd
180 files changed
+21709 -3614

No files matched your search

@@ -0,0 +1,17 @@
import mongoose from "mongoose";
import config from "../config";
import { getMongoUrl } from "../server/database";
import { prepareLegacyOwnerAlertMigration } from "../core/owner-notifications";
async function main(): Promise<void> {
await mongoose.connect(getMongoUrl(), config.MONGODB_URI ? {} : { authSource: "admin" });
try {
await prepareLegacyOwnerAlertMigration();
process.stdout.write("Legacy owner alert reconciliation prepared\n");
} finally { await mongoose.disconnect(); }
}
void main().catch(() => {
process.stderr.write("Could not prepare legacy owner alert reconciliation\n");
process.exitCode = 1;
});