gehgassi_app/gehGassiApp/gehGassiApp.Data/Migrations/20221028052719_WalksStartedAndcompleted.cs

38 lines
1.0 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace gehGassiApp.Data.Migrations
{
public partial class WalksStartedAndcompleted : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<long>(
name: "Completed",
table: "Walks",
type: "INTEGER",
nullable: true);
migrationBuilder.AddColumn<long>(
name: "Started",
table: "Walks",
type: "INTEGER",
nullable: true);
System.Diagnostics.Debug.WriteLine($"Migration WalksStartedAndcompleted done");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Completed",
table: "Walks");
migrationBuilder.DropColumn(
name: "Started",
table: "Walks");
}
}
}