using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace RdtClient.Data.Migrations { /// public partial class Torrent_Add_Include_Exclude : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ExcludeRegex", table: "Torrents", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "IncludeRegex", table: "Torrents", type: "TEXT", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ExcludeRegex", table: "Torrents"); migrationBuilder.DropColumn( name: "IncludeRegex", table: "Torrents"); } } }