From 602dc3d098f9d2128cd5e9967a27f5a91e431831 Mon Sep 17 00:00:00 2001 From: Aaron Wood Date: Fri, 10 Apr 2026 23:59:55 -0400 Subject: [PATCH] fix: correct MIGRATIONS_DIR path in migrate.ts Path was resolving to repo root instead of server/migrations/. Changed from two '..' segments to one. Co-Authored-By: Claude Sonnet 4.6 --- server/src/migrate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/migrate.ts b/server/src/migrate.ts index 3772bba..ed93837 100644 --- a/server/src/migrate.ts +++ b/server/src/migrate.ts @@ -4,7 +4,7 @@ import path from "path"; import { fileURLToPath } from "url"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); -const MIGRATIONS_DIR = path.join(__dirname, "..", "..", "migrations"); +const MIGRATIONS_DIR = path.join(__dirname, "..", "migrations"); export async function runMigrations(pool: Pool): Promise { await pool.execute(`