36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
// <copyright file="20230504172021_StorageLimitPerCharacter.cs" company="MUnique">
|
|
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
|
// </copyright>
|
|
|
|
#nullable disable
|
|
|
|
namespace MUnique.OpenMU.Persistence.EntityFramework.Migrations
|
|
{
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
/// <inheritdoc />
|
|
public partial class StorageLimitPerCharacter : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "StorageLimitPerCharacter",
|
|
schema: "config",
|
|
table: "ItemDefinition",
|
|
type: "integer",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "StorageLimitPerCharacter",
|
|
schema: "config",
|
|
table: "ItemDefinition");
|
|
}
|
|
}
|
|
}
|