using Microsoft.EntityFrameworkCore.Migrations; namespace UnivateProperties_API.Migrations { public partial class UpdatedBedrooms : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Bedrooms", table: "Weeks", nullable: true, oldClrType: typeof(int)); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Bedrooms", table: "Weeks", nullable: false, oldClrType: typeof(string), oldNullable: true); } } }