using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace gehGassiApp.Data.Migrations { public partial class WalksAddedEx : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "PickupAddressLat", table: "Walks", type: "REAL", nullable: false, defaultValue: 0.0); migrationBuilder.AddColumn( name: "PickupAddressLng", table: "Walks", type: "REAL", nullable: false, defaultValue: 0.0); migrationBuilder.AddColumn( name: "ReturnAddressLat", table: "Walks", type: "REAL", nullable: false, defaultValue: 0.0); migrationBuilder.AddColumn( name: "ReturnAddressLng", table: "Walks", type: "REAL", nullable: false, defaultValue: 0.0); System.Diagnostics.Debug.WriteLine($"Migration WalksAddedEx done"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PickupAddressLat", table: "Walks"); migrationBuilder.DropColumn( name: "PickupAddressLng", table: "Walks"); migrationBuilder.DropColumn( name: "ReturnAddressLat", table: "Walks"); migrationBuilder.DropColumn( name: "ReturnAddressLng", table: "Walks"); } } }