mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-06 10:48:12 +02:00
Fix worktree minimal clone startup
This commit is contained in:
1 parent
4a67db6a4d
commit
83738b45cd
6 files changed
+140
-64
No files matched your search
@@ -6,6 +6,7 @@ import { createServer } from "node:net";
|
||||
import * as p from "@clack/prompts";
|
||||
import pc from "picocolors";
|
||||
import {
|
||||
applyPendingMigrations,
|
||||
ensurePostgresDatabase,
|
||||
formatDatabaseBackupResult,
|
||||
runDatabaseBackup,
|
||||
@@ -251,6 +252,7 @@ async function seedWorktreeDatabase(input: {
|
||||
connectionString: targetConnectionString,
|
||||
backupFile: backup.backupFile,
|
||||
});
|
||||
await applyPendingMigrations(targetConnectionString);
|
||||
|
||||
return formatDatabaseBackupResult(backup);
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user