mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 10:13:11 +02:00
fix: integrate reviewed accounting and adapter recovery changes
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
commit
ba9e995687
34 files changed
+1123
-603
No files matched your search
@@ -157,12 +157,12 @@ async function seedValidWorktreeSource(
|
||||
userId,
|
||||
role: "instance_admin",
|
||||
});
|
||||
await db.insert(companies).values({
|
||||
id: companyId,
|
||||
name: "Seed Source",
|
||||
issuePrefix: "SEED",
|
||||
requireBoardApprovalForNewAgents: false,
|
||||
});
|
||||
// Seed only columns present in the historical source schema. The current
|
||||
// model includes accounting columns that the worktree migration adds later.
|
||||
await db.$client`
|
||||
insert into companies (id, name, issue_prefix, require_board_approval_for_new_agents)
|
||||
values (${companyId}, 'Seed Source', 'SEED', false)
|
||||
`;
|
||||
await db.insert(companyMemberships).values({
|
||||
companyId,
|
||||
principalType: "user",
|
||||
|
||||
Reference in new issue
Block a user