Haus erweiterungen

This commit is contained in:
hydrant
2020-03-24 18:54:59 +01:00
parent bea3efa949
commit 4824ffe7f5
6 changed files with 1483 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,24 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ReallifeGamemode.Database.Migrations
{
public partial class HouseWeeklyRentalFee : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "LastRentSetTime",
table: "Houses",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "LastRentSetTime",
table: "Houses");
}
}
}

View File

@@ -483,6 +483,8 @@ namespace ReallifeGamemode.Database.Migrations
b.Property<bool>("CanRentIn");
b.Property<DateTime>("LastRentSetTime");
b.Property<int?>("OwnerId");
b.Property<int>("Price");