Untitled
unknown
plain_text
9 months ago
1.8 kB
6
Indexable
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");
}
}
}
Editor is loading...
Leave a Comment