using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PowderCoating.Infrastructure.Migrations { /// public partial class AddPowderCostOverrideToJobItem : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "PowderCostOverride", table: "JobItems", type: "decimal(18,2)", nullable: true); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 3, 10, 16, 58, 23, 643, DateTimeKind.Utc).AddTicks(9720)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 3, 10, 16, 58, 23, 643, DateTimeKind.Utc).AddTicks(9726)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 3, 10, 16, 58, 23, 643, DateTimeKind.Utc).AddTicks(9728)); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PowderCostOverride", table: "JobItems"); 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)); } } }