using Microsoft.EntityFrameworkCore.Migrations; namespace ErsatzTV.Infrastructure.Sqlite.Migrations { public partial class Update_ArtistMetadata_FK : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( "ArtistId", "MusicVideo", "INTEGER", nullable: false, oldClrType: typeof(int), oldType: "INTEGER", oldNullable: true); migrationBuilder.AlterColumn( "ArtistId", "ArtistMetadata", "INTEGER", nullable: false, oldClrType: typeof(int), oldType: "INTEGER", oldNullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( "ArtistId", "MusicVideo", "INTEGER", nullable: true, oldClrType: typeof(int), oldType: "INTEGER"); migrationBuilder.AlterColumn( "ArtistId", "ArtistMetadata", "INTEGER", nullable: true, oldClrType: typeof(int), oldType: "INTEGER"); } } }