feat(data): worktrees.pull_request_url for the company-repo draft PR

This commit is contained in:
mika kuns
2026-10-01 11:49:30 +02:00
parent 2b2f61d7fc
commit bc0aa28afb
6 changed files with 1215 additions and 0 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,28 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ClaudeDo.Data.Migrations
{
/// <inheritdoc />
public partial class AddWorktreePullRequestUrl : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "pull_request_url",
table: "worktrees",
type: "TEXT",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "pull_request_url",
table: "worktrees");
}
}
}
@@ -1019,6 +1019,10 @@ namespace ClaudeDo.Data.Migrations
.HasColumnType("TEXT")
.HasColumnName("path");
b.Property<string>("PullRequestUrl")
.HasColumnType("TEXT")
.HasColumnName("pull_request_url");
b.Property<string>("State")
.IsRequired()
.ValueGeneratedOnAdd()