27 lines
743 B
C#
27 lines
743 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Aberwyn.Migrations
|
|
{
|
|
public partial class AddProvidersToMovieMetadata : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "Metadata_Providers",
|
|
table: "TorrentItems",
|
|
type: "longtext",
|
|
nullable: true)
|
|
.Annotation("MySql:CharSet", "utf8mb4");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Metadata_Providers",
|
|
table: "TorrentItems");
|
|
}
|
|
}
|
|
}
|