add texture property to charactercloth entity
This commit is contained in:
@@ -24,5 +24,6 @@ namespace ReallifeGamemode.Server.Entities
|
||||
public byte SlotType { get; set; }
|
||||
public int SlotId { get; set; }
|
||||
public int ClothId { get; set; }
|
||||
public int Texture { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
1118
ReallifeGamemode.Server/Migrations/20190624153156_ClothesTexture.Designer.cs
generated
Normal file
1118
ReallifeGamemode.Server/Migrations/20190624153156_ClothesTexture.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,23 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ReallifeGamemode.Migrations
|
||||
{
|
||||
public partial class ClothesTexture : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Texture",
|
||||
table: "CharacterClothes",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Texture",
|
||||
table: "CharacterClothes");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -217,6 +217,8 @@ namespace ReallifeGamemode.Migrations
|
||||
|
||||
b.Property<byte>("SlotType");
|
||||
|
||||
b.Property<int>("Texture");
|
||||
|
||||
b.Property<int>("UserId");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
Reference in New Issue
Block a user