split base_url into dashboard_url and base_domain

This commit is contained in:
Milo Schwartz 2025-01-07 20:32:24 -05:00
parent 3b4e970ca4
commit 9d46897584
17 changed files with 100 additions and 37 deletions

View file

@ -7,13 +7,15 @@ import { desc } from "drizzle-orm";
import { __DIRNAME } from "@server/lib/consts";
import { loadAppVersion } from "@server/lib/loadAppVersion";
import m1 from "./scripts/1.0.0-beta1";
import m2 from "./scripts/1.0.0-beta2";
// THIS CANNOT IMPORT ANYTHING FROM THE SERVER
// EXCEPT FOR THE DATABASE AND THE SCHEMA
// Define the migration list with versions and their corresponding functions
const migrations = [
{ version: "1.0.0-beta.1", run: m1 }
{ version: "1.0.0-beta.1", run: m1 },
{ version: "1.0.0-beta.2", run: m2 }
// Add new migrations here as they are created
] as const;