Files
reallife-gamemode/ReallifeGamemode.Database/Migrations/20200324175347_HouseWeeklyRentalFee.cs
2020-05-10 22:54:18 +02:00

25 lines
657 B
C#

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");
}
}
}