37 lines
995 B
C#
37 lines
995 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using NetTopologySuite.Geometries;
|
|
|
|
#nullable disable
|
|
|
|
namespace gehGassi.Persistence.Migrations
|
|
{
|
|
public partial class WalkEx : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<Point>(
|
|
name: "PickupLocation",
|
|
table: "Walks",
|
|
type: "geography",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<Point>(
|
|
name: "ReturnLocation",
|
|
table: "Walks",
|
|
type: "geography",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "PickupLocation",
|
|
table: "Walks");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "ReturnLocation",
|
|
table: "Walks");
|
|
}
|
|
}
|
|
}
|