add texture property to charactercloth entity

This commit is contained in:
hydrant
2019-06-24 18:32:57 +02:00
parent 852410d11a
commit 0dfc3c8602
4 changed files with 1144 additions and 0 deletions

View File

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