chore: Remove migration generation command from update service.

This commit is contained in:
syntaxbullet
2025-12-24 13:43:04 +01:00
parent fc7afd7d22
commit 71de87d3da

View File

@@ -85,9 +85,6 @@ export class UpdateService {
if (context.runMigrations) { if (context.runMigrations) {
try { try {
// Use drizzle-kit migrate // Use drizzle-kit migrate
// Ensure migrations are generated
await execAsync("bun run generate");
// Apply migrations using drizzle-kit // Apply migrations using drizzle-kit
// We use `bun x` to run the local binary directly, avoiding docker-in-docker issues // We use `bun x` to run the local binary directly, avoiding docker-in-docker issues
const { stdout: migOut } = await execAsync("bun x drizzle-kit migrate"); const { stdout: migOut } = await execAsync("bun x drizzle-kit migrate");