using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace GerbilManagerWebAPI.Migrations
{
    /// <inheritdoc />
    public partial class AddCharacterFields : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "CharacterNote",
                table: "Gerbils",
                type: "text",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CharacterTraits",
                table: "Gerbils",
                type: "text",
                nullable: false,
                defaultValue: "");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "CharacterNote",
                table: "Gerbils");

            migrationBuilder.DropColumn(
                name: "CharacterTraits",
                table: "Gerbils");
        }
    }
}
