using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PowderCoating.Infrastructure.Migrations { /// public partial class DropItemIsCoatingColumn : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IsCoating", table: "InventoryItems"); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 4, 17, 17, 5, 40, 37, DateTimeKind.Utc).AddTicks(7587)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 4, 17, 17, 5, 40, 37, DateTimeKind.Utc).AddTicks(7592)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 4, 17, 17, 5, 40, 37, DateTimeKind.Utc).AddTicks(7594)); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "IsCoating", table: "InventoryItems", type: "bit", nullable: false, defaultValue: false); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 4, 17, 16, 6, 41, 332, DateTimeKind.Utc).AddTicks(6769)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 4, 17, 16, 6, 41, 332, DateTimeKind.Utc).AddTicks(6775)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 4, 17, 16, 6, 41, 332, DateTimeKind.Utc).AddTicks(6776)); } } }