Budget copy fix

This commit is contained in:
Elias Jansson
2025-12-14 21:02:42 +01:00
parent 3bc3bfa8ef
commit d9d48eac3b
8 changed files with 1571 additions and 11 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Aberwyn.Migrations
{
public partial class AddTorrentItemTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsDownloaded",
table: "TorrentItems",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsDownloaded",
table: "TorrentItems");
}
}
}

View File

@@ -986,6 +986,9 @@ namespace Aberwyn.Migrations
b.Property<string>("InfoHash")
.HasColumnType("varchar(255)");
b.Property<bool>("IsDownloaded")
.HasColumnType("tinyint(1)");
b.Property<int>("Leechers")
.HasColumnType("int");