using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PowderCoating.Infrastructure.Migrations { /// public partial class AddCoverageSqFtPerLbToInventoryItem : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "CoverageSqFtPerLb", table: "InventoryItems", type: "decimal(18,2)", nullable: true); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 2, 7, 15, 28, 54, 459, DateTimeKind.Utc).AddTicks(3675)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 2, 7, 15, 28, 54, 459, DateTimeKind.Utc).AddTicks(3680)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 2, 7, 15, 28, 54, 459, DateTimeKind.Utc).AddTicks(3682)); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "CoverageSqFtPerLb", table: "InventoryItems"); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 2, 7, 4, 32, 10, 99, DateTimeKind.Utc).AddTicks(8342)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 2, 7, 4, 32, 10, 99, DateTimeKind.Utc).AddTicks(8349)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 2, 7, 4, 32, 10, 99, DateTimeKind.Utc).AddTicks(8351)); } } }