using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Migrations.pgsql { /// public partial class MangaYearNullable : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Year", table: "Mangas", type: "bigint", nullable: true, oldClrType: typeof(long), oldType: "bigint"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Year", table: "Mangas", type: "bigint", nullable: false, defaultValue: 0L, oldClrType: typeof(long), oldType: "bigint", oldNullable: true); } } }