chore: Remove migration generation command from update service.
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user