using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace foodmarket.Infrastructure.Persistence.Migrations
{
    /// <summary>Добавляем колонку organizations.MoySkladToken — per-tenant API-токен
    /// MoySklad. Хранится, чтобы не вводить вручную при каждом импорте.</summary>
    public partial class Phase3_OrganizationMoySkladToken : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "MoySkladToken",
                schema: "public",
                table: "organizations",
                type: "character varying(200)",
                maxLength: 200,
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "MoySkladToken",
                schema: "public",
                table: "organizations");
        }
    }
}
