mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 02:20:38 +09:00
Fix worktree minimal clone startup
This commit is contained in:
parent
4a67db6a4d
commit
83738b45cd
6 changed files with 140 additions and 64 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue