Files
reallife-gamemode/ReallifeGamemode.Server/Migrations/20190626202159_HousePosition.cs
hydrant 96717c27c3 Db Fix
2019-09-22 15:36:10 +02:00

44 lines
1010 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace ReallifeGamemode.Database.Migrations
{
public partial class HousePosition : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<float>(
name: "X",
table: "Houses",
nullable: false,
defaultValue: 0f);
migrationBuilder.AddColumn<float>(
name: "Y",
table: "Houses",
nullable: false,
defaultValue: 0f);
migrationBuilder.AddColumn<float>(
name: "Z",
table: "Houses",
nullable: false,
defaultValue: 0f);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "X",
table: "Houses");
migrationBuilder.DropColumn(
name: "Y",
table: "Houses");
migrationBuilder.DropColumn(
name: "Z",
table: "Houses");
}
}
}