Schädenlist angefangen
This commit is contained in:
55
KanSan.Base/Migrations/20200323133037_PropertyChange.cs
Normal file
55
KanSan.Base/Migrations/20200323133037_PropertyChange.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace KanSan.Base.Migrations
|
||||
{
|
||||
public partial class PropertyChange : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Position",
|
||||
table: "Taetigkeiten");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Infiltation",
|
||||
table: "Schaeden");
|
||||
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "Entfernung",
|
||||
table: "Schaeden",
|
||||
nullable: false,
|
||||
defaultValue: 0m);
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "Infiltration",
|
||||
table: "Schaeden",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Entfernung",
|
||||
table: "Schaeden");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Infiltration",
|
||||
table: "Schaeden");
|
||||
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "Position",
|
||||
table: "Taetigkeiten",
|
||||
type: "numeric",
|
||||
nullable: false,
|
||||
defaultValue: 0m);
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "Infiltation",
|
||||
table: "Schaeden",
|
||||
type: "boolean",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user