Untitled
using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Project.Infrastructure.EntityFramework.Migrations { /// <inheritdoc /> public partial class AlterTable_IncidentReport_AddUuidLatLngFileColumns : Migration { /// <inheritdoc /> protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "Uuid", table: "IncidentReport", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn<string>( name: "Lat", table: "IncidentReport", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn<string>( name: "Lng", table: "IncidentReport", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn<string>( name: "FileEvidence", table: "IncidentReport", type: "nvarchar(max)", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Uuid", table: "IncidentReport"); migrationBuilder.DropColumn( name: "Lat", table: "IncidentReport"); migrationBuilder.DropColumn( name: "Lng", table: "IncidentReport"); migrationBuilder.DropColumn( name: "FileEvidence", table: "IncidentReport"); } } }
Leave a Comment