hanf vielleicht fertig
This commit is contained in:
2229
ReallifeGamemode.Database/Migrations/20210527144901_AddUserCannabisSeedBuyData.Designer.cs
generated
Normal file
2229
ReallifeGamemode.Database/Migrations/20210527144901_AddUserCannabisSeedBuyData.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user