hanf vielleicht fertig

This commit is contained in:
hydrant
2021-05-27 21:06:20 +02:00
parent 211269d03a
commit 60f55e0eeb
20 changed files with 2996 additions and 56 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,33 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ReallifeGamemode.Database.Migrations
{
public partial class AddUserCannabisSeedBuyData : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "CannabisSeedsBoughtToday",
table: "Users",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<DateTime>(
name: "LastTimeBoughtCannabisSeeds",
table: "Users",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CannabisSeedsBoughtToday",
table: "Users");
migrationBuilder.DropColumn(
name: "LastTimeBoughtCannabisSeeds",
table: "Users");
}
}
}

View File

@@ -1456,6 +1456,9 @@ namespace ReallifeGamemode.Database.Migrations
b.Property<int?>("BusinessId")
.HasColumnType("int");
b.Property<int>("CannabisSeedsBoughtToday")
.HasColumnType("int");
b.Property<int?>("CharacterId")
.HasColumnType("int");
@@ -1505,6 +1508,9 @@ namespace ReallifeGamemode.Database.Migrations
b.Property<int?>("JobId")
.HasColumnType("int");
b.Property<DateTime?>("LastTimeBoughtCannabisSeeds")
.HasColumnType("datetime(6)");
b.Property<int>("LogUserId")
.HasColumnType("int");