using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

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

            migrationBuilder.AddColumn<string>(
                name: "RawImportData",
                table: "Gerbils",
                type: "text",
                nullable: true);
        }

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

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