using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Modules.Library.Database.Migrations { /// public partial class M003 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "AnimeTitleId", table: "AnimeItem", type: "uuid", nullable: false, defaultValue: new Guid("00000000-0000-0000-0000-000000000000"), oldClrType: typeof(Guid), oldType: "uuid", oldNullable: true); migrationBuilder.AlterColumn( name: "AnimeTitleId", table: "Anime_Seasons", type: "uuid", nullable: false, defaultValue: new Guid("00000000-0000-0000-0000-000000000000"), oldClrType: typeof(Guid), oldType: "uuid", oldNullable: true); migrationBuilder.AlterColumn( name: "AnimeTitleId", table: "Anime_Episodes", type: "uuid", nullable: false, defaultValue: new Guid("00000000-0000-0000-0000-000000000000"), oldClrType: typeof(Guid), oldType: "uuid", oldNullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "AnimeTitleId", table: "AnimeItem", type: "uuid", nullable: true, oldClrType: typeof(Guid), oldType: "uuid"); migrationBuilder.AlterColumn( name: "AnimeTitleId", table: "Anime_Seasons", type: "uuid", nullable: true, oldClrType: typeof(Guid), oldType: "uuid"); migrationBuilder.AlterColumn( name: "AnimeTitleId", table: "Anime_Episodes", type: "uuid", nullable: true, oldClrType: typeof(Guid), oldType: "uuid"); } } }