using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PowderCoating.Infrastructure.Migrations { /// public partial class AddPowderCostOverrideToQuoteItem : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "PowderCostOverride", table: "QuoteItems", type: "decimal(18,2)", nullable: true); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 3, 10, 16, 34, 31, 445, DateTimeKind.Utc).AddTicks(1255)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 3, 10, 16, 34, 31, 445, DateTimeKind.Utc).AddTicks(1260)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 3, 10, 16, 34, 31, 445, DateTimeKind.Utc).AddTicks(1262)); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PowderCostOverride", table: "QuoteItems"); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 3, 10, 15, 37, 32, 937, DateTimeKind.Utc).AddTicks(7676)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 3, 10, 15, 37, 32, 937, DateTimeKind.Utc).AddTicks(7682)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 3, 10, 15, 37, 32, 937, DateTimeKind.Utc).AddTicks(7683)); } } }